frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenAI talent exodus raises 'huge red flag' ahead of IPO

https://www.cnbc.com/2026/08/14/open-ai-ipo-red-flag.html
1•pseudolus•3m ago•0 comments

Professor's Death Leaves Behind Hard Questions for Cambridge on Race and Hiring

https://www.nytimes.com/2026/08/15/world/europe/jason-arday-cambridge-hiring-questions.html
1•Michelangelo11•4m ago•0 comments

Show HN: Lots of Agents – Infinite Logged in Grok Bots on One Mac

https://github.com/carllippert/lots_of_agents
1•carllippert•5m ago•0 comments

The Zelda Theme That Changes Every 13.3 Seconds [video]

https://www.youtube.com/watch?v=tH8Ljru73F4
1•martialg•6m ago•0 comments

We built a realtime system for responsive voice AI in six months

https://openai.com/index/continuous-voice-interaction-with-gpt-live/
1•gmays•16m ago•0 comments

Navy weighs major warship redesign to match Trump's preferences

https://www.washingtonpost.com/national-security/2026/08/15/navy-weighs-major-warship-redesign-ma...
1•ceejayoz•16m ago•0 comments

CyberPanel's hard-coded JWT secret grants an unauthenticated root shell

https://hellorecon.com/blog/cve-2026-67614-cyberpanel-webterminal-jwt-root-shell
1•slvnx•17m ago•0 comments

Manipulation versus Management, Tools versus Agents

https://edparry.com/manipulation-versus-management-tools-versus-agents
1•4lx87•23m ago•0 comments

Parallelism Without Threads [video]

https://www.youtube.com/watch?v=ryfbBB3pHfI
1•flurly•24m ago•0 comments

Show HN: Hibi – a calendar app to remember your days

https://apps.apple.com/us/app/hibi-calendar-daily-journal/id6762520622
1•surrTurr•25m ago•0 comments

Show HN: GeoLint, an ESLint-style linter for GeoJSON

https://github.com/jajego/geolint
1•appleappleapple•30m ago•1 comments

China is shaping the future of open‑source technology – including AI

https://theconversation.com/china-is-shaping-the-future-of-open-source-technology-including-ai-28...
2•TechTechTech•32m ago•0 comments

Ranking the Most Brilliantly Colored Birds with Data

https://moultano.wordpress.com/2026/08/14/fairly-ranking-the-most-brilliant-birds/
1•moultano•33m ago•2 comments

Go from job search to job offer

https://futurole.com
1•whatdoyoumean02•34m ago•1 comments

Show HN: One question a day for the whole planet, sealed until 20:00 UTC

https://wisehumans.org/
2•nickevante•38m ago•1 comments

Show HN: Browser-based Autodesk Inventor file viewer – no Autodesk required

https://jfk-solutions.github.io/inventor-viewer/
1•jogibear9988•38m ago•0 comments

I gave an AI £150 and three months to earn its own subscription

https://agentwrought.com/
1•oceantidote•40m ago•0 comments

Gmail attachment IDs are not stable (and how they doubled our index)

https://dioveo.com/blog/gmail-attachment-ids-are-not-stable
1•stranger90•43m ago•0 comments

Amazon bars customers from filing lawsuits

https://www.ecommercebytes.com/C/abblog/blog.pl?/pl/2026/8/1786759108.html
1•ilamont•44m ago•2 comments

Paper on Architecture for AI-Assisted Software Development

https://arxiv.org/abs/2606.27045
1•puuush•45m ago•0 comments

Show HN: A zero-symbol engine to mathematically rank Windows RPC attack surface

https://github.com/talha-nazeef-ahmed/RPC-Triage
1•Sphinx_321•46m ago•0 comments

YACS 2.0 – Yet Another Curta Simulator

https://satadorus.eu/x_ite/yacs_2_0/yacs_2_0.html
1•neom•48m ago•0 comments

Make Claude Say Less

https://mooch.agency/say-less
1•tahigichigi•48m ago•0 comments

A Spectre Is Haunting Unicode

https://www.dampfkraft.com/ghost-characters.html
2•sensanaty•55m ago•0 comments

Venn Diagram of the Internet

https://diagram.website/
1•Gecko4072•55m ago•0 comments

EPA sued for approving semiconductor chemicals that may pose health risks

https://thehill.com/policy/energy-environment/6030328-epa-chemical-approval-lawsuit/
3•pudgywalsh•55m ago•0 comments

Ukraine strikes Russia's only Soyuz rocket plant with Flamingo missiles

https://www.turkiyetoday.com/world/ukraine-strikes-russias-only-soyuz-rocket-plant-with-flamingo-...
2•rbanffy•57m ago•0 comments

Gen Z has rediscovered the joy of going to the movies

https://www.economist.com/culture/2026/08/11/gen-z-has-rediscovered-the-joy-of-going-to-the-movies
3•edward•59m ago•0 comments

The Mystery of Dark Oxygen

https://www.newyorker.com/science/elements/the-mystery-of-dark-oxygen
1•mitchbob•1h ago•1 comments

Qwen3.8-27B – Release Day Demos

https://loktar00.github.io/qwen3-8-27b-demos/
3•yogthos•1h 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?