by tptacek · 14y ago · 0 comments
- https://github.com/antirez/redis-timeseries
- ZSET pull request https://github.com/antirez/redis-timeseries/pull/1
- and the resulting "dsl uptime" script I made out of it: https://github.com/thbar/dsl-uptime
Thinking of it, you could probably remove the old value and insert the new (incremented) one, but that seems both slower and non-atomic.