Skip to content

Comment on Redis with an SSD swap – not what you want

Comments

Sensible places to use SSD for Redis: RDB persistence, AOF persistence.

Not sensible places to use SSD: swapfiles.

Swapping to SSD will also trash your SSD, because you are continually rewriting it.

Writing to your SSD will not "trash" it. Even in 2008, Intel drives were rated for 100GB/day for 5 solid years. http://www.anandtech.com/show/2614/4 And controllers have only gotten smarter since then.

Edit: The physical tech has also improved since then with "high-endurance MLC" cells. http://www.anandtech.com/show/5518/a-look-at-enterprise-perf...

Actually SSDs are the best place for a swap file. 4K random reads and writes. If a few random 4K writes is enough to make you worry about your SSD failing then you bought the wrong SSD (i.e. a non Intel or Samsung one).

AboutSource Built by g1lg1l

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