Why is writing software with SSDs in mind so undocumented

Posted by z_latent@reddit | hardware | View on Reddit | 100 comments

I've recently gotten quite interested in how SSDs work. I was surprised at how fast they can be, how they are parallel by construction and their read speeds are apparently only \~4x slower than RAM?! (under high-occupancy loads)

But somehow, this seems to be an extremely niche topic. I could seldom find any videos, tutorials, or even books on it. Most information is centered around building PC advice more so than on developing software that takes advantage of them.

I've only recently started to find good sources of information about it, after trying for a while. It's hard to find search terms that actually give useful results.

These all are useful for understanding SSDs themselves, some of you might enjoy it.

But the thing is, while they explain well how the devices work and are designed, none of them actually go concretely into code examples that might be good or bad. It seems clear to be that the assumptions you make for SSDs and HDDs are different, and the code patterns that work best for one may not be optimal for the other. That's what I wanted to learn.

I wish I knew a good book on the topic! Or any other kind of material. SSDs are cool. If you know anything you can share, I'd be really grateful.