[Twisted-Python] How to use defer.fail better...

2009-03-30 Thread Jan Bakuwel
Hoi all, I'm writing a twisted/python SMTP server that accepts emails from a MTA using twisted. All works well, except that when I return a defer.fail(None) from processEmail to messageHandler.eomReceived (see below), twisted dumps the trace back of the last exception on stdout. Is there a way to

[Twisted-Python] RE: how to create state machines?

2009-03-30 Thread Doug Farrell
Hi Andrew, > > Hi Doug: > > >This state machine initializes a system, issues an asynchronous > command > >that takes time to complete (say a motor move command) and then waits > >for that command to be done before exiting. In the context of a > >framework that is calling this state machine, the W

Re: [Twisted-Python] RE: how to create state machines?

2009-03-30 Thread Andrew Francis
Message: 2 Date: Mon, 30 Mar 2009 11:10:48 -0400 From: "Doug Farrell" Subject: [Twisted-Python] RE: how to create state machines? To: Message-ID: <318f79422adc5041a93343721f84474d01a8b...@exchange.mypublisher.local> Content-Type: text/plain;charset="us-ascii" >[Doug Farrell] Thank you v

Re: [Twisted-Python] How to use defer.fail better...

2009-03-30 Thread glyph
On 09:42 am, jan.baku...@omiha.com wrote: Hoi all, I'm writing a twisted/python SMTP server that accepts emails from a MTA using twisted. All works well, except that when I return a defer.fail(None) from processEmail to messageHandler.eomReceived (see below), twisted dumps the trace back of the

Re: [Twisted-Python] How to use defer.fail better...

2009-03-30 Thread Jan Bakuwel
Hi Glyph, >> I'm writing a twisted/python SMTP server that accepts emails from a MTA >> using twisted. All works well, except that when I return a >> defer.fail(None) from processEmail to messageHandler.eomReceived (see >> below), twisted dumps the trace back of the last exception on stdout. Is >>

[Twisted-Python] What kind of throughput can we expect to achieve when using DatagramProtocol (UDP)

2009-03-30 Thread John Draper
Hi, We have an application we intend to release where we intend to have about a million applications sending UDP packets to a Twisted Python server which needs to process incoming data (Approx 128 bytes of text) per packet, which a BACK end system is inserting this data into mySQL tables.

[Twisted-Python] New user - plugin question

2009-03-30 Thread tim wylie
Hello, I'm a long time linux/python user who's just now starting to use twisted. I am looking for advice more than anything specific. We're working on a small game/etc server that has several small games that can be played between users. Maybe a card game, tic-tac-toe, etc. There are a l

RE: [Twisted-Python] What kind of throughput can we expect to achieve when using DatagramProtocol (UDP)

2009-03-30 Thread Alec Matusis
One data point: I have a server that processes about 20 UDP multicast packets per second. This server does many other things, but the load from those 20 UDP pps is negligible- it uses 0% CPU with just that (Xeon L5420) > -Original Message- > From: twisted-python-boun...@twistedmatrix.com [

Re: [Twisted-Python] What kind of throughput can we expect to achieve when using DatagramProtocol (UDP)

2009-03-30 Thread Itamar Shtull-Trauring
On Mon, 2009-03-30 at 15:07 -0700, John Draper wrote: > We have an application we intend to release where we intend to have > about a million applications sending UDP packets to a Twisted Python > server which needs to process incoming data (Approx 128 bytes of text) > per packet, which a BAC

[Twisted-Python] Twisted conch - ssh question

2009-03-30 Thread Ameya Lokare
Hello everyone, I'm trying to get the sshsimpleserver.py and sshsimpleclient.py from the examples to talk to each other. Both work fine with the standard linux ssh client/server respectively, but I couldn't get them to communicate wi