Worker Processes with Heroku By Example

added by JavaScript Kicks
9/11/2018 7:51:43 AM

388 Views

A walk-through of adding a worker process to Heroku applications (written in TypeScript). Because JavaScript ( TypeScript is transpiled to JavaScript) is single-threaded, we need to rely on separate processes (workers) to perform tasks that we do not want our web application to perform. A common example is offloading CPU-intensive operations.


0 comments