[erlang-questions] [Zotonic] How to distribute zotonic across multiple machines?

Barco You barcojie@REDACTED
Fri Oct 14 16:40:49 CEST 2011


Hi Michael,

Thank you very much for your great suggestion. I've been actually also
thinking of using nginx, but dont know slony and pgpool. I will try them.
Thank you very much!

Best regards,
Barco
On Oct 14, 2011 5:48 PM, "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
> tools.
>
> 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
> session.
>
> 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.
>
> http://nginx.org/
> http://slony.info/
> http://pgpool.projects.postgresql.org/
>
> Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111014/7056be59/attachment.htm>


More information about the erlang-questions mailing list