News for hackers. Stuff that matters.
Re:The Great Redis Misapprehension by dickeytk on Sunday November 27, 2011 @08:17PM (#3284008)
It's no authoritative source, but I'm obviously not the only one that thinks this: http://www.webdevelopment-blog.com/2011/07/puma-on-redis/
Re:The Great Redis Misapprehension by tabbyjabby on Sunday November 27, 2011 @10:23PM (#3284336)
Why is it more efficient to store everything in individual k-v pairs? Hash tables are certainly more memory efficient, and the difference in CPU efficiency is so slight as to be inconsequential.
Re:The Great Redis Misapprehension by dickeytk on Sunday November 27, 2011 @11:18PM (#3284506)
doh! I got it backwards. You are right that hashes are more efficient: http://redis.io/topics/memory-optimization

However, for this particular problem, the docs do say:

Don't use KEYS in your regular application code. If you're looking for a way to find keys in a subset of your keyspace, consider using sets.

I wonder why they don't suggest hashes?

Re:The Great Redis Misapprehension by tabbyjabby on Monday November 28, 2011 @02:16AM (#3284944)
Because you might want to use sets to group any type of keys, including hashes.