3 ms·
Yes, but I think a common use case would be scheduling reminders, notifications, and emails for users. Which runs into the millions of scheduled tasks at differ
by jjeaff 7y ago
Yes, but I think a common use case would be scheduling reminders, notifications, and emails for users. Which runs into the millions of scheduled tasks at different intervals pretty quickly.
- Nextgrid 7y agoFor 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...