Python performance

Wayne Werner wayne at waynewerner.com
Sat Aug 3 09:09:13 EDT 2013


On Fri, 2 Aug 2013, Schneider wrote:

> Hi list,
>
> I have to write a small SMTP-Relay script (+ some statistic infos) and 
> I'm wondering, if this
> can be done in python (in terms of performance, of course not in terms 
> of possibility ;) ).
>
> It has to handle around 2000 mails per hour for at least 8hours a day 
> (which does not mean, that it is allowed not to respond the rest of 
the day.
>
> Can this be done? or should I better use some other programming language?
> My second choice would be erlang.

Check out Kenneth Rietz's inbox.py[1]

"It's quite quick. One instance should handle over one thousand emails per 
second."

So it should be able to handle your hour's load in oh, say 2 seconds? ;)

HTH,
W

[1]: https://crate.io/packages/inbox/



More information about the Python-list mailing list