ended4월 3일· 1 sources

Bun Now Respects Container CPU Limits on Linux

Bun이 컨테이너의 CPU 제한을 이제 제대로 인식하도록 개선

Why it matters

Bun was previously ignoring Docker and Kubernetes CPU limits, spawning as many threads as the host had cores—causing severe performance issues and latency spikes in containerized deployments. This update makes Bun container-aware by routing CPU detection through Linux cgroup quotas, ensuring it correctly honors resource constraints like `docker run --cpus=2`. This fix is essential for production deployments and aligns Bun with Node.js behavior.

1
Sources
+0
24h
Growth
170d
Active
BuncgroupCPU quotathread poolDocker

Sources

Related Issues