Date: Tue, 19 Dec 2000 07:53:51 +1300 From: "Dan Langille" <dan@langille.org> To: Joseph Scott <joseph@randomnetworks.com> Cc: freebsd-hackers@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: processing incoming mail messages (FreshPorts 2) Message-ID: <200012181853.HAA18954@ducky.nz.freebsd.org> In-Reply-To: <Pine.BSF.4.21.0012181210180.71411-100000@mothra.ecs.csus.edu> References: <200012181843.HAA18856@ducky.nz.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18 Dec 2000, at 12:11, Joseph Scott wrote: > > On Tue, 19 Dec 2000, Dan Langille wrote: > > # On 18 Dec 2000, at 12:03, Joseph Scott wrote: > # > # > Let's say, at a minimum you want the queue to run every 30 > # > minutes. However, if there are a large number of commits in the queue, > # > you may want to be able ramp up to queue processing as quickly as every 5 > # > minutes. If there's only two items in the queue though, there's really no > # > reason to run it every 5 minutes. > # > # I would rather process the queue as soon as a new message arrives. > # Rather than have a message sit there. Hence, the "notification" of a > # waiting process: OI! you got mail.... > > Then my original answer should have simply been, find a box that > will host FreshPorts that can take the load of processing 5000 commit > mails in a minute. :-) Good idea! Sorry, but after reading my own message, I've seen it's ambiguous. In my previous message, by "process the queue as soon as a new message arrives", I was referring to the procmail scenario mentioned in a prior message. That is, have procmail deliever each email to a separate file, and process *that* file into FreshPorts as soon as it arrives. In that context, the "queue" is the files on disk. With this strategy, I'm sure a P100 could handle things. -- Dan Langille The FreeBSD Diary - http://www.freebsddiary.org/ NZ ADSL - http://www.unixathome.org/adsl/ NZ Broadband - http://www.unixathome.org/broadband/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012181853.HAA18954>