During a massive spike of EOF/RST events, the worker thread correctly called close(fd), but it completely missed calling .resume() for the coroutines tied to that descriptor. The socket was gone, but the state machine logic was broken. Those coroutines were just stranded in the heap, waiting for a wakeup that would never happen.
规范直播间带货、连锁店卖货,守护“舌尖安全”
,推荐阅读体育直播获取更多信息
Follow topics & set alerts with myFT
Correct but exponentially bad in worst case