Ask HN: Is there a better way to write background tasks?

1 points by tomandberry 9 hours ago

Whenever I have to run some long background python jobs, I usually end up writing redis/thread every time. Can someone please recommend any good products to solve this for me please?

My ideal workflow is

1. Write code for background jobs 2. Push code 3. Get back a function uuid 4. Run as many jobs as I want 5. Receives a webhook whenver a job's done

And it will handle all the concurrency/retry/resources allocation for me.