Hi Barco,<div><br></div><div>I have spent sometime thinking about this, but I have not actually needed to do it yet. </div><div><br></div><div>If I was attempting to do it, I would probably be using the following tools.<br>
<div><br></div><div>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. </div><div><br></div><div>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.</div>
<div><br></div><div>You could replicate the images and other files using rsync.</div><div><br></div><div><a href="http://nginx.org/">http://nginx.org/</a></div><div><a href="http://slony.info/">http://slony.info/</a></div>
<div><a href="http://pgpool.projects.postgresql.org/">http://pgpool.projects.postgresql.org/</a></div></div><div><br></div><div>Michael</div>