tskrio / seedling

Tasks for Today
https://tskr.io
MIT License
15 stars 7 forks source link

create an event queing sytem #193

Open jacebenson opened 1 year ago

jacebenson commented 1 year ago

when i've run this on serverless infrastructure sometimes the server side processing fails to run.
I'm not saying sending all things to the event queue but things that can be delayed e.g. emailing, creating multiple records, background jobs that you may want to run like fetching data from an endpoint (can't control other's servers) could work much better in a queue.

Then just have a service like https://docs.quirrel.dev/api/cronjob/ or an actual cron job or some other event trigger a processing script to process the oldest unprocessed events