For services that receive and process data, queues provide an easy and reliable way to decouple. In this video, learn how the feedback service could benefit from this.
- [Instructor] One goal in microservice architectures … is to avoid tight coupling. … It's hard to uncouple rickvest that are needed … to show data on the website instantly … but when it comes to posting data to a service, … doing that asynchronously through some intermediate service … removes any dependency between color and receiving service. … Queues are a common way to accomplish that … and the basic principle is very simple. … Basically they provide a way to publish messages to it. … So if we have here the conference app … and the feedback service … and we put a queue in between we can now … publish those feedback messages to the queue … and they will then show up on the queue. … And there can be several messages … so everything will end up on the queue. … When the feedback service is available … it can then call consume on this queue. … And after it consume the message it can acknowledge … that it received it successfully. … In this case this message will then … be removed from the queue. …
- 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.