zlacker

[return to "Show HN: Hatchet – Open-source distributed task queue"]
1. toddmo+ah[view] [source] 2024-03-08 18:27:07
>>abelan+(OP)
I need task queues where the client (web browser) can listen to the progress of the task through completion.

I love the simplicity & approachability of Deno queues for example, but I’d need to roll my own way to subscribe to task status from the client.

Wondering if perhaps the Postgres underpinnings here would make that possible.

EDIT: seems so! https://docs.hatchet.run/home/features/streaming

◧◩
2. rad_gr+zi[view] [source] 2024-03-08 18:32:05
>>toddmo+ah
If you need to listen for the progress only, try server-sent events, maybe?: https://en.wikipedia.org/wiki/Server-sent_events

It's dead simple: an existence of the URI means the topic/channel/whathaveu exists, to access it one needs to know the URI, data streamed but no access to old data, multiple consumers no problem.

[go to top]