What is the difference between a dyno and a worker on Heroku?

Asked a year ago
On Heroku, a dyno refers to a lightweight container that executes the application code. It provides a single, isolated environment for running web or background processes. Dynos are responsible for receiving HTTP requests and handling web traffic or executing tasks. On the other hand, a worker is a specific type of dyno that handles background jobs or tasks that are time-consuming or resource-intensive. Workers are designed to process tasks independently from the web application, ensuring smooth performance. The primary difference between a dyno and a worker is their purpose and the type of processes they execute. Dynos handle web traffic, while workers are dedicated to background tasks, ensuring optimal resource allocation and enhancing the overall performance of applications on Heroku.
Adam Goldkamp is the editor / author responsible for this content.
Answered May 3, 2024

Need further help?

Type out your followup or related question and we will get you an answer right away.

Need to contact Heroku?

If you need to talk to Heroku customer service, now that you have the answers that you needed, click the button below.
Contact Heroku

Heroku

Find a list of many popular Heroku questions with answers or step by step guides on our FAQ page below. Or ask a whole new question and get an answer right away.
Heroku Customer Service FAQAsk a Question
Was this page helpful?YesNeeds work
Sharing is what powers GetHuman's free customer service contact information and tools. You can help!