November 1, 2013

Balancing between processes per source ip in epoll()

Hello.

Is it possible to add new feature to epoll()?

For example, parent process create epoll instance by epoll_create(..., N), N - number of child processes. After fork() every process gets index in range: 0 :: N-1. Then, in epoll_wait(..., index) each process sends it own index.

Every process never will get events from same ip from epoll_wait().

So, every process will work with its isolated data.

Best Regards.

Click Here!