Get the latest tech news

Replacing a cache service with a database


Why do we use caches at all? Can databases fully replace them?

Caches solve one important problem: providing pre-computed data at insanely low latencies, compared to databases. Using a full read replica that consumes terabytes of storage just to access a few gigabytes of hot data feels wasteful. Cache services can handle hundreds of thousands of concurrent connections, whereas databases generally don’t scale that way.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of database

database

Photo of cache service

cache service

Related news:

News photo

PG Auto Upgrade – Docker (and K8s) container to auto upgrade your database

News photo

Show HN: Sidequest.js – Background jobs for Node.js using your database

News photo

ICE Is Searching a Massive Insurance and Medical Bill Database to Find Deportation Targets