[development] Queue as a supplement to cron
Neil Drumm
drumm at delocalizedham.com
Tue Mar 13 01:28:08 UTC 2007
On 3/12/07, Boris Mann <boris at bryght.com> wrote:
> On 3/12/07, Neil Drumm <drumm at delocalizedham.com> wrote:
> > On 3/12/07, Boris Mann <boris at bryght.com> wrote:
>
> > > > Is this functionality something that people would like to see in core?
> > > > Search module has a 'queue' of unindexed content, would it benefit
> > > > from having an abstracted queue?
> > >
> > > aggregator (and other, contrib-based aggregation) would benefit from
> > > this as well, I believe.
> >
> > Those happen regularly, so cron is best.
>
> Errr....except for mass numbers of aggregation where one cron run
> can't crank through everything. Queue might not be the right solution,
> but I wanted to point out that current cron architecture is not up to
> the task.
Adding individual items to the queue on cron might be a good pattern.
That is what I'll be doing to import the pile o' XML that changes
every day, which I've got to deal with for a project.
I coded this to run queue items on cron until more than half of the
PHP allowed execution time has been used.
--
Neil Drumm
http://delocalizedham.com
More information about the development
mailing list