Better HN
topnewbestaskshowjobs
Log inSign up

ardentperf

3 karma · joined Feb 5, 2024 (2y ago) · 4 submissions

https://about.me/jeremy_schneider

blog: ardentperf.com

Submissions

comment 1mo ago · link · parent

The second standby isn’t a bad idea, but may not help a lot in this particular situation since it would have the same disk specs and same read iops amplification - so likely the same lag

2.

Run Jepsen against CloudNativePG to see sync replication prevent data loss(ardentperf.com ↗)

1 points · by ardentperf · 1y ago · discuss

comment 2y ago · link · parent

FWIW, this was why the benchmark was executed on two different servers, and repeated three times on each server. The blog includes a graph of TPS at 5-second intervals for all 24 runs and the results are very tight and consistent. I think that specific graph gives reasonable confidence in the reliability of these numbers.

comment 2y ago · link · parent

agree - network storage is slower than local NVMe - the choice was intentional for two reasons

1) the percentages would be different but the basic implications should hold true even with NVMe and 96 cores, as long as we scaled up the data size and workload

2) in addition making it a bit easier to demonstrate what we'd expect to see (there's not really anything surprising here), chose this setup because it's cheap so anyone else could replicate the exact results or play around with the scripts and try variations without having to spend much money. for example, someone on twitter was curious about uuidv7 in a text field - would be easy & cheap to try it out and see what happens - also could easily go to bigger hardware and local NVMe, changing client and row counts

20 years ago when i wanted to benchmark oracle RAC, i had to go out and buy dual-attach firewire drives and that was a hack because who wants to spend their personal vacation money on an old EMC clarion storage array from eBay [i might have bought personally an old sun server or two though!]

size results should be independent of hardware setup, but the perf results are specific to this setup, which is why the post includes detailed specs and scripts for transparency

also, FWIW, most production use cases for databases these days include some kind of high availability which means network involvement in the persistence path - so even when the database is on local NVMe, it's not uncommon to have a hot standby or patroni or something with sync replication