Adam’s Law of Redis. Don't use KEYS. http://wp.me/p1gR5-IJ
-
-
Replying to @therealadam
.
@therealadam I'd say avoid all non-O(1) Redis operations or you've screwed the latency pooch1 reply 0 retweets 0 likes -
Replying to @therealadam
@therealadam I believe Riak's equivalent operation has similarly pathological performance. But at least it has parallelism ;)1 reply 0 retweets 0 likes -
Replying to @bascule
@bascule@therealadam Truth, but it also scans disk, not RAM (unless your entire keyspace fits in the fs cache, w/e)2 replies 0 retweets 0 likes -
Replying to @seancribbs
@seancribbs@therealadam I assume by "it" you mean Redis? And what about !Bitcask in the Riak case?1 reply 0 retweets 0 likes -
Replying to @bascule
@bascule@therealadam it = Riak. In bitcask, it's just as bad as Redis (HT in RAM), but now you have to go across network1 reply 0 retweets 0 likes
@seancribbs @therealadam the wins of going across the network (e.g. read repair/anti-entropy) are a hard sell
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.