In this video, learn how to modify your conference app so that it uses the service registry and the speakers service instead of the deprecated local logic.
- [Instructor] Now it's the time to utilize … everything that we have built so far. … We will call into the service registry … to get the address of the speaker service … and then perform calls on it. … For that, let's open the speaker's class … of the conference app. … So in services, speakers, … we have this Speakers Service class. … In there we will eventually have to do http calls, … so I will install nps install dash, dash, save axis. … And I will bring it in at the very beginning. … Const, axios, … equals, require, … axios. … If we look at this class, … we have this get data function … down there and we obviously won't need it anymore, … because it was reading the data from the adjacent file. … So I will remove it and instead I will now add … a new function … called service. … So that is a function that will actually do that there. … A service call and it gets some set of request options … that we will then use for the http call. … In there I now do a const response … equals await …
- 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.