Our registry stores the version of a given service. In this video, learn how to add the logic to request a service from the registry, and also how to add a bit of load balancing on top.
- [Instructor] We are still missing a function … to clear the registry. … I want to be able to request … a specific version of a service. … This can be very useful if we want to roll out … new versions of a service in parallel to the old, … and leave it to the caller which version to use. … As Versioning scheme, we will use Semver. … This is also what MPM uses. … If you are unfamiliar with it, … then now is a good time to look it up at semver.org … So if I have a caller and the registry, … and I have three instances of services running … where two instances are actually for service one … but different versions … and I now request service one for the version … 1.1.x then only 1.1.0 will match that … and the registry will return exactly this one entry. … If there is more than one service that matches that request … I also want to use some load balancing to distribute … the request over all of the services. … This means if I have the caller and registry … and again, those three services and I am …
- Setting up a service registry
- Registering and deregistering services
- Versioning and load balancing
- Adding the service logic
- Working with the circuit breaker
- Using queues
- Consuming and storing feedback
Skill Level Intermediate
Node.js: Debugging and Performance Tuningwith Jon Peck2h 44m Intermediate
1. Get started with Microservices
2. Creating a Service Registry
3. Splitting Up a Monolith into Microservices
4. Adding Fault Tolerance and Resilience
5. Using Queues with Node.js
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.