Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you consider it important, you have to store it in a real database. No buts. If you don't consider it important, sharded redis works fine.
 help



Redis is a real database. If I wasn’t convinced it could retain data I hand it, I wouldn’t use it in the first place.

Just because it works for your use case right now doesn’t mean there isn’t room for improvements to support others too.


> Redis is a real database

No, redis is a memory cache, with some ACID like features bolt on.

Even real databases have hard time maintaining consistency across nodes. CAP is a real constraint.


> Redis is a real database.

Oh good, then you don't need to do any of the stuff that you suggested to do


These two concerns are not mutually exclusive, the kind of database or data stored within it doesn't give any availability guarantees on its own. Even a single Postgres instance, which I suppose fits your understanding of a real database, is a single point of failure and not a highly available setup: If your database server goes down, clients get errors and the database is thus unavailable.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: