[erlang-questions] [Zotonic] How to distribute zotonic across multiple machines?
Fri Oct 14 17:26:59 CEST 2011
Will the write fail if the master node is down?
On Oct 14, 2011 2:48 AM, "Michael Connors" <connorsml@REDACTED> wrote:
> Hi Barco,
> I have spent sometime thinking about this, but I have not actually needed
> to do it yet.
> If I was attempting to do it, I would probably be using the following
> You could put Zotonic behind nginx and use nginx as a load balancer with
> sticky sessions, so that the user gets sent to the site that has their
> You could replicate Postgresql using Slony so you have your database
> distributed, and use pgpool to ensue that all writes go to the master
> database and all reads come from the local database.
> You could replicate the images and other files using rsync.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions