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


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

Python performance

Started bySchneider <js@globe.de>
First post2013-08-02 14:00 +0200
Last post2013-08-02 14:06 +0000
Articles 3 — 2 participants

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


Contents

  Python performance Schneider <js@globe.de> - 2013-08-02 14:00 +0200
    Re: Python performance Grant Edwards <invalid@invalid.invalid> - 2013-08-02 14:04 +0000
      Re: Python performance Grant Edwards <invalid@invalid.invalid> - 2013-08-02 14:06 +0000

#51796 — Python performance

FromSchneider <js@globe.de>
Date2013-08-02 14:00 +0200
SubjectPython performance
Message-ID<mailman.116.1375444852.1251.python-list@python.org>
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.

bg,
Johannes


-- 
GLOBE Development GmbH
Königsberger Strasse 260
48157 MünsterGLOBE Development GmbH
Königsber
ger Strasse 260
48157 Münster
0251/5205 390

[toc] | [next] | [standalone]


#51813

FromGrant Edwards <invalid@invalid.invalid>
Date2013-08-02 14:04 +0000
Message-ID<ktge8g$ko3$3@reader1.panix.com>
In reply to#51796
On 2013-08-02, Schneider <js@globe.de> wrote:

> 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?

That's only a little over 2 per second, so I doubt Python is going to
be the bottleneck.

-- 
Grant Edwards               grant.b.edwards        Yow! I can't decide which
                                  at               WRONG TURN to make first!!
                              gmail.com            I wonder if BOB GUCCIONE
                                                   has these problems!

[toc] | [prev] | [next] | [standalone]


#51814

FromGrant Edwards <invalid@invalid.invalid>
Date2013-08-02 14:06 +0000
Message-ID<ktgede$ko3$4@reader1.panix.com>
In reply to#51813
On 2013-08-02, Grant Edwards <invalid@invalid.invalid> wrote:
> On 2013-08-02, Schneider <js@globe.de> wrote:
>
>> 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?
>
> That's only a little over 2 per second, so I doubt Python is going to
> be the bottleneck.

Doh! I meant 2 seconds per message.  That's certainly not a problem.
But, as others have pointed out it's probably the peak rate not the
average rate that matters.

-- 
Grant Edwards               grant.b.edwards        Yow! Actually, what I'd
                                  at               like is a little toy
                              gmail.com            spaceship!!

[toc] | [prev] | [standalone]


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


csiph-web