Hacker News new | ask | show | jobs
by swah 4574 days ago
Redis people think it could be used instead of SQL for some designs:

http://redis.io/topics/twitter-clone

I want to use it in a small project so I can learn the design patterns associated with key-value stores. I'm sure there are good and bad things about using Redis vs Postgres.

But it has to hold my data, so... does it hold my data or not? I'm talking about single box stuff here, of course.

(Of course, I'll just use it and find out myself).

1 comments

That's supposed to showcase redis' features, not to tell you that you should dump Postgres for redis.
Which is a mistake a lot of developers make - trying to replace one data store for another wholesale, and then being surprised when problems arise.
But why not?

Is all data in a database that important? Maybe alternative databses would generate new webapp patterns, like dynamic languages do.