labs/12factor/08_concurrency.md

538 B

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