logoalt Hacker News

dzongayesterday at 9:32 PM1 replyview on HN

nats jetstream vs say redis streams - which one have people found easier to work with ?


Replies

ViewTrick1002yesterday at 10:37 PM

When I worked with bounded Redis streams a couple of years ago we had to implement our own backpressure mechanism which was quite tricky to get right.

To implement backpressure without relying on out of band signals (distributed systems beware) you need to have a deep understanding of the entire redis streams architecture and how the the pending entries list, consumers groups, consumers etc. works and interacts to not lose data by overwriting yourself.

Unbounded would have been fine if we could spill to disk and periodically clean up the data, but this is redis.

Not sure if that has improved.