frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fake 10 Downing Street listing on Booking.com highlights security failures

https://www.theguardian.com/money/2026/sep/02/fake-10-downing-street-listing-booking-com-highligh...
1•robaato•24s ago•0 comments

PDF4WCAG 1.12: PDF Accessibility Validation for WCAG and PDF/UA

https://pdf4wcag.com/blog-news/pdf4wcag-release-1.12
1•smartdev01•1m ago•1 comments

Can LLMs Discover Scientific Laws in Real and Parallel Worlds?

https://yiyihum.github.io/SciLaws-Bench/
1•root-parent•4m ago•0 comments

Banca Etica Suspends A/I's Account While Condemning the Sanctions Behind It

https://sabot.media/post/banca-etica-statement-english
1•rendx•4m ago•0 comments

1 in 5 job listings are likely to be ghost jobs

https://www.remoterocketship.com/advice/ghost-jobs-report/
1•Lior539•5m ago•0 comments

Pystebin: Executable Pastebin for Python in the Browser

https://www.pystebin.com/
1•BiteCode_dev•5m ago•1 comments

Fomu An FPGA board that fits inside your USB port

https://www.crowdsupply.com/sutajio-kosagi/fomu
1•Bluestein•6m ago•0 comments

Why Pi is my AI coding harness

https://blog.kulman.sk/pi-is-now-my-ai-harness/
2•ig0r0•8m ago•0 comments

SERV – The SErial RISC-V CPU Topics

https://github.com/olofk/serv
1•Bluestein•9m ago•0 comments

When Flowers Keep Time

https://worldsensorium.com/when-flowers-keep-time-how-circadian-rhythms-shape-the-world-of-scent/
1•dnetesn•10m ago•0 comments

Teaching Siri to talk about your favorite walks in Walk Mate

https://emredegirmenci.substack.com/p/ios-27-app-intents-journey
1•emredegirmenci•11m ago•0 comments

"Seeking New Laws"

https://jamesclear.com/great-speeches/seeking-new-laws-by-richard-feynman
1•Bluestein•11m ago•0 comments

Show HN: OS iOS Farm Automation

https://gethandler.ai/ios-farm/
1•agni-ankit•12m ago•0 comments

Code reviewing lone Lisp with Sol and Fable

https://www.matheusmoreira.com/articles/code-reviewing-lone-lisp-with-sol-and-fable
1•matheusmoreira•12m ago•0 comments

My LLM tracer had 93% test coverage and coul

https://github.com/RAJUSHANIGARAPU/agent-lens/releases/tag/v0.3.0
1•rajub4u927•14m ago•0 comments

Introducing Blue Continuum

https://www.bluecontinuummag.com
1•dnetesn•16m ago•0 comments

Show HN: Aeglyn – pay-to-rank leaderboard for MCP servers

https://aeglyn.site
1•racerop•19m ago•0 comments

Howell Ivy, Co-Founder of Exidy and arcade gaming pioneer, has died

https://arcadeblogger.com/2026/06/25/exidys-howell-ivy/
1•icwtyjj•20m ago•0 comments

The open-plan office is a terrible idea (2018)

https://medium.com/signal-v-noise/the-open-plan-office-is-a-terrible-horrible-no-good-very-bad-id...
1•toilet•21m ago•0 comments

LLMs and Self-Referentiality

https://scottaaronson.blog/?p=10046
3•A_D_E_P_T•21m ago•0 comments

I built an embedded disk Redis in Rust that's 20x–40x faster than Redis

https://crates.io/crates/wedb_embed
1•rmw-link•22m ago•0 comments

RDDD – When is a 404 not a 404?

https://request-driven.com
1•romford-digital•26m ago•1 comments

What Makes LLM Tokenization Slow?

https://healeycodes.com/what-makes-llm-tokenization-slow
1•healeycodes•31m ago•0 comments

Resources to Get Good at Soldering?

2•tosmatos•31m ago•0 comments

Operation Midnight Climax

https://en.wikipedia.org/wiki/Operation_Midnight_Climax
3•chistev•32m ago•0 comments

Lekuo SouthBridge Max Puts an AMD B650 Chipset onto a PCIe Card for More I/O

https://www.phoronix.com/review/lekuo-southbridge-max
1•rbanffy•33m ago•0 comments

Choice Notes on History from Notes and Queries (1858)

https://publicdomainreview.org/collection/choice-notes-from-notes-and-queries
1•SamuraiLion•33m ago•0 comments

We Can't Let AI Writing Take over the Internet

https://www.derekthompson.org/p/the-internet-is-drowning-in-ai-slop
2•tcp_handshaker•34m ago•0 comments

Sweden pauses Denmark power cable over EU grid rules

https://www.nordiskpost.com/2026/05/08/sweden-power-cable-dispute-freezes-link-to-denmark/
2•leonidasrup•35m ago•0 comments

Plan 9 Foundation

https://plan9foundation.org/
2•Bluestein•36m ago•0 comments
Open in hackernews

Ask HN: How can I load test PostgreSQL but avoid changing actual data?

1•LawZiL•1y ago
I'm running a load test on my Node.js application and want to simulate realistic write-heavy scenarios to stress test the system — especially the PostgreSQL database.

There's a part of the code that performs UPDATE queries, but during load testing, I don't want these updates to actually change the state of the database. However, I still want the database to experience the full impact of the update — query planning, locking, I/O, WAL writes, etc. — so I can measure how it affects performance under peak load.

Is there a best-practice approach to achieve this?

So far, the most viable option I’ve found is to wrap the UPDATE queries in a transaction and then roll it back — that way, the queries still execute, but the state doesn’t change. Is this the right way to go? Does rollback introduce any performance overhead that would skew my results? Are there better or more realistic alternatives that simulate the full write path without persisting changes?

Thanks in advance!

Comments

sargstuff•1y ago
pgbench[2] / pgreplay-go[0] / python locust[1]

very old school approach:

Misuse sql VIEW[3][4] to generate a temporary parallel table setup. Testing database separate from production database would be 'better', IMHO.

-----

[0] pgreplay-go : https://github.com/gocardless/pgreplay-go

[1] python locust : https://miguel-codes.medium.com/unconventional-load-testing-...

[2] pgbench load testing :

   a) https://medium.com/@c.ucanefe/pgbench-load-test-166bdfb5c75a

   b) https://neon.tech/blog/autoscaling-in-action-postgres-load-testing-with-pgbench

   c) https://hackernoon.com/how-to-create-and-load-test-data-in-postgresql-i41e353m
----------------------------

[3] : a) https://hashrocket.com/blog/posts/materialized-view-strategi...

      b) https://tech.jonathangardner.net/wiki/PostgreSQL/Materialized_Views

      c) https://stackoverflow.com/questions/77603705/what-is-the-use-of-materialized-view-in-postgresql
[4] : https://en.wikipedia.org/wiki/View_(SQL)
LawZiL•1y ago
but again, how can i perform the query, but not actually change the state, i really need the state to keep untouched, but be able to perform the query itself.
MatthiasPortzel•1y ago
> Does rollback introduce any performance overhead that would skew my results?

I would expect it to be the other way around—since the transactions are rolled back and not committed, they would have significantly less performance impact. But I’m working from an academic model of the database.

apothegm•1y ago
Load test against a clone instead of a DB whose contents you care about?