Linux.com

fervid

fervid

  • Linux.com Member
  • Posts: 1
  • Member Since: 01 Nov 13
  • Last Logged In: 01 Nov 13

Latest Posts

Posted by
Topic
Post Preview
Posted
  • fervid
    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.
    Link to this post 01 Nov 13

    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.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board