Why Cache Storage is 80x Faster Than Disk Storage (HDDs)
Latency tests reveal in-memory cache storage is over 80times faster than HDDs.
OVERVIEW
In programming and computer science, finding the optimal way to store and retrieve data is a great concern. While there are many different types of storage systems, choosing the best one often times depends on your unique use case.
SCOPE
This post aims to highlight and compare different storage devices and give optimal recommendations based on use cases and limitations of proceeding with each.
As the title suggests, cache memory is 80times faster than Hard Disk Storage. but why, you may ask? or how? please read on.
First off, what is cache memory? and what types of storage exist?
Let's start with some basic definitions of terms used in this article.
- Latency: Latency is simply the time it takes to retrieve data.
- Cache: Cache is an in-memory storage service.
- SSDs: Solid State Drives
- HDDs: Hard Disk Drives
There are a few types of storage services offered consistently across most cloud providers. These include the following:
- Object storage