[Twisted-Python] [Q] Naming Service for Twisted Servers

Don Smith donwsmith at gmail.com
Sat Jan 10 17:27:18 EST 2009


Why not use a Message Queue? I developed a very similar program to what you
have described, only each agent would connect to the Queue to get their data
to work on. However, I think something like Apache ActiveMQ or AmazonSQS
would be a better approach.

=Don

2009/1/9 V S P <toreason at fastmail.fm>

> Thank you for the replies.  Wanted to make sure I was not missing
> a 'twisted goodie'
>
> What is ZeroConf?  Can you please point me to the project page
> (I searched for some but did not find something twisted/python
> specific).
>
> my client will be a program that reads rows of 'requests' from the
> database and dispatch them to available twisted servers (I call it
> Dispatcher).  Then twisted servers will use the pool of worker threads
> (with help of Ampula plugin I guess) to do the work (that will take
> hours
> of not more).
>
> So there will be just one program that needs to be
> aware of all the available servers in my scenario.
>
> Also I can see that some people might have needed a 'proxy'
> that sits infront of the cluster of twisted servers and that proxy
> has some balancing mechanism.  And if there is any body that has that
> solution I would like to know as well.
>
>
>
> thank you again.
>
>
> On Fri, 9 Jan 2009 22:29:22 -0500, "Jarrod Roberson"
> <jarrod at vertigrated.com> said:
> > 2009/1/9 V S P <toreason at fastmail.fm>
> >
> > > Hi,
> > > I am sorry I am reasking the same question I asked before
> > > (but I did not get any replies)
> > >
> > > Basically wanted to know -- for running Twisted on multiple servers
> > >
> > > is there such a thing as a "Naming" server that
> > > would register all the currently running twisted servers
> > >
> > > -- so that asynchronious event dispatching can be done in some
> > > round-robin to available twisted servers
> > >
> > >
> > > we used ZeroConf for autodiscovery that way the clients can decide for
> > themselves which server to connect to.
> --
>   V S P
>  toreason at fastmail.fm
>
> --
> http://www.fastmail.fm - And now for something completely different┘
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20090110/d057d0cb/attachment.htm 


More information about the Twisted-Python mailing list