<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb" -->

---
title: On benchmarking — PlanetScale | daily.dev
description: A detailed guide on how to benchmark databases correctly, covering client-server network latency effects, matching hardware resources fairly, workload...
canonical: https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: On benchmarking — PlanetScale | daily.dev
og:description: A detailed guide on how to benchmark databases correctly, covering client-server network latency effects, matching hardware resources fairly, workload...
og:url: https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb
og:image: https://api.daily.dev/og/posts/rfPacvIeb.png
og:image:alt: On benchmarking — PlanetScale
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# On benchmarking — PlanetScale

**[PlanetScale](https://daily.dev/sources/planetscale)** · 14 min read · 0 upvotes · 0 comments

## Summary

A detailed guide on how to benchmark databases correctly, covering client-server network latency effects, matching hardware resources fairly, workload characteristics (read/write ratios, hot vs cold data, uniform vs Zipfian distributions), open vs closed loop testing and coordinated omission, what to measure (throughput and latency percentiles), cache warmup, configuration tuning effects, run-to-run inconsistency, apples-to-apples comparisons, documentation for reproducibility, and common benchmarking mistakes to avoid.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://planetscale.com/blog/on-benchmarking>

## Questions this post answers

### What is coordinated omission in database benchmarking and why does it matter?

Coordinated omission is a failure mode in closed-loop benchmarks where the client waits for a response before sending the next request, so when the database stalls, the client stops issuing new requests too. The benchmark then only records the stalled request and omits the queued work that would have followed, which is especially misleading for tail latency because the missing requests are exactly the ones that would have made p95/p99 look worse.

_daily.dev surfaces practical write-ups like this for engineers building trustworthy latency benchmarks._

### What is the difference between open-loop and closed-loop benchmarking?

A closed-loop benchmark has the client wait for a response before sending the next request, controlling the sequence per connection, which is common in academic and comparative performance testing. An open-loop benchmark fires requests at a fixed pace regardless of how quickly the database responds, more closely resembling production traffic where load arrives independent of database health. Both are useful but for different purposes.

_engineers picking a benchmarking approach can find methodology breakdowns like this on daily.dev._

### Why can two identical AWS EC2 instance types produce different database benchmark results?

Even instances with the same vCPU and RAM specs can differ in raw performance due to underlying CPU generation. Geekbench results for an AWS r7g.2xlarge are about 15% lower than an r8g.2xlarge, despite both having 8 vCPUs and 64 GB RAM, because the newer generation CPU delivers roughly 15% better performance.

_daily.dev helps engineers comparing cloud instance performance keep track of details like this._

## Similar posts on daily.dev

- [Why your database benchmarking data is probably wrong \(and how I fixed mine\)](https://daily.dev/posts/why-your-database-benchmarking-data-is-probably-wrong-and-how-i-fixed-mine--xkluaf2aw) · Red Hat Developer · 0 upvotes · 0 comments
- [Designing Systems That Don’t Break When It Matters Most](https://daily.dev/posts/designing-systems-that-don-t-break-when-it-matters-most-ihqyerzu0) · SD Times · 1 upvotes · 0 comments
- [Database Scaling and Performance Tips](https://daily.dev/posts/database-scaling-and-performance-tips-z0vve0m91) · System Design Codex · 17 upvotes · 0 comments
- [Pitfalls of Benchmarking on Modern Systems](https://daily.dev/posts/pitfalls-of-benchmarking-on-modern-systems-tvk8mrdyb) · Awesome Java Newsletter · 0 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#mysql](https://daily.dev/tags/mysql), [#planetscale](https://daily.dev/tags/planetscale)

[View this post on daily.dev](https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"On benchmarking — PlanetScale","url":"https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb"},"datePublished":"2026-09-10T14:53:17.927Z","dateModified":"2026-10-15T02:22:11.953Z","description":"A detailed guide on how to benchmark databases correctly, covering client-server network latency effects, matching hardware resources fairly, workload...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b2e7bb0f3a021ccea5842cd37fe73de2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b2e7bb0f3a021ccea5842cd37fe73de2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"PlanetScale","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"PlanetScale","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/09515c29cafc45618b3f117eab4fccf8","url":"https://daily.dev/squads/planetscale"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql,mysql,planetscale","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PlanetScale","item":"https://daily.dev/squads/planetscale"},{"@type":"ListItem","position":3,"name":"On benchmarking — PlanetScale"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/on-benchmarking-planetscale-rfpacvieb#faq","mainEntity":[{"@type":"Question","name":"What is coordinated omission in database benchmarking and why does it matter?","acceptedAnswer":{"@type":"Answer","text":"Coordinated omission is a failure mode in closed-loop benchmarks where the client waits for a response before sending the next request, so when the database stalls, the client stops issuing new requests too. The benchmark then only records the stalled request and omits the queued work that would have followed, which is especially misleading for tail latency because the missing requests are exactly the ones that would have made p95/p99 look worse. daily.dev surfaces practical write-ups like this for engineers building trustworthy latency benchmarks."}},{"@type":"Question","name":"What is the difference between open-loop and closed-loop benchmarking?","acceptedAnswer":{"@type":"Answer","text":"A closed-loop benchmark has the client wait for a response before sending the next request, controlling the sequence per connection, which is common in academic and comparative performance testing. An open-loop benchmark fires requests at a fixed pace regardless of how quickly the database responds, more closely resembling production traffic where load arrives independent of database health. Both are useful but for different purposes. engineers picking a benchmarking approach can find methodology breakdowns like this on daily.dev."}},{"@type":"Question","name":"Why can two identical AWS EC2 instance types produce different database benchmark results?","acceptedAnswer":{"@type":"Answer","text":"Even instances with the same vCPU and RAM specs can differ in raw performance due to underlying CPU generation. Geekbench results for an AWS r7g.2xlarge are about 15% lower than an r8g.2xlarge, despite both having 8 vCPUs and 64 GB RAM, because the newer generation CPU delivers roughly 15% better performance. daily.dev helps engineers comparing cloud instance performance keep track of details like this."}}]}
```

