On 01/28/2015 03:18 PM, Kevin A. McGrail wrote:
On 1/28/2015 9:04 AM, Reindl Harald wrote:
my main point is that i don't want the locking IO when nothing then
the self developed maintainance scripts for the bayes has a business
to write anything there - it should be only read and in the best case
from each spamc-forker only opened once in his lifetime for best
performance
A) I have a feeling using Redis will provide the fastest performance
either way...
afaik, Redis requires "bayes_auto_expire 1" but one can set a huge TTL
for "bayes_token_ttl" & "bayes_seen_ttl"
Of course, Redis also cause I/O when it dumps to disk but in all the SA
noise....
I don't understand why Reindl is so scared of the Bayes file based I/O.
Using modern hardware, the DB file type is slower than any I/O but
then... Lets assume he's scared of speed coz he does scans during the
smtp sessions AND he's using the default DB backend instead of the
faster SDBM (or Redis) :)
but then, he'll supply the patch. BAZINGA!