frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

PostgresBench: A Reproducible Benchmark for Postgres Services

https://clickhouse.com/blog/postgresbench
62•saisrirampur•4h ago

Comments

whitepoplar•3h ago
I'm curious to know how PlanetScale Postgres would fare.
karlmush•11m ago
Me too! Were they left out on purpose?
saisrirampur•1m ago
It wasn’t left out on purpose, it was just prioritization, we chose 5 that most commonly came up. Please feel free to submit a PR, it should be pretty straightforward.
schultzer•2h ago
While it’s important to focus on the backend itself, why don’t anyone focus on the clients which talk to the databases, it is there most of an applications problem starts also in regards to performance.
__s•2h ago
Lack of protocol compression is painful with postgres
jelder•14m ago
Untrue since the introduction of zstd support in PostgreSQL 15.
psc007•2h ago
Tldr? Can I use this to benchmark my own CNPG on k8s to see if there is improvement to be made on the deployment?
saisrirampur•2h ago
Yes, you absolutely can. It takes 15 mins to run the benchmark amd get results.
aurareturn•2h ago
I was just looking for something like this. I think there is a lack of benchmarks between Postgres cloud instances across different clouds. They all offer the same features mostly and cost about the same, but we don't know how they perform.
datadrivenangel•2h ago
If I had ~$10,000k to burn, I would give Claude Code an AWS account and this benchmark and have it generate parameter spaces and optimize the configuration for transaction processing by just changing the configuration.
paulddraper•12m ago
You could do an enormous number of things for $10,000k.
cuu508•1h ago
It would be interesting to see vanilla postgres on a VPS and vanilla postgres on a bare metal server included too. I understand it's apples and oranges, but would it be slower, would it be faster, by how much?
nwhnwh•1h ago
It doesn't matter if it is apples and oranges, as long as it is an option customers care about. So, I hope that would be included too.
saisrirampur•4m ago
Good feedback, we will aim to include them in the future.
ahachete•20m ago
My 2 cents:

> Each run lasts 10 minutes, long enough to move past warmup and capture stable throughput

But short enough not to show the effect of checkpoints (which is quite noticeable). It's not representing a realistic workload. I'd use at the very least 30mins with checkpoint_timeout=5mins so you get at least 6 checkpoint cycles.

> We report average TPS, average latency, P95 latency, and P99 latency

Unless I'm mistaken, only average TPS is reported, but not TPS over time. Again, it varies a lot (especially due to checkpoints!) and you need variation over time to understand patterns and determine SLAs.

> We tested two scale factors: 6849 (~100 GB) and 34247 (~500 GB).

I'd set them an order of magnitude apart (100GB and 1TB). 1TB+ is nowadays not unseen and therefore represents a step into the scale path that I believe should also be compared.

> While all services offer high availability, the underlying architectures differ. Some use standby replication, others use shared or distributed storage layers. Since we are focused on single-node compute and storage performance, we tested without HA enabled to isolate that.

So again, it's not realistic. The impact of HA in production is quite measurable in performance, especially if semi-sync is used.

