Bun's Linux Containers Finally Report Real CPU Limits
Bun just plugged a massive blind spot in container CPU reporting. Your Node-like apps in Docker now see the actual limits, not the host's full arsenal.
DevTools FeedApr 03, 20263 min read10 views
⚡ Key Takeaways
Bun now respects Linux cgroup cpu.max for accurate hardwareConcurrency in containers.𝕏
Fixes oversubscribed threads in Docker/k8s, boosting efficiency.𝕏
Unique edge: Echoes 2000s VM CPU billing scandals, pushing runtime maturity.𝕏
The 60-Second TL;DR
Bun now respects Linux cgroup cpu.max for accurate hardwareConcurrency in containers.
Fixes oversubscribed threads in Docker/k8s, boosting efficiency.
Unique edge: Echoes 2000s VM CPU billing scandals, pushing runtime maturity.