Re: elegant and effective way for running jobs inside a database

Поиск
Список
Период
Сортировка
От Christopher Browne
Тема Re: elegant and effective way for running jobs inside a database
Дата
Msg-id CAFNqd5WCz0-=DXJyK-6td3j1bZa2TzW0zBpQN=ymV9ob0Vd50w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: elegant and effective way for running jobs inside a database  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: elegant and effective way for running jobs inside a database
Список pgsql-hackers
On Tue, Mar 6, 2012 at 5:01 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Why do we need a ticker?  Just fetch the time of the task closest in the
> future, and sleep till that time or a notify arrives (meaning schedule
> change).

Keep in mind that cron functionality also includes "batch", which
means that the process needs to have the ability to be woken up by the
need to handle some pressing engagement that comes in suddenly.

For some events to be initiated by a NOTIFY received by a LISTENing
batch processor would be pretty slick...
--
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: elegant and effective way for running jobs inside a database
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Command Triggers, patch v11