Replies: 1 comment 1 reply
-
|
Had the same itch, ended up building one. flashq uses SQLite as the backend, zero dependencies, no broker to set up. from flashq import FlashQ
app = FlashQ()
@app.task
def send_report(user_id):
...
# queue it
result = send_report.delay(user_id=42)
# or schedule it
result = send_report.delay(user_id=42, countdown=3600) # runs in 1 hourSupports retries with exponential backoff, task chaining (Chain/Group/Chord), and middleware hooks. Tasks persist in SQLite so they survive restarts. No dashboard UI yet, but since everything sits in a
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am wondering what's a modern task queue that's lightweight and also couples well with the rest of this full stack template? For both scheduled jobs and queued tasks that arise from the backend.
I have explored arq so far but I find it rather unmaintained recently, lacking strong observability and UI-dashboard visibility into jobs running / scheduled - even though I appreciate its simplicity.
celery requires hacking around for async compatibility - if the code i want to run in worker tasks is async heavy
i was considering prefect + sqlite as a third alternative, but comes with a learning curve
what are others here doing?
Beta Was this translation helpful? Give feedback.
All reactions