- The current event_linux implementation requires each business node to call
neu_event_new separately to create an epoll instance. If the system has dozens or hundreds of nodes, there will be a large number of epoll file descriptors (fd) in the system, which will obviously consume a lot of system resources.
- Currently, at least 3
timerfds are created for each group of every business node. If the system has dozens of nodes and hundreds of groups, hundreds of timerfds will appear. This, firstly, consumes the process's file descriptor resources, and secondly, the frequent kernel/user-mode switching of timerfds is quite CPU-intensive.
This issue was automatically translated from Chinese.