Apache mod_wsgi elegant clustering method
- by Dr I
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 ;-)