Why we replaced Node.js with Bun for 5x throughput
Update (March 30, 2026): Shortly after this post went live, Bun shipped a fix for the memory leak. 🔥
We replaced Node.js with Bun in one of our most latency-sensitive services and got a 5x throughput increase. We also found a memory leak that only exists in Bun's HTTP model.
The service is called Firestarter. It's our warm start connection broker: it holds thousands of long-poll HTTP connections from idle run controllers, each waiting for work. When a task run arrives, Firestarter matches it to...
Read more at trigger.dev