Process formation

Each application's set of running processes on the dyno manifold are known as its process formation.

The default formation for a simple application will be a single web process, whereas more complex applications may consist of multiple copies of web and worker process types. You can scale the process types on demand as your application needs increase.

For example, if the application already has a process formation of three web processes, and you run the heroku ps:scale worker=3 command, you will now have a total of six processes: three web processes and three worker processes.

Process scaling

In a production environment, your application may need to scale out to a much greater capacity. It is no longer a couple of web and worker ...

Get Heroku Cloud Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.