A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

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!