-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

John Rudd wrote:
[snip]
> That, or mail servers that scan their email in bulk batches (like those 
> using mailscanner), where the latency of starting clamscan is MUCH 
> smaller than the latency in going through clamd (I've timed both under 
> mailscanner and mimedefang; under mimedefang, using clamd is a HUGE win, 
> as everyone here expects ... under mailscanner, using clamd is a HUGE loss).

I don't agree... and many people have reported much improved performance after
changing to clamdscan; the new direct connection to clamd is even better.

> Though, the fastest method, for mailscanner, is using the ClamAV perl 
> module for directly processing the messages.

The _fastest_ method for MS is any of the 2: clamavmodule, clamd (on latest
beta); then comes using clamdscan, and last, as expected, is clamscan.

_Performance_ is more than that, the "fast and lower memory use" winner is the
new direct connection with clamd.  Of course there are other properties which
are also interesting, like reliability, ease of use, whatever.

> This wasn't much of a win under mimedefang though.
> 
> So the real answer here is, as with any non-trivial discussion: "it 
> depends".  It depends on what you're doing, and how you're doing it. 
> Batching: look toward clamscan or the ClamAV perl module and away from 
> clamd.  Interactive/live (such as a milter): look toward clamd. 
> Ultimately, if it _REALLY_ matters to you, don't listen to other 
> people's dogma, actually develop a test suite to figure out which one is 
> truly faster or slower for your situation.

I agree with this last phrase, and the tricky part is how to build a good test
suite.
- --
René Berber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Cygwin)

iD8DBQFGeC6HL3NNweKTRgwRCGrQAKCeWd2IkuwBYaDDQtSU2+t1RYnaNwCg40bi
U6dxEYfsMlA3OYH6GvWXw50=
=1ZBo
-----END PGP SIGNATURE-----

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to