Hi!

On 14:24 Mon 11 Feb     , [email protected] wrote:
> On Sat, 09 Feb 2013 13:10:47 +0800, horseriver said:
...
> >    In network programing ,what is the essential for  the maximum of 
> > connections
> >    dealed per second
> ...
> So the *real* question
> becomes "how many times per second is your box able to fork() off an httpd,
> do all the processing required, and close the connection?"

If you fork(), than this definitely will be your bottleneck (except the
application does something even slower). Better use epoll+nonblocking i/o.

        -Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to