Re: [BangPypers] Fwd: How to do clustering in python.

2013-09-30 Thread Ramdas S
HA Proxy could be a more professional bet If the protocol is HTTP, you can use mod_proxy_balancer: > https://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html > > -- > Baiju M > ___ > BangPypers mailing list > BangPypers@python.org > https://mail.pyt

Re: [BangPypers] Fwd: How to do clustering in python.

2013-09-30 Thread Dhananjay Nene
On Mon, Sep 30, 2013 at 4:37 PM, uday sankar wrote: > Hi, > > I have a engine built in python. I implemented a webserver in python it > will listen to the request sent and will responsed back with the necessary > result. Now the problem is that I am able to run this engine in one node, > if this n

Re: [BangPypers] Fwd: How to do clustering in python.

2013-09-30 Thread Srinath
Assuming your service can be run on multiple servers, There are many ways to do load balancing. 1) If you are accessing the server with a name, simple way would be to set DNS TTL low and use DNS in weighted round robin. 2) You can set up HAProxy with heartbeat. 3) If you have to write on yourse

Re: [BangPypers] Fwd: How to do clustering in python.

2013-09-30 Thread Baiju M
On Mon, Sep 30, 2013 at 4:37 PM, uday sankar wrote: > Hi, > > I have a engine built in python. I implemented a webserver in python it > will listen to the request sent and will responsed back with the necessary > result. Now the problem is that I am able to run this engine in one node, > if this n

[BangPypers] Fwd: How to do clustering in python.

2013-09-30 Thread uday sankar
Hi, I have a engine built in python. I implemented a webserver in python it will listen to the request sent and will responsed back with the necessary result. Now the problem is that I am able to run this engine in one node, if this node goes down engine will go down and we will not be able to run