News for hackers. Stuff that matters.
Re:Realtime metrics using Redis bitmaps by rubyorchard on Tuesday November 29, 2011 @11:17PM (#3293693)
Great point and looking forward to Lua support in 2.6. GETRANGE and SETRANGE operations also allow buffered writes at the collection time because setting bit to 1 is an idempotent operation. They are particularly attractive in sharded environment where one can perform:

  WATCH
  bits = GETRANGE ...
  bits = bits | buffered_bits
  MULTI
  SETRANGE .... bits
  EXEC

There are no comments on this comment yet.