Handling more than 1024 file descriptors, in C on Linux

后端 未结 3 869
一个人的身影
一个人的身影 2020-12-16 23:20

I am working on a threaded network server using epoll (edge triggered) and threads and I\'m using httperf to benchmark my server.

So far, it\'s performing really wel

3条回答
  •  悲哀的现实
    2020-12-16 23:34

    Please see the C10K problem page. It contains an in-depth discussion on how to achieve the '10000 simultaneous connections' goal, while maintaining high-performance and managing to serve each client.

    It also contains information on how to increase the performance of your kernel when handling a large number of connections at once.

提交回复
热议问题