About this question

Epoll Edge Triggered Event Loop

Hard · systems · Quant Developer interview question · systems, networking, parsing, c++

Low-latency trading systems often utilize Edge-Triggered I/O notification mechanisms (like EPOLLET) to minimize system call overhead when handling high-throughput market data. In this model, notifications are only delivered when the state of a file descriptor changes, requiring the application to fully drain the socket buffer to prevent data stalls and subsequent latency spikes. This pattern is critical for maintaining real-time responsiveness in high-frequency trading engines where every micros