Skip to content

Comment on Ask HN: Is it feasible to use redis as the only datastore?

Comments

If your data fits in memory and can be modeled on a key/value design, then why not?

A few things you might want to consider:

* depending on the size of your dataset, starting/rebooting redis can take a while. The bigger your dataset is, the longer it takes

* AOF can be a pain to maintain, since you need to allocate enough disk space for it + for when you back it up.

* if you plan to have millions of keys, compressing them isn’t a bad idea.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.