Express

Synchronous logging stalls event loop under load

warning
Resource ContentionUpdated Feb 24, 2026(via Exa)
Technologies:
How to detect:

Synchronous logging, heavy JSON stringification, or slow log drains block the event loop especially under load. The system appears to be observing correctly while observability itself harms performance.

Recommended action:

Measure log write time as a metric. Use sampling for logs under high throughput. Implement structured logging with bounded serialization. Use async log transport with buffering. Correlate log write time with lag spikes.