On Wednesday 03 March 2004 10:29 am, Forrest Aldrich wrote: > It would seem that, to accomplish this with SA, you'd need to deploy yet > more boxes to spread the load (layer switching) of SA queries, at the > very least - but how to share the DB?
Load sharing with SA is trivial, simply CNAME the spamd systems and let DNS round-robin and spamc failover take care of the rest. As for sharing the DB, simply put: you don't. For high thru-put you'll have to disable auto-learning and do manual training daily/weekly/whatever, which keeps the bayes DB "in sync" as a side effect since auto-learn is turned off. Caching DNS on the spamd systems is a must as well if you want to do RBL checks. If you're going to do virus scanning I highly suggest using whatever *BSD's equivilent to Linux's /dev/shm (tempfs) auto-resizing ramdisk filesystem as the work area.
