---
title: "The hidden latency inside your database"
description: "Cloud databases on network-attached storage like EBS pay a network round trip on every disk operation, a cost that became the dominant bottleneck once SSDs made disks ~100x faster than spinning drives."
url: "https://swe.quest/articles/the-hidden-latency-inside-your-database-263d79fde3372538"
canonical: "https://planetscale.com/blog/the-hidden-latency-inside-your-database"
source: "PlanetScale"
published: "2026-11-03"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 8
tags: ["storage-systems","databases","performance","cloud","replication"]
---

# The hidden latency inside your database

A post on [PlanetScale](https://swe.quest/sources/planetscale.md), published 2026-11-03, 8 min read, Opinion. Original: [https://planetscale.com/blog/the-hidden-latency-inside-your-database](https://planetscale.com/blog/the-hidden-latency-inside-your-database)

## Summary

Cloud databases on network-attached storage like EBS pay a network round trip on every disk operation, a cost that became the dominant bottleneck once SSDs made disks ~100x faster than spinning drives. PlanetScale Metal runs databases on local NVMe instead, getting durability from a primary plus at least two replicas across availability zones, with each commit acknowledged by one replica before returning to the client. Reads never cross the network and IOPS are uncapped: an i7i with local NVMe (~300,000 IOPS) cost $551/month versus $1,514 for an r7i with a 16,000-IOPS io2 volume. Workloads whose hot data fits in RAM with low write volume may not need it. Signs you do are frequent cache misses, hitting EBS IOPS limits, or low CPU usage with high latency.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)

## Prerequisites

- cloud block storage basics ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- database replication ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

PlanetScale Metal, AWS EBS, NVMe, Vitess, Postgres, PgBouncer, AWS Nitro

## Related posts

- [Benchmarking NVMe-backed Managed Postgres: PlanetScale and ClickHouse](https://swe.quest/articles/benchmarking-nvme-backed-managed-postgres-planetscale-and-clickhouse-9c60dc3e275ce910.md): ClickHouse · 2026-07-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Databases, Cloud platforms
  On identical AWS r8gd instances with local NVMe and quorum synchronous replication, ClickHouse Managed Postgres outperformed PlanetScale Metal in a pgbench TPC-B-like workload.
- [Separation of storage and compute without a performance tradeoff](https://swe.quest/articles/separation-of-storage-and-compute-without-a-performance-tradeoff-25a1b45d403d8baf.md): Neon · 2025-07-11 · Easy · 6 min read · PostgreSQL, Caching, Performance engineering, Serverless, Storage systems
  Neon's Local File Cache (LFC) sits between Postgres shared buffers and Neon's remote multi-tenant page storage.
- [POSETTE Talk Recap - Postgres Isn't Slow. Your Storage Is](https://swe.quest/articles/posette-talk-recap-postgres-isn-t-slow-your-storage-is-bd5c03e12884ee39.md): ClickHouse · 2026-08-20 · Medium · 7 min read · PostgreSQL, Performance engineering, Storage systems, Replication, Cloud platforms
  PostgreSQL scaling symptoms such as slow UPDATE-heavy ingestion, erratic P95 reads, autovacuum lag, disruptive checkpoints and logical replication lag often share one root cause: storage I/O limits.
- [Postgres on NVMe: performance and the convergence of transactions and analytics](https://swe.quest/articles/postgres-on-nvme-performance-and-the-convergence-of-transactions-and-analytics-6553677f279f656e.md): ClickHouse · 2026-09-21 · Medium · 8 min read · PostgreSQL, Performance engineering, Storage systems, Replication, Analytics & OLAP
  Running Postgres on local NVMe instead of gp3 EBS gave 9.2× more throughput (16,030 vs 1,734 TPS) and UPDATE latency of 4.0 ms vs 36.9 ms in a pgbench benchmark with a 482 GiB dataset about 30× larger than RAM.
- [Benchmarking v5 Droplets: what the numbers say across real workloads](https://swe.quest/articles/benchmarking-v5-droplets-what-the-numbers-say-across-real-workloads-1013ce446a614947.md): DigitalOcean · 2026-11-19 · Medium · 3 min read · Performance engineering, Cloud platforms, Hardware, Databases, Microservices
  DigitalOcean's v5 Droplets on 5th Gen AMD EPYC "Turin" outperformed Dedicated Premium Droplets in every workload tested, with both on the same network-attached Block Storage.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
