Much functionality has been moved to a separate service now. In this video, learn how to clean up your conference app to remove leftovers.
- [Instructor] We are not completely done yet, … the speaker's class and overall the conference-app … could need some cleanup to reflect what we just did. … So first of all, in Speakers.js on line six, … let's remove this readFile that we don't utilize anymore … and then we can remove fs and util. … And on the constructor, we see that we still passing … the data file that we don't use anymore. … Let's fix that now. … So we will get rid of the data file and this data file. … In the data directory, we now of course … can also remove the Speakers.Json … and in config Index.js, … we will remove also this config entries. … Instead we could now introduce some new config variables … and this could be the serviceRegistryUrl, … because it makes sense to not hard decode that. … So every time I see something hard coded, … like in URL in a class file, … this looks somehow suspicious. … So I configure that now, here. … And also, if you remember, we requested … before version one of the speaker service …
- 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.