Welcome! Log In Create A New Profile

Advanced

Sync multi nginx (persistent) caching proxy for one(or more) app server

August 01, 2011 10:43PM
Hi,

I am a newbie Nginx user, so bear with me here ;-)


I want to setup multiple (identical) caching proxy in front of my app server.

Basically - Load balancer - multiple nginx caching proxy - app server(s)

So I have two questions:

1. How do I make the cache persistent (across nginx restart)?
Wiki says that keys and metadata are stored in shared memory, does that mean it's not possible to save cache?

2. How do I sync the caches on different nginx, so that same URL request does not hit app server multiple times.
Can I use something like rsync?


Thanks a lot!
Subject Author Posted

Sync multi nginx (persistent) caching proxy for one(or more) app server

lennydizzy August 01, 2011 10:43PM

Re: Sync multi nginx (persistent) caching proxy for one(or more) app server

splitice August 01, 2011 11:24PM

Re: Sync multi nginx (persistent) caching proxy for one(or more) app server

Igor Sysoev August 02, 2011 12:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 252
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready