Cloudflare

The problem with thread^W event loops

Mar 18, 2020Julien Desgats
The problem with thread^W event loops
SummaryAI, from the source post

This post details the challenges of event loop architectures, particularly when faced with CPU-intensive tasks like WAF processing. It explains how Cloudflare addressed this by leveraging NGINX's existing thread pool mechanism to offload these tasks, improving request latency and server accept speed. The post also touches on the importance of kernel patches like EPOLLROUNDROBIN for load balancing in such hybrid architectures.

More from the Process Management & Graceful Upgrades trail