Thanks Maxim, Guzman. I think storing responses directly in disk makes it easy to store and retrieve from different process contexts. However, if the storage space is huge (in TB) and if the disk storage media is SSD, write avoidance is something that should be considered. In this case, small files can be stored in memory cache to speed up access to frequent webcontent and cachemanager can tryby cachenewbie - Nginx Mailing List - English
I got Nginx working as a forward proxy to the internet by replacing the backend host with $http_host variable (basically using the host name passed in the request instead of fixed IP address from the conf file). It seems to be working fine but sometimes the requests time out (from the client). My question is this - Functionally (and protocol compliance-wise and with respect to behavior), is tby cachenewbie - Nginx Mailing List - English
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 nginxby cachenewbie - Nginx Mailing List - English
Is there any plan to fix thread support in Nginx ? Are there significant drawbacks in running multiple threads in each Nginx process ?by cachenewbie - Nginx Mailing List - English
Also a related question - If AIO is used, does Nginx maintain two levels of cache (one in-memory and one on the disk) ? Does the cache manager look at only disk caches for replacement ?by cachenewbie - Nginx Mailing List - English
All - Is there a high level tutorial on how nginx does caching ? Does it use mmap to map the cache directory/file into memory and share it with all nginx worker processes (and use sendfile to send it out to the socket) ? Or does it use directIO to open the file and use regular read/write syscalls ? This is for Linux debian platform. Thanks,by cachenewbie - Nginx Mailing List - English
Thanks mat h Anyone else has answers to 1 to 3 ? There was a typo in my original post . [2] is supposed to read "What are the "caching" features that are critical (compared to squid) that are missing in *nginx* " Thanks.by cachenewbie - Nginx Mailing List - English
All - I've read through most of the posts before posting this but couldn't find answer to the specific question I have. I've been looking at nginx, squid, varnish and Apache Traffic server to determine the best one to use as a transparent forward caching proxy with necessary modifications (to the code or configuration file) - I understand Nginx (and varnish) is built from scratch to be a revby cachenewbie - Nginx Mailing List - English