The bigger they are, the harder they f(etch)all
redislabs.com
redislabs.com
> please use the original title, unless it is misleading or linkbait.
http://ycombinator.com/newsguidelines.htmlThe original title: I Have 500 Million Keys But What’s In My Redis DB?!?
While I think it is possible to use redis well, I'm at a loss for what redis does for the average user, that a decent use of SQL doesn't do. My gut feeling is that if people would spend 30 minutes reading up on how to read a postgres query plan maybe they wouldn't reach for redis so quickly.
As for when to use SQL and when not to, well, that really depends on the problems that you're trying to solve, your preferences and a whole myriad of other considerations. I fully agree there are tasks that can be handled well by more than one solution, while others are best tackled with specialized tools.
I understand that it's a judgement call, I'm merely asserting that most people make the wrong judgement because they want to play with new tech.
(You may be right, maybe the main value of redis is as a way to work around stupid corporate/DBA policies? I know in theory I could have a single table key / json value in Postgres, but I've never found a company willing to actually do that. Whereas in Redis it's "no, I can't define a schema for the data, because the tool doesn't have one.")
One example is its lists: http://redis.io/commands#list
Size range
0-49
600-649
...
Why does the range skip from 0-49 to 600-649? I'm not sure I get this.