But more importantly, you are comparing systems that are already redundant and highly available (e.g. Aurora, writing six copies of the data) with a single-instance one writing (if I'm not mistaken) to an ephemeral local NVMe. This is watermelons to grapes comparison (I assume HA CH clusters talk over the network for each confirmed transaction; but here they only go to local NVMe).

> Default Postgres configuration

I believe this is a mistake. Postgres must be tuned (at least to a reasonable degree) and try to homogenize the configuration across the tested systems. Otherwise you are not benchmarking Postgres, but rather the conservationism in the decisions of the default configurations of the managed services.

> We did not compare pricing.

So you leave the fun part out?

> Systems included

I miss a self-managed EC2 cluster (with local NVMe) for comparison.

saisrirampur•5m ago
Ack on most points i.e. duration, scale factor (data size) and pricing. We will try incorporating these in the next iterations.

In regards to HA, partly agreed. We are working on adding HA setup as we speak, should be released soon. However note that the local NVMe setup does have backups and WAL-archival to S3, which provides data-durability with RPO of 10s of seconds. Even with HA setup I expect performance difference to be similar across systems (may be slightly lesser), as round-trip to secondary is common across most other services except Neon, whose reliability/availability story hasn’t been a strong area in general.

In regards to default configs, that was intentional as default tuning is a differentiation across services and that needs to be measured. However we plan to add more configurability on postgres tuning in the future.

Appreciate your feedback, super helpful!

karlmush•4m ago
It’s a nice project, but it doesn’t seem like the open-source community has really picked it up yet. It’s been live since May, but there aren’t many GitHub stars so far and contributors.

Pre-2022 Books

https://notes.lorenzogravina.com/musings/pre-2022-books
31•trms•35m ago•16 comments

Unauthorized alert sent to cell phones across Brazil

https://www.cnn.com/2026/06/20/americas/brazil-hackers-unauthorized-alert-latam
64•zdw•3h ago•36 comments

SMPTE Makes Its Standards Freely Accessible

https://www.smpte.org/blog/smpte-makes-its-standards-freely-accessible-openingstandards-library-t...
203•zdw•6h ago•58 comments

A Love Story

https://pudding.cool/2026/06/love-story/
25•simonebrunozzi•2h ago•3 comments

Alice is impatient

https://brooker.co.za/blog/2026/06/19/waiting.html
28•birdculture•2h ago•5 comments

UHF X11: X11 Built for VisionOS and Apple Vision Pro

https://www.lispm.net/apps/uhf-x11/
141•zdw•6h ago•20 comments

Turns Out, There Is a Cabal of Elite Crazies Trying to Control the World

https://www.esquire.com/news-politics/politics/a71619211/peter-thiel-dialog-club-wired-report/
28•throwaway81523•21m ago•4 comments

Not just books: renting a sewing machine from the library can improve democracy

https://www.bbc.com/future/article/20260618-the-weird-and-wonderful-libraries-of-finland
6•sohkamyung•17m ago•0 comments

PostgresBench: A Reproducible Benchmark for Postgres Services

https://clickhouse.com/blog/postgresbench
62•saisrirampur•4h ago•17 comments

DOS Game "F-15 Strike Eagle II" reversing project needs DOS test pilots

https://neuviemeporte.github.io/f15-se2/2026/06/20/needyou.html
179•LowLevelMahn•8h ago•51 comments

Inference cost at scale with napkin math

https://injuly.in/blog/napkin-inference-cost/index.html
37•gmays•4d ago•5 comments

CSSQuake

https://cssquake.com/
434•msalsas•12h ago•89 comments

The Wholesale Plagiarism of Obscure Sorrows

https://waxy.org/2026/06/the-wholesale-plagiarism-of-obscure-sorrows/
295•ridesisapis•5h ago•126 comments

Semiconductor Lifeline Keeps Fighter Jets in the Air

https://spectrum.ieee.org/phoenix-semiconductors-legacychips-oems
12•rbanffy•4d ago•0 comments

Show HN: StartupWiki – A Free Alternative to Crunchbase

https://startupwiki.tech/
133•shpran•7h ago•38 comments

Tesla allegedly in autopilot mode crashes into Texas house, woman killed

https://abcnews.com/US/tesla-allegedly-autopilot-mode-crashes-texas-house-woman/story?id=134062374
39•malshe•57m ago•26 comments

Show HN: Make PDFs look scanned (CLI or in the browser via WASM)

https://github.com/overflowy/make-look-scanned
66•overflowy•4h ago•33 comments

Bun has an open PR adding shared-memory threads to JavaScriptCore

https://github.com/oven-sh/WebKit/pull/249
99•gr4vityWall•6h ago•163 comments

Supermarket giant Tesco sues VMware for breach of contract

https://www.theregister.com/software/2025/09/03/supermarket-giant-tesco-sues-vmware-for-breach-of...
49•wglb•2h ago•10 comments

The rise of South Korea’s weapons business

https://www.politico.com/news/magazine/2026/06/20/south-korea-weapons-dealer-trump-00959559
88•JumpCrisscross•11h ago•31 comments

Temporary Cloudflare accounts for AI agents

https://blog.cloudflare.com/temporary-accounts/
145•farhadhf•11h ago•87 comments

Show HN: We post-trained a model that pen tests instead of refusing

https://www.argusred.com/cli
61•dk189•9h ago•27 comments

Why has the pointe shoe been so resistant to change?

https://dancemagazine.com/pointe-shoe-innovation/
42•onemind•21h ago•43 comments

Linux Eliminates the Strncpy API After Six Years of Work, 360 Patches

https://www.phoronix.com/news/Linux-7.2-Drops-strncpy
55•simonpure•2h ago•20 comments

Show HN: Tiny – An interpeted dynamic langauge with inline Go native functions

https://github.com/confh/Tiny
22•confis•4h ago•5 comments

Systemd 261 released with systemd-sysinstall, IMDSD, and storagectl

https://www.phoronix.com/news/systemd-261
20•logickkk1•1h ago•7 comments

Show HN: My Windows XP portfolio with working Game Boy and iPod

https://mitchivin.com/
41•mitchivin•3h ago•18 comments

Coding a Brick Tower [video]

https://www.youtube.com/watch?v=DAMiS2PGTEE
10•tobr•1d ago•2 comments

Show HN: Microcrad – Micrograd Reimplemented in C

https://github.com/oraziorillo/microcrad
60•oraziorillo•3d ago•20 comments

AMD will reinstate memory encryption on Ryzen 9000 CPUs via BIOS update in July

https://www.tomshardware.com/pc-components/cpus/amd-will-reinstate-memory-encryption-on-ryzen-900...
107•roboror•3h ago•28 comments