frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Benchmarking Postgres

https://planetscale.com/blog/benchmarking-postgres
13•samaysharma•7mo ago

Comments

Imustaskforhelp•7mo 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•7mo 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.

transactional•7mo ago
percona/sysbench-tpcc has been subsequently updated to include a stronger disclaimer that it's "TPC-C-like" and doesn't comply with multiple TPC-C requirements. Fingers crossed that this helps stop vendors from doing non-TPC-C benchmarking without realizing it.
wdb•7mo 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•7mo 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•7mo 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•7mo 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.
CoolCold•7mo ago
AFAIR, Neon is basically working over HTTP, while from PlanetScale docs I see "Native MySQL authentication support" and samples assuming usage of native protocols. I don't see the Postgresql part in docs yet, but I guess it's also native protocol without HTTP overhead, which may explain part of the slowness (latency) for Neon systems.

Aloe vera compound shows promise targeting key enzymes in Alzheimer's disease

https://www.sciencedaily.com/releases/2026/02/260206012213.htm
1•GeorgeWoff25•40s ago•0 comments

Show HN: Open-Source "Junior AGI"

https://github.com/dakotalock/holygrailopensource
1•Moriarty2026•56s ago•0 comments

Redemption Game

https://en.wikipedia.org/wiki/Redemption_game
1•downboots•1m ago•0 comments

AI didn't replace my 20 years of experience – it let me use all of it

https://moolame.com/
1•ancientdev•1m ago•0 comments

Last Generation of Coder

https://medium.com/@gogoout/last-generation-of-coder-c62cb306f219
1•gogoout•2m ago•0 comments

Rejected by ilovepdf so created ihatepdf

https://www.ihatepdf.in/
1•manthangupta109•3m ago•0 comments

Freenet Lives and You Can Use It [video]

https://www.youtube.com/watch?v=3SxNBz1VTE0
1•lurk2•3m ago•0 comments

Bolt.new's COO on going from near-shutdown to $40M ARR in 5 months

https://angelina-yang.medium.com/bolt-news-coo-on-why-vibe-coding-is-the-wrong-word-and-what-non-...
1•linamagr•5m ago•0 comments

Show HN: mdnb, a 100% native macOS markdown editor

https://mdnb.app/
1•nicoritschel•5m ago•0 comments

Mdserve 1.0: Markdown Preview for Coding Agents

https://jrfernandez.com/mdserve-1.0/
2•tanelpoder•6m ago•0 comments

Cognitive Terminal Velocity

https://trevoro.net/posts/2026-01-02-software-cognitive-terminal-velocity
1•thinkingkong•8m ago•0 comments

Everyone is now an (underpaid) CTO

https://ossama.is/blog/disparity
1•ossa-ma•9m ago•0 comments

Iconstack

https://iconstack.lovable.app/
1•saikatsg•10m ago•0 comments

ShellScope – open-source flight recorder for transient Windows processes

1•shiks09•10m ago•0 comments

What Bleeds Through

https://futurisold.github.io/2026-02-08-what-bleeds-through/
1•futurisold•13m ago•0 comments

Show HN: Standardized robot brain with hardware safety – 10 patents in 4 days

1•opencxms•15m ago•0 comments

Writing a ledger-CLI Language Server Protocol with Claude

https://www.frdmtoplay.com/ledger-lsp/
1•bsilvereagle•15m ago•0 comments

Puma 3D Printed Multimodality Microscope

https://github.com/TadPath/PUMA
1•o4c•16m ago•0 comments

Ask HN: Suggestions for General Tech forums without AI anxiety

1•AndrewKemendo•18m ago•0 comments

Edsac 1951 (YouTube)

https://www.youtube.com/watch?v=6v4Juzn10gM
1•fanf2•18m ago•0 comments

Low-Vision Programmers Can Now Design 3D Models Independently

https://spectrum.ieee.org/3d-modeling-blind-programmers
1•geox•19m ago•0 comments

Show HN: Try ByteDance's Seedance 2.0 AI video model

https://laike.ai/tools/seedance-2
1•jackson_mile•20m ago•0 comments

AI-Led Job Disruption Will Escalate, While Fears of a Job Loss Are Overstated

https://www.forrester.com/press-newsroom/forrester-impact-ai-jobs-forecast/
1•gmays•20m ago•0 comments

Planning at Meta Is Waterfall

https://k2xl.substack.com/p/planning-at-meta-is-waterfall
2•k2xl•21m ago•1 comments

Epstein Files reveal deeper ties to Scientists than previously known

https://www.nature.com/articles/d41586-026-00388-0
3•ck2•21m ago•1 comments

Balancing Leg(2023)

https://robot-daycare.com/posts/2023-07-18-balancing-leg/
1•o4c•23m ago•0 comments

Fixing Google Sheets: Yahoo Finance Tickers for EU ETFs

https://gionn.net/2026/google-sheets-yahoo-finance-fix/
1•gionn•24m ago•1 comments

Show HN: VideoZero – Generate 2D explainer videos from prompts

https://videozero.ai/
1•prathje•24m ago•0 comments

The $5.5T Paradox: Structural displacement in the GPU/AI infra labor demand?

1•y2236li•25m ago•0 comments

Structural unemployment and the $5.5T data infrastructure bottleneck

1•y2236li•30m ago•0 comments