Re: [Twisted-Python] Returning a deferred from buildProtocol t.i.p.Factory

2013-11-17 Thread Tom van Neerijnen
Thanks for both those suggestions. I'll be taking a closer look at txLoadbabancer when I get time as it looks like it'll take care of a lot of my desired functionality out the box. To get started tho I'll move my async routing decision call into the protocol as suggested. Is there any reason why

Re: [Twisted-Python] Returning a deferred from buildProtocol t.i.p.Factory

2013-11-17 Thread exarkun
On 05:44 pm, twis...@tomvn.com wrote: Thanks for both those suggestions. I'll be taking a closer look at txLoadbabancer when I get time as it looks like it'll take care of a lot of my desired functionality out the box. To get started tho I'll move my async routing decision call into the

[Twisted-Python] Returning a deferred from buildProtocol t.i.p.Factory

2013-11-16 Thread Tom van Neerijnen
Hi all I'm building a simple TCP load balancer based on a code snippet from Glyph on SO: http://stackoverflow.com/questions/4096061/general-question-regarding-wether-or-not-use-twisted-in-tcp-proxy-project It's served me well but I can't work out how to convert Glyphs round robin retrieval of

Re: [Twisted-Python] Returning a deferred from buildProtocol t.i.p.Factory

2013-11-16 Thread L. Daniel Burr
Hi Tom, On 11/16/13 8:09 AM, Tom van Neerijnen wrote: Hi all I'm building a simple TCP load balancer based on a code snippet from Glyph on SO: http://stackoverflow.com/questions/4096061/general-question-regarding-wether-or-not-use-twisted-in-tcp-proxy-project It's served me well but I

Re: [Twisted-Python] Returning a deferred from buildProtocol t.i.p.Factory

2013-11-16 Thread Lucas Taylor
On Nov 16, 2013, at 7:09 AM, Tom van Neerijnen wrote: Hi all I'm building a simple TCP load balancer based on a code snippet from Glyph on SO: http://stackoverflow.com/questions/4096061/general-question-regarding-wether-or-not-use-twisted-in-tcp-proxy-project It's served me well but I