Storing time series statistics in Redis: "After looking at various solutions including using Sorted Sets we decided we could get the best performance/space setup by breaking storing each API hit in a range of hashmaps representing different granularities of time (e.g. minutes, seconds…). Each hashmap would hold a suitable number of values to provide useful data at that granularity."
'via Blog this'