Adam’s Law of Redis. Don't use KEYS. http://wp.me/p1gR5-IJ
.@therealadam I'd say avoid all non-O(1) Redis operations or you've screwed the latency pooch
-
-
@bascule KEYS is nefarious because the pattern scoping makes it seem like it wouldn’t have to scan the entire DB -
@therealadam I believe Riak's equivalent operation has similarly pathological performance. But at least it has parallelism ;) -
@bascule@therealadam Truth, but it also scans disk, not RAM (unless your entire keyspace fits in the fs cache, w/e) -
@seancribbs@bascule I always sell my startups to Google once my dataset exceeds an m1.large#hnproblems -
@therealadam@seancribbs you can't get around Amdahl's law -@shit_hn_says
End of conversation
New conversation -
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.