Gain a deeper understanding of how microservices are built and used. Learn how to use Node.js to build out a microservices architecture from scratch.
Overview
Syllabus
Introduction
- Understand how microservices are built and used
- What you should know
- Getting your tools ready
- Introduction to microservices
- Setting up the sample app
- What you are going to build
- Service registries and discoveries
- Setting up the registry
- Setting up endpoints in Express
- Registering and deregistering services
- Creating and testing the registration route
- Unregistering services
- Versioning and load balancing
- Querying the registry
- Removing expired services
- Setting up the speakers service
- Registering the speakers service
- Unregistering a service on shutdown
- Adding the service logic
- Using the microservice from the main app
- Cleaning up the main app
- Creating an image serving endpoint
- What happens if a service fails?
- Understanding circuit breakers
- Building a circuit breaker with Node
- Using the circuit breaker
- Using a cache to bridge outages
- Caching images
- Factoring out the feedback service
- Using queues
- Setting up RabbitMQ
- Queuing feedback
- Consuming and storing feedback
- Next steps
Taught by
Daniel Khan