Re: [Twisted-Python] TCP and ICMP

2014-05-11 Thread Tom van Neerijnen
You might find something to use in http://twistedmatrix.com/documents/current/api/twisted.pair.html, or at least an idea of how to implement it from one of the existing components. On Sat, May 10, 2014 at 3:29 PM, Jay Shah jayshah30...@gmail.com wrote: Hiee All, I have very simple question.

Re: [Twisted-Python] Sending feedback on SSH authentication failures

2014-02-06 Thread Tom van Neerijnen
SSH (and by association conch) sends feedback to users but unless you ssh -v you won't see much of it. Sending text feedback without using the standard auth methods might require you to move your two factor auth into your protocol but this doesn't feel like a good idea to me. I'm relatively new to

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

2013-11-17 Thread Tom van Neerijnen
the internal calls to buildProtocol shouldn't be wrapped in a maybeDeferred? On Sat, Nov 16, 2013 at 7:05 PM, Lucas Taylor ltaylor.vo...@gmail.comwrote: 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

[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] Speed of twisted on Amazon EC2

2013-04-24 Thread Tom van Neerijnen
Hi Tobias Some comments inline but first an update on the next load test slightly closer to my ultimate use case, which showed PyPy smoking the competition. My test is now a request to a URL scheme like this: /version/{app}/platform/{platform}. This gets translated into a get on Redis for

[Twisted-Python] Speed of twisted on Amazon EC2

2013-04-21 Thread Tom van Neerijnen
Hi all I recently wrote a hello world HTTP app in Twisted, Cyclone, node, Go and Scala on the Play framework, and used a combination of ab and gattling to see how fast each was on an m1.small instance on Amazon EC2. I also tested it on bare metal (my laptop:)) but I'll get to that later. The

Re: [Twisted-Python] Speed of twisted on Amazon EC2

2013-04-21 Thread Tom van Neerijnen
10365 · USt-Id.Nr DE246462916 · Geschäftsführer Tobias Oberstein Von: twisted-python-boun...@twistedmatrix.com [mailto: twisted-python-boun...@twistedmatrix.com] Im Auftrag von Tom van Neerijnen Gesendet: Sonntag, 21. April 2013 12:58 An: twisted-python@twistedmatrix.com Betreff: [Twisted-Python

Re: [Twisted-Python] Speed of twisted on Amazon EC2

2013-04-21 Thread Tom van Neerijnen
-python-boun...@twistedmatrix.com] Im Auftrag von Tom van Neerijnen Gesendet: Sonntag, 21. April 2013 12:58 An: twisted-python@twistedmatrix.com Betreff: [Twisted-Python] Speed of twisted on Amazon EC2 Hi all I recently wrote a hello world HTTP app in Twisted, Cyclone, node, Go and Scala