HNHacker News
TopNewBestAskShowJobs

rubyorchard

204 karma · joined March 25, 2011

submissionscomments
rubyorchard··on Realtime metrics using Redis bitmaps
Awesome!
rubyorchard··on Realtime metrics using Redis bitmaps
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
rubyorchard··on Realtime metrics using Redis bitmaps
There is certainly a tipping point between sets and bitsets. Bitsets are far more efficient for storage and for performing unions or intersections for millions of users. For example, for a typical 10% of user base active daily for mobile apps (http://www.avc.com/a_vc/2011/07/301010.html), bit sets will pay off both in storage and performance.

Obviously, each use case is different and for very sparse case, sets would be a better choice.

rubyorchard··on Finally Bitcasa CEO Explains How The Encryption Works
Encryption provides confidentiality in a secure system. Convergent encryption doesn't fit that bill.
rubyorchard··on Java 7 is now available
Too little to show for 5 years.