The Supervisor Is Bun-Native. The Applications Don't Have to Be.
What I learned building a lightweight production supervisor that can manage Bun, Node.js, Python, Go, Rust, Ruby, PHP, Java, and native applications.
Disclosure: I am the creator of ProcBoss, the open-source project discussed in this article. This article focuses on the engineering problems and design decisions behind building it rather than presenting it as an independent review.
Production Doesn't Stop at Your Application
Getting an application running locally is usually the easy part.
The harder question comes when that application needs to stay running for days, weeks, or months.
What happens when the process crashes at 3 AM?
What happens when memory usage keeps growing?
How do you restart an application without taking the service completely offline?
How do you manage several workers?
How do you make sure applications come back after a server reboot?
And what happens when your server isn't running only JavaScript?
These are the problems process...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE