Re: High Availability of Pyro Servers
Irmen de Jong <[email protected]> Mon, 10 Mar 2014 21:44:38 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 10-3-2014 5:43, madhuri wrote: > Hi All, > > I have installed pyro on my machine and able to interact with remote objects > on different machine. > > But I have a question regarding availability of Pyro servers. > For eg. If I have multiple pyro servers(one running as master server at a > time and others as slave servers), is there any way in pyro to invoke slave > servers to run as master in case of any failures? No, Pyro doesn't provide intrinsic failover or other ha-features. Maybe you can implement something yourself? Just run a couple of worker drones each registering in some name space in the name server, and use appropriate error/timeout handling in your client code to discover and switch to another worker if one is down. Pyro's autoreconnect feature may also come in handy. Irmen ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech