On Sun, 17 Dec 2000, Dan Langille wrote:
# Which list would be more appropriate for asking advice on designing a
# mail processing strategy for FreshPorts 2 (i.e. processing all of cvs-all,
# not just the ports)?
#
# I'm looking for recommendations and guidance on how to capture the
# incoming messages and process them one at a time. As opposed to
# starting a separate perl script for each message (which is the the
# existing strategy and is usually fine, except when large numbers of
# messages turn up in a short period of time).
If you don't want to process a message the instant it comes in
(via feeding it to a perl script or what ever) you'll need to setup some
sort of queue, then have a cron job come through and process the
queue.
If the problem is load then another approach would be to heavily
nice(1) the perl script the is launched when a commit mail comes in.
***********************************************************
* Joseph Scott The Office Of Water Programs *
* [EMAIL PROTECTED] [EMAIL PROTECTED] *
***********************************************************
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message