5 ms·
For a handful of fixed intervals however (like notifications), the RabbitMQ solution works well - have one queue for "In an hour", another one for "in a day" an
by Nextgrid 7y ago
For a handful of fixed intervals however (like notifications), the RabbitMQ solution works well - have one queue for "In an hour", another one for "in a day" and so on.
For completely arbitrary intervals you could look at Celery and its "Celery Beat" scheduler, otherwise for a proprietary solution look into Google Cloud Tasks which seems to have a "scheduled_time" parameter (haven't tried it personally though): https://cloud.google.com/tasks/docs/reference/rpc/google.cloud.tasks.v2#google.cloud.tasks.v2.Task https://cloud.google.com/tasks/docs/reference/rpc/google.clo...