uWSGI thunder lock contention latency when worker count exceeds CPU cores
Context uWSGI serializes accept() calls across workers using a thunder lock (system semaphore on Linux, pthread mutex elsewhere). The lock is enabled by default and prevents the thundering herd problem, but introduces contention when many workers compete for the same lock. Goal Understand how much the thunder lock contributes to request latency percentiles u