Most active commenters
  • jeltz(3)

←back to thread

82 points lsferreira42 | 11 comments | | HN request time: 1.459s | source | bottom
1. pcthrowaway ◴[] No.42201918[source]
The inclusion of Redis timeseries is huge!

This was available for a long time as an extension as part of Redis Stack, but most hosted Redis providers don't make extensions available (I'm assuming due to nuances in Redis's not-quite-open licensing).

If cloud providers which include Redis are now going to include this, it opens up a lot of potential for my use case.

replies(2): >>42202211 #>>42207333 #
2. jeltz ◴[] No.42202211[source]
When do you want to store your time series data in Redis and not a database like TimescaleDB or Clickhouse which is optimized for storage on disk and analytics queries?
replies(1): >>42202223 #
3. rcarmo ◴[] No.42202223[source]
Likely when it's small enough to keep in RAM and you want to do some sort of on-the fly aggregation/correlation.
replies(1): >>42202269 #
4. jeltz ◴[] No.42202269{3}[source]
Then you can usually just store it in the memory of your application. No need to complicate your stack by running another service.
replies(5): >>42202304 #>>42202310 #>>42202952 #>>42205750 #>>42208946 #
5. _joel ◴[] No.42202304{4}[source]
Isn't this just RocksDB?
replies(1): >>42202718 #
6. vrnvu ◴[] No.42202718{5}[source]
Or DuckDB
7. jeremycarter ◴[] No.42202952{4}[source]
Some large IoT systems need ephemeral timeseries.
replies(1): >>42203612 #
8. jeltz ◴[] No.42203612{5}[source]
Which you can store just fine in-memory in a normal data structure. And if you need advanced query capabilities or a query planner there is DuckDB. Using Redis seems like you get most of the disadvantages of having to run a whole database with few of the advantages.
9. pcthrowaway ◴[] No.42205750{4}[source]
When you need to be able to retrieve the timeseries data for some period of time, storing it in the application memory doesn't really work since the application will restart whenever updates are made.

Also, redis timeseries offers the ability to downsample to some defined period which is really handy (and afaik isn't really provided by other timeseries databases) as well as set a retention policy.

10. reconditerose ◴[] No.42207333[source]
It was always, and still is, a license issue. Redis stack had a proprietary license and now Redis has a proprietary license.
11. rcarmo ◴[] No.42208946{4}[source]
your application can consist of multiple processes.