Thank you, Vladimir. You've made things clear. Now I've got it. 2012/6/30 Vladimir Shebordaev <vshebordaev@mail.ru> > Hi! > > 2012/6/30 naquad <naquad@gmail.com>: > > > > I'm trying to figure out how does nginx manage its memory per request. > From > > what I understand it uses region-based memory management (implemented in > > src/core/ngx_pallocby naquad - Nginx Development
Hi. I'm trying to figure out how does nginx manage its memory per request. From what I understand it uses region-based memory management (implemented in src/core/ngx_palloc.{h,c}). But is there any documentation on details of its implementation and algorithm itself? I've tried to just read through sources, but I can't get figure algorithm out of them :( Could somebody please sched some light on tby naquad - Nginx Development
Hi. Are there any materials explaining how Nginx is implemented, why such solutions were applied? I'm reading sources atm, but I'm new to C and server programming and I can't see the whole picture how it works. As I understand Nginx work flow is something like following: create listening socket, set its flags (non-blocking, accept defer socket option, etc...), create multiple threads (workby naquad - Other discussion