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


Groups > comp.lang.python > #51858

Re: Python performance

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <wayne@waynewerner.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; '[1]:': 0.09; 'oh,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"it\'s': 0.16; 'erlang.': 0.16; 'language?': 0.16; 'mean,': 0.16; 'url:packages': 0.16; 'wrote:': 0.18; 'programming': 0.22; '(in': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'load': 0.23; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'script': 0.25; 'second': 0.26; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'rest': 0.29; 'possibility': 0.29; "i'm": 0.30; '(which': 0.31; 'quite': 0.32; 'fri,': 0.33; 'done': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'handle': 0.38; 'list,': 0.38; 'does': 0.39; 'course': 0.61; 'day.': 0.63; '2000': 0.65; 'hour': 0.70; 'day': 0.76; 'mails': 0.89; '2013,': 0.91
Date Sat, 3 Aug 2013 08:09:13 -0500 (CDT)
From Wayne Werner <wayne@waynewerner.com>
X-X-Sender wayne@gilgamesh
To Schneider <js@globe.de>
Subject Re: Python performance
In-Reply-To <51FB9F49.9040209@globe.de>
References <51FB9F49.9040209@globe.de>
User-Agent Alpine 2.02 (DEB 1266 2009-07-14)
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.155.1375535383.1251.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375535383 news.xs4all.nl 15920 [2001:888:2000:d::a6]:51920
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51858

Show key headers only | View raw


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/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python performance Wayne Werner <wayne@waynewerner.com> - 2013-08-03 08:09 -0500

csiph-web