nginx-forum at nginx.us
Wed Apr 9 12:22:10 UTC 2014
Thank you for the reply.
I know it is simple. But, will we not get more performance benefit if we
create the pools before hand. Say I will create a memory pool for the
connections (for example say with 4000 entries). Everytime I need one, I
will go and get it from that pool and when I free it, I will free that to
the pool. Will not that be more efficient rather than for every connection
and request going and allocating a pool.
I always feel the run time malloc calls are bad and for every connection and
request are expensive when we handle thousands of connections per seconds.
Please share your thoughts....
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249144,249159#msg-249159
More information about the nginx