Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 538 Bytes

08_concurrency.md

File metadata and controls

18 lines (11 loc) · 538 Bytes

8 - Concurrency

Horizontal scalability with the processes model.

The app can be seen as a set of processes of different types

  • web server
  • worker
  • cron

Each process needs to be able to scale horizontally, it can have its own internal multiplexing.

What does that mean for our application ?

The messageApp only have one type of process (http server), it's doing the multiplexing using Node.js http server.

This process can be easily scalable (stateless process).

Previous - Next