by itamarhaber on 3/22/19, 3:13 PM with 53 comments
by apeace on 3/22/19, 5:54 PM
> Before Streams we needed to create a sorted set scored by time: the sorted set element would be the ID of the match, living in a different key as a Hash value.
I think the sorted set would be a much better choice, because then you could still insert items in the past, like when that admin remembers there was a tennis match last week he never recorded. Same goes for modifying past values, or deleting values. These operations are trivial using a sorted set & hash, not so using streams.
I'm excited for streams and I'm glad Antirez is taking time to blog and evangelize, but this article didn't convince me there's a compelling use-case for streams aside from the Kafka-like use-case.
by drewda on 3/22/19, 10:00 PM
Does anyone have good patterns for joining across entries from two or more Redis streams? This is one of the most interesting aspects of Kafka/Flink/Spark/Storm/etc. Would be useful to be able to develop with streaming joins in Redis playgrounds.
by skybrian on 3/22/19, 5:51 PM
Let's say tennis games are recorded on a piece of paper and entered into the computer later. What is different?
by nicois on 3/24/19, 12:32 AM
by _pmf_ on 3/22/19, 3:44 PM
by skrebbel on 3/22/19, 7:15 PM
I understand that Elasticsearch is a common place to put logs, also because I assume that searching through logs is a common use case, but I wonder whether Redis has particular benefits for this use case. The data structure seems particularly tailored to it (but not so much to searching I guess).
by _pgmf on 3/22/19, 5:50 PM
by reggieband on 3/22/19, 6:50 PM
by erulabs on 3/22/19, 11:08 PM
So far I haven't used it outside of hobby projects for webGL games and such, but it's worked brilliantly, and no Kafka required for hobby async-streaming infrastructure!
Hopefully it's useful to someone out there! https://github.com/erulabs/redis-streams-aggregator