RedisTimeseries vs Streams - Which one is better for real time stock data?

RedisTimeseries vs Streams - Which one is better for real time stock data?

Hello,
It would depend on what type of data you are keeping.
For float values RedisTimeSeries would be ideal as it is tailor-made exactly to do that. It will be fast and very lean on memory. Labels can be used for attributes of the stock and then query ranges using those labels. Downsampling is available as well.
If your data is more complex and doesn’t include only values, you might have to opt for streams.

1 Like