3 ms·
> Celery requires the system administrator to ensure that there's only a single scheduler in the cluster at a time; the documentation specifically calls that ou
by optimuspaul 8y ago
> Celery requires the system administrator to ensure that there's only a single scheduler in the cluster at a time; the documentation specifically calls that out.
really? I thought all the schedulers did explicit locking. The ones I wrote for redis and mongo certainly did that. I'm pretty sure the other schedulers I saw in the wild did as well.
- eropple 8y ago`celery beat` suggests otherwise. http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html http://docs.celeryproject.org/en/latest/userguide/periodic-t... You have to ensure only a single scheduler is running for a schedule at a time, otherwise you’d end up with duplicate tasks. Using a centralized approach means the schedule doesn’t have to be synchronized, and the service can operate without using locks.