Apache mod_wsgi elegant clustering method

Posted by Dr I on Server Fault See other posts from Server Fault or by Dr I
Published on 2012-11-07T10:37:14Z Indexed on 2012/11/07 11:06 UTC
Read the original article Hit count: 172

Filed under:
|
|
|
|

I'm currently trying to build a scalable infrastructure for my Python webservers. Actually, I'm trying to find the most elegant way to build a scalable cluster to host all my Python WebServices.

For now, I'm using three servers like this:

1 x PuppetMaster to deploy my servers. 2 x Apache Reverse Proxy Front-end servers. 1 x Apache HTTPd Server which host the Python WSGI Applications and binded to using mod_wsgi. 4 x MongoDB Clustered server.

Everything is OK concerning the Reverse proxy and the DB Backend, I'm able to easily add a new Reverse Proxy and a new DB Node, but my problem is about the Python WebServer.

I thinked to just provision a new node with exactly the same configuration and a rsync replication between the two nodes, but It's not really usefull in term of deployement for my developpers etc.

So if you have a solution which is as efficient and elegant that the Tomcat Cluster I'll be really happy to ear it ;-)

© Server Fault or respective owner

Related posts about apache2

Related posts about python