Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'true,': 0.05; 'subject:Python': 0.06; 'plenty': 0.07; '2,000': 0.09; 'friday,': 0.09; 'second.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'mean,': 0.16; 'received:10.50': 0.16; 'wrote:': 0.18; '(in': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'script': 0.25; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'rest': 0.29; "i'm": 0.30; '(which': 0.31; 'ray': 0.31; 'this.': 0.32; '-----': 0.33; 'done': 0.36; 'shows': 0.36; 'email addr:python.org': 0.37; 'received:10': 0.37; 'performance': 0.37; 'handle': 0.38; 'list,': 0.38; 'pm,': 0.38; 'does': 0.39; 'subject:': 0.39; 'ensure': 0.60; 'august': 0.61; 'course': 0.61; 'day.': 0.63; '2000': 0.65; 'email name:python-list': 0.65; 'hour': 0.70; 'day': 0.76; 'emails.': 0.78; 'mails': 0.89; 'to:none': 0.92; '2013': 0.98 X-Virus-Scanned: Debian amavisd-new at ispconfig-mx01-ha03.globe.de Date: Fri, 02 Aug 2013 15:17:35 +0200 From: Schneider Organization: GLOBE Development GmbH User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: Python performance References: <24373948.472.1375448972239.JavaMail.rgacote@raymac.appropriatesolutions.com> In-Reply-To: <24373948.472.1375448972239.JavaMail.rgacote@raymac.appropriatesolutions.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1375449492 news.xs4all.nl 15907 [2001:888:2000:d::a6]:54380 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51809 On 08/02/2013 03:09 PM, Ray Cote wrote: > ----- Original Message ----- >> From: "Schneider" >> To: python-list@python.org >> Sent: Friday, August 2, 2013 8:00:09 AM >> Subject: Python performance >> >> 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 possi bility ;) ). >> >> 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. >> > A quick calculation shows that 2,000 mails per hour is less than 1 email every second. > Plenty of time to handle individual emails. This is just true, if the mails arrive equally distributed. We cannot ensure this.