From the course: Advanced Node.js: Scaling Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Service orchestration

Service orchestration - Node.js Tutorial

From the course: Advanced Node.js: Scaling Applications

Start my 1-month free trial

Service orchestration

- [Instructor] When we decompose our applications into microservices, we have to consider how they will work together. Sometimes a single action performed by a client will need to work across several services to complete that action. Consider the checkout process. Theaters have limited space, so when a user purchases a ticket, their seat needs to be reserved. If the show is sold out, then the user should not be able to purchase any tickets for that show. Before a user can purchase a ticket, they need to make sure that the show has seats available, that functionality is found in the show service. If there are seats, then they need to checkout and purchase a ticket with the checkout process. Once the ticket is purchase, the show service will then need to be updated, it will need to reserve the seats for that customer for a specific show. Sometimes we place this orchestration requirement on the client itself, this means that in front-end applications or mobile applications, or admin…

Contents