Robert Paprocki Wrote: ------------------------------------------------------- > like rsyncing the cache contents between nodes thus would not work); > are there any recommendations to achieve such a solution?
I would imagine a proxy location directive and location tag; shared memory pool1 = nginx allocated and managed shared memory pool2 = socket or tcp pool on a caching server elsewhere The problem you have is speed and concurrency of requests, rsyncing a cache requires a specific tag which needs to be respected by each instance using it or you will have a battle between instances. A better idea would be a database with a persistent connection, in memory cached again to avoid duplicate queries. ea. use the database for a central repository of cached items and local memory to avoid hitting the database more then once for each item. No disk-IO would be involved so it should also be non-blocking. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252275,252479#msg-252479 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx