frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Benchmarking Postgres

https://planetscale.com/blog/benchmarking-postgres
12•samaysharma•8h ago

Comments

Imustaskforhelp•8h ago
Planetscale... is an interesting company. They have ended their free tier and I am not sure where, but someone pointed out that they are essentially just being a b2b company now in some sense (and they lost quite a bit reputation from indie hackers)

Now after that, they released their nvme drive innovation which I admit I am a little ignorant of.

Now one of the reasons that I hated planetscale was that it was exclusively mysql, Postgresql is good tbh. But can it run postgres extensions?

And also regarding convex using them. Isn't convex itself a database? / a reactive database. I didn't knew that underneath convex used some other database like postgres though I guess Correct me if I am wrong but from my last recall, they can also use sqlite etc. too.

Another point I'd like to raise is that alloydb is the cheapest in their benchmark except their own product.

And I wonder if there is some part of the results that they have omitted to be shown as the better product & I'd like to see third party results too tbh.

I'd also love to see it being open source tbh. Neon/Supabase is open source fwiw. The closest open source I could see of planetscale is of https://github.com/planetscale/migration-scripts where its a shell script to migrate from postgres to planetscale and at the time of writing, a recent commit just 36 minutes ago was launched but I guess I'd like to genuinely tweak and self host what makes their postgres better IDK

vvern•7h ago
Folks, for the love of god, please please stop running TPC-C without the “keying time” and calling it “the industry-standard TPCC benchmark”.

I understand there are practical reasons why you might want to just choose a concurrency and let it rip at a fixed warehouse size and say, “I ran TPC-C”, but you didn’t!

TPC-C when run properly is effectively an open-loop benchmark that scales where the load scales with the dataset size by having a fixed number of workers per warehouse (2?) that each issue transactions at some rate. It’s designed to have a low level of builtin contention that occurs based on the frequency of cross warehouse transactions, I don’t remember the exact rate but I think it’s something like 10%.

The benchmark has an interesting property that if the system can keep up with the transaction load by processing transactions quickly, it remains a low contention workload but if it falls behind and transactions start to pile up, then the number of contending transactions in flight will increase. This leads to non-linear degradation mode even beyond what normally happens with an open loop benchmark — you hit some limit and the performance falls off a cliff because now you have to do even more work than just catching up on the query backlog.

When you run without think time, you make the benchmark closed loop. Also, because you’re varying the number of workers without changing the dataset size (because you have to vary something to make your pretty charts), you’re changing the rate at which any given transaction is going to be on the same warehouse. So, you’ve got more contending transactions generally, but worse than that, because of Amdahl’s law, the uncontended transactions will fly through, so most of the time for most workers will be spend sitting waiting on contended keys.

wdb•7h ago
Not sure why you would benchmark AlloyDB/Postgres running on Google Cloud against Planetscale running on AWS? Why not test it against Google Cloud Compute? Typically, there is a good reason why people using a Google Cloud Service
bob1029•7h ago
Seeing latency figures measured in hundreds of milliseconds in the best cases really drives home for me how big of a deal solutions like SQLite can be.

If you took their exact same hardware and put the application+SQLite on the same box, you could literally chop 4 zeroes off these p99 latency figures. NVMe storage is unbelievably fast when it's utilized in the same machine that the application runs on.

jauntywundrkind•6h ago
That's fine if you don't super care about the data. I expect these latency figures in particular would look better if there wasn't any replication (Q/s might not change much though, would be my guess).

> At PlanetScale, we give you a primary and two replicas spread across 3 availability zones (AZs) by default. Multi-AZ configurations are critical to have a highly-available database. The replicas can also be used to handle significant read load.

mhuffman•6h ago
Don't even need SQLite for the speed up, although SQLite is fast. I routinely get blazing fast p99 latency on local hardware from postgres itself.

Using Sun Ray thin clients in 2025

https://catstret.ch/202506/sun-ray-shenanigans/
60•todsacerdoti•1h ago•9 comments

The Fed says this is a cube of $1M. They're off by half a million

https://calvin.sh/blog/fed-lie/
888•c249709•8h ago•358 comments

We've Issued Our First IP Address Certificate

https://letsencrypt.org/2025/07/01/issuing-our-first-ip-address-certificate/
45•soheilpro•1h ago•2 comments

Figma Files Registration Statement for Proposed Initial Public Offering

https://www.figma.com/blog/s1-public/
188•kualto•5h ago•80 comments

Australians to face age checks from search engines

https://ia.acs.org.au/article/2025/australians-to-face-age-checks-from-search-engines.html
13•stubish•1h ago•3 comments

Effectiveness of trees in reducing temperature, outdoor heat exposure in Vegas

https://iopscience.iop.org/article/10.1088/2752-5295/ade17d
62•PaulHoule•4h ago•51 comments

Fakespot shuts down today after 9 years of detecting fake product reviews

https://blog.truestar.pro/fakespot-shuts-down/
52•doppio19•4h ago•34 comments

The Roman Roads Research Association

https://www.romanroads.org/
36•bjourne•4h ago•3 comments

Code⇄GUI bidirectional editing via LSP

https://jamesbvaughan.com/bidirectional-editing/
114•jamesbvaughan•8h ago•33 comments

Feasibility study of a mission to Sedna - Nuclear propulsion and solar sailing

https://arxiv.org/abs/2506.17732
166•speckx•10h ago•58 comments

Ask HN: Who is hiring? (July 2025)

182•whoishiring•10h ago•208 comments

Show HN: Spegel, a Terminal Browser That Uses LLMs to Rewrite Webpages

https://simedw.com/2025/06/23/introducing-spegel/
305•simedw•12h ago•138 comments

Soldier's wrist purse discovered at Roman legionary camp

https://www.heritagedaily.com/2025/06/soldiers-wrist-purse-discovered-at-roman-legionary-camp/155513
17•bookofjoe•3d ago•0 comments

I built something that changed my friend group's social fabric

https://blog.danpetrolito.xyz/i-built-something-that-changed-my-friend-gro-social-fabric/
508•dandano•3d ago•221 comments

Show HN: Core – open source memory graph for LLMs – shareable, user owned

https://github.com/RedPlanetHQ/core
55•Manik_agg•8h ago•24 comments

Muxio: Rust layered stream and RPC toolkit

https://crates.io/crates/muxio
26•zombiej5•3d ago•1 comments

The Hoyle State (2021)

https://johncarlosbaez.wordpress.com/2021/02/04/the-hoyle-state/
42•gone35•6h ago•8 comments

Experience converting a mathematical software package to C++20 modules [PDF]

https://arxiv.org/abs/2506.21654
92•vblanco•11h ago•21 comments

Ask HN: Who wants to be hired? (July 2025)

62•whoishiring•10h ago•168 comments

Building a Personal AI Factory

https://www.john-rush.com/posts/ai-20250701.html
69•derek•3h ago•40 comments

Cua (YC X25) is hiring an engineer

https://www.ycombinator.com/companies/cua/jobs/dIskIB1-founding-engineer-cua-yc-x25
1•GreenGames•8h ago

America's Hot Garbage Problem

https://www.bloomberg.com/graphics/2025-america-hot-garbage-problem-toxic-landfills
37•petethomas•1h ago•9 comments

OpenFLOW – Quickly make beautiful infrastructure diagrams local to your machine

https://github.com/stan-smith/OpenFLOW
269•x0z•18h ago•64 comments

Graph Theory Applications in Video Games

https://utk.claranguyen.me/talks.php?id=videogames
61•haywirez•3d ago•4 comments

Show HN: Jobs by Referral: Find jobs in your LinkedIn network

https://jobsbyreferral.com/
111•nicksergeant•12h ago•53 comments

Voyage of Magellan – Epilogue: Sailor of Eternal Fame

https://analog-antiquarian.net/2025/06/27/epilogue-sailor-of-eternal-fame/
4•tmsbrg•2d ago•0 comments

The wanton destruction of a creative-tech era

https://blog.greg.technology/2025/06/30/fastly.html
56•gregsadetsky•6h ago•10 comments

The Hidden Engineering of Liquid Dampers in Skyscrapers

https://practical.engineering/blog/2025/7/1/the-hidden-engineering-of-liquid-dampers-in-skyscrapers
37•chmaynard•5h ago•8 comments

All Good Editors Are Pirates: In Memory of Lewis H. Lapham

https://www.laphamsquarterly.org/roundtable/all-good-editors-are-pirates
54•Caiero•2d ago•8 comments

Show HN: HackerNewt - Breadth-first exploring HN client for iOS

https://apps.apple.com/us/app/hackernewt-for-hacker-news/id6448201970
40•hnand•9h ago•21 comments