Node.js: Microservices

Node.js: Microservices
Node.js: Microservices
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 12m | 714 MB

In organizations large and small, Node.js is often the platform of choice for building microservices architectures. In this course, instructor Daniel Khan takes basic microservices concepts and puts them into practical action in a Node.js context, showing you how to use Node.js to build out a microservices architecture from scratch. Throughout the course, Daniel digs into essential concepts like service discovery and resilience. To provide you with a more practical understanding of these concepts, he explores a common use case in which you have an existing monolithic app that you want to split into individual services. This course was designed to give you the knowledge to build out more complex projects based on the microservices infrastructure created during the lessons.

Topics include:

  • 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
Table of Contents

1 Understand how microservices are built and used
2 What you should know
3 Getting your tools ready
4 Introduction to microservices
5 Setting up the sample app
6 What you are going to build
7 Setting up the registry
8 Setting up endpoints in Express
9 Registering and deregistering services
10 Creating and testing the registration route
11 Unregistering services
12 Versioning and load balancing
13 Querying the registry
14 Removing expired services
15 Setting up the speakers service
16 Registering the speakers service
17 Unregistering a service on shutdown
18 Adding the service logic
19 Using the microservice from the main app
20 Cleaning up the main app
21 Creating an image serving endpoint
22 What happens if a service fails
23 Understanding circuit breakers
24 Building a circuit breaker with Node
25 Using the circuit breaker
26 Using a cache to bridge outages
27 Caching images
28 Factoring out the feedback service
29 Using queues
30 Setting up RabbitMQ
31 Queuing feedback
32 Consuming and storing feedback
33 Next steps