Why use an event cache with epoll_wait?
- by user1827356
Question: epoll man page has some pointers when using epoll with an 'event cache'. But, why would you need to maintain an event cahce at all - Isn't this the same as what epoll is supposed to be doing?
Is it to avoid making multiple epoll_wait calls which might be slower than managing the events in user space?
Is it to implement a custom 'priority' scheme over the cached events?
Background: I'm trying to understand the strengths/shortcomings of epoll and its applicability to different situations