Better HN
topnewbestaskshowjobs
Log inSign up

rubyorchard

204 karma · joined Mar 25, 2011 (15y ago) · 7 submissions

Submissions

1.

When to use STDERR instead of STDOUT(jstorimer.com ↗)

10 points · by rubyorchard · 14y ago · 1 comment

comment 14y ago · link · parent

Awesome!

comment 14y ago · link · parent

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

comment 15y ago · link · parent

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.

5.

Realtime metrics using Redis bitmaps(blog.getspool.com ↗)

184 points · by rubyorchard · 15y ago · 19 comments

comment 15y ago · link · parent

Encryption provides confidentiality in a secure system. Convergent encryption doesn't fit that bill.

comment 15y ago · link · parent

Too little to show for 5 years.