jacobobryant / biff

A Clojure web framework for solo developers.
https://biffweb.com
MIT License
870 stars 40 forks source link

Use crux as a job queue/task scheduler, maybe #87

Closed jacobobryant closed 2 years ago

jacobobryant commented 3 years ago

Kind of like https://gist.github.com/chanks/7585810 (see also https://news.ycombinator.com/item?id=21536698). May or may not actually be a good idea. But it'd be nice to at least have a cron-equivalent that uses crux for state.

jacobobryant commented 2 years ago

Biff is now a bit more low level in general. no need to provide this; I doubt many will need it. Biff provides helpers for scheduled tasks and transaction listeners. If people outgrow that (e.g. they start using >1 worker for a biff app) then they can add something themselves. (and maybe at that point we could merge it into biff)