Welcome! Log In Create A New Profile

Advanced

Memory Pool

April 09, 2014 04:55AM
Nginx when it accepts a connection, it creates a memory pool for that connection (allocating from heap). After which further memory requirement for that connection will be allocated from that pool. This is good.
But, why don't we pre create the memory pools depending upon the number of connections and use that pool. In the current approach if some connections are coming up going down., we will be allocating and freeing to heap frequently.

Can someone please clarify why this has been done like this?
SubjectAuthorPosted

Memory Pool

nginxsantosApril 09, 2014 04:55AM

Re: Memory Pool

nginxsantosApril 09, 2014 05:45AM

Re: Memory Pool

Valentin V. BartenevApril 09, 2014 06:26AM

Re: Memory Pool

nginxsantosApril 09, 2014 08:22AM

Re: Memory Pool

Valentin V. BartenevApril 09, 2014 10:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready