Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51829 > unrolled thread

Re: Python performance

Started byChris Angelico <rosuav@gmail.com>
First post2013-08-02 13:57 +0100
Last post2013-08-02 13:57 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python performance Chris Angelico <rosuav@gmail.com> - 2013-08-02 13:57 +0100

#51829 — Re: Python performance

FromChris Angelico <rosuav@gmail.com>
Date2013-08-02 13:57 +0100
SubjectRe: Python performance
Message-ID<mailman.135.1375492323.1251.python-list@python.org>
On Fri, Aug 2, 2013 at 1:00 PM, Schneider <js@globe.de> 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.

2000 an hour is less than one a second. I don't know how much hardware
you're going to devote to this or how many other services are going to
be on the same computer, but you should be able to do that no problem
at all; basic statisticking isn't difficult. The slowest part is
likely to be networking (esp if you have to do DNS lookups), so you'll
want to make sure everything's done asynchronously - either with
threads or with async queries and so on. I'd say this will be fairly
easy.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web