Re: A question of speed
- From: "Alan J. Flavell" <flavell@xxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 18:32:34 +0100
On Fri, 30 Jun 2006, John Bokma wrote:
"Robert Hicks" <sigzero@xxxxxxxxx> wrote:
I have some co-workers that are writing an email parser (not sure
of the specifics) that is going to process around 5000 emails a
day. I suggested that they go a pure Perl route but they are leary
about Perl being "fast" enough to parse that many emails.
SpamAssassin is written in Pure Perl AFAIK, and 5,000 emails sound
like peanuts to me.
Sounds right to me. On our departmental mail server, it's the
highest-cost of the processes which run on incoming mail, and we try
to reject as much rubbish as we can at an earlier stage so as not to
put unnecessary load on the system; but a few thousand mails per day
would hardly bring it into a sweat.
However, it might be worth keeping in mind that SA typically runs as a
continuously running daemon, to which the individual mails are fed.
My hunch is that the simple-minded approach of firing-up a separate
instance of the script each time that a mail arrives would incur
considerable overhead.
h t h
.
- References:
- A question of speed
- From: Robert Hicks
- Re: A question of speed
- From: John Bokma
- A question of speed
- Prev by Date: Re: A question of speed
- Next by Date: Re: crash on async in taint mode
- Previous by thread: Re: A question of speed
- Next by thread: Re: A question of speed
- Index(es):
Relevant Pages
|