Thread support in Nginx

Boris Dolgov boris at dolgov.name
Tue Oct 5 22:19:19 MSD 2010


On Tue, Oct 5, 2010 at 22:14, cachenewbie <nginx-forum at nginx.us> wrote:
> I was thinking that the in-memory buffer cache can be shared by multiple
> threads (can't be done by multiple processes without shared memory and
> shared memory isn't good for performance) serving different
> clients/requests instead of multiple processes sharing the file cache -
> basically to help having two levels of cache - one in-memory and one
> file-cache served by multi-threaded multi-process nginx system making
> the best use multi-core processors.
File cache is equal to memory cache (because of system pagecache) in
modern operating systems, so, I don't think, that it is really needed.


-- 
Boris Dolgov.



More information about the nginx mailing list