News for hackers. Stuff that matters.
Re:Realtime Metrics for 128 Million Users with Redis: 50ms +... by kijin on Saturday March 24, 2012 @12:10AM (#3748454)
Redis stores everything in RAM, and RAM is not as cheap as disk. Adding GB's of RAM every week will quickly get rather expensive. But I guess you could dump old data to disk and load it back to Redis only when you need it. It might even compress well, depending on what the metrics track.
Re:Realtime Metrics for 128 Million Users with Redis: 50ms +... by ewb on Saturday March 24, 2012 @02:39AM (#3748699)
"But I guess you could dump old data to disk and load it back to Redis only when you need it."

Redis has a mode which does this automatically I believe (and it's the default if I remember correctly).

Re:Realtime Metrics for 128 Million Users with Redis: 50ms +... by Erwin on Saturday March 24, 2012 @04:05AM (#3748834)
Isn't Redis still single-threaded for queries, but saving in the background? That seems a little risky: you've got your 100 million users setting bits in your bitsets and suddenly everything blocks for 10 seconds while old data is being loaded from disk.
Re:Realtime Metrics for 128 Million Users with Redis: 50ms +... by kijin on Saturday March 24, 2012 @12:23PM (#3749743)
The "virtual memory" feature is now deprecated, I think.