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

Asked 6 months 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.
Answered Nov 2, 2023

Need further help?

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

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?
Thank you and please share!
Thank you and please share!
Needs work
Sharing is what powers GetHuman's free customer service contact information and tools. You can help!