BLPOP is atomic and destructive, so a consumer that crashes between popping and finishing has lost the message with no record that it existed. The * generates an…
The keywords are the same and the execution model is not. A JavaScript promise starts running when it is created; a C# Task from an async method starts…
5.0 shipped in October with a log-structured type and consumer groups. A list has no acknowledgement, which is why a crashed consumer loses the message.
Beanstalkd models a job’s lifecycle explicitly, and the three verbs are the whole API worth knowing. A reserved job returns to the ready queue automatically when its time-to-run…
A promise from fetch resolves for any response the server returned, including a 500, and rejects only when the request could not be made at all. This is…
Reading a stream directly gives every consumer every message. A consumer group distributes entries between members and remembers which ones were handed out and not acknowledged. The pending…
A type-ahead search fires a request per keystroke, and the responses arrive out of order — so the results for “lap” can overwrite the results for “laptop”. Aborting…
Consuming a paginated API meant a while loop with a mutable cursor and a manual termination condition, all of it in the caller. The pagination logic ends up…