| От | auxsvr@gmail.com |
|---|---|
| Тема | Re: Design of a reliable task processing queue |
| Дата | |
| Msg-id | 2686461.fDdHjke4Dd@linux обсуждение исходный текст |
| Ответ на | Design of a reliable task processing queue (Alex Burkhart <burkharta77@gmail.com>) |
| Список | pgsql-general |
On Saturday, 18 January 2025 12:44:07 EET Alex Burkhart wrote: > Hey team, > > I'm looking for help to organize locks and transaction for a reliable task > queue. > > REQUIREMENTS > > 1. Pending actions are persisted to a database. There's a trace once they > are done. > 2. Application workers pick actions one by one. At any given time, each > action can be assigned to at most one worker (transaction). > 3. If multiple actions have same "lock_id", only one of them is processed > at the time. That has to be action with smallest id. Why reinvent the wheel and not use production-ready code from projects such as que (Ruby), pgqueuer (Python)? -- Regards, Peter
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера