frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Extremely Brief History of PDP Computers

https://entropicthoughts.com/history-of-pdp-computers
1•signa11•10m ago•0 comments

How we detect frontier model misalignment

https://openai.com/index/how-we-detect-frontier-model-misalignment/
1•pretext•10m ago•0 comments

Nim Version 2.4.0 Released

https://nim-lang.org/blog/2026/10/28/nim-240.html
1•keyle•22m ago•0 comments

Business Entrepreneur: Tycoon

https://play.google.com/store/apps/details?id=com.bbelnexgames.businesssimulator.entrepreneur_tyc...
1•Paje_mx•22m ago•0 comments

Hinoki Offensive One: Open Access Cyber Model

https://hinoki.security
1•amanverasia•25m ago•0 comments

If we stop, we lose

https://piccalil.li/blog/if-we-stop-we-lose/
2•gsky•29m ago•0 comments

Canada to invest up to $1.6B in Toronto-based AI company Cohere

https://www.cbc.ca/news/business/canada-cohere-ai-investment-9.7401367
1•Teever•33m ago•0 comments

Plan R: AI Safety by ASICs

https://www.lesswrong.com/posts/n8u3BfqFoGh4jnzpo/plan-r-ai-safety-by-asics
2•neverbeenasked•33m ago•0 comments

Dell workstation with 96GB Nvidia GPU may cost less than graphics card alone

https://videocardz.com/newz/complete-dell-workstation-with-96gb-nvidia-gpu-may-cost-less-than-gra...
3•jacquesm•36m ago•1 comments

Laid off 60 days in: what is the tech industry doing to developers?

https://samueleast.co.uk/playground/laid-off-from-plex-60-days-in
1•isnotchicago•44m ago•0 comments

I Teach at a Business School. It's Time to Shut Them Down

https://www.nytimes.com/2026/10/18/opinion/business-school-mba-harvard-cornell-cambridge.html
4•atomicnature•44m ago•0 comments

Two Kinds of Code Review

https://haydenbleasel.com/writing/two-kinds-of-code-review
1•meetpateltech•44m ago•1 comments

MEPs tell China: Your exports are hurting our industry

https://www.euronews.com/2026/10/29/eu-lawmakers-press-beijing-to-rein-in-exports-during-beijing-...
1•Markoff•45m ago•0 comments

Experimenting with Bindless Textures in WebGPU

https://toji.dev/2026/10/06/webgpu-bindless.html
1•mariuz•53m ago•0 comments

Blockchain analysis firm TRM says North Korea behind Binance crypto theft

https://www.reuters.com/legal/government/blockchain-analysis-firm-trm-says-north-korea-behind-bin...
2•snikolaev•53m ago•1 comments

Otocoustic Emission

https://en.wikipedia.org/wiki/Otoacoustic_emission
2•hettygreen•54m ago•0 comments

Legal exploits may emerge at scale

https://www.felixringe.com/
2•madars•56m ago•0 comments

ChatGPT release notes October 29, 2026

https://help.openai.com/en/articles/6825453-chatgpt-release-notes
3•gjvr•56m ago•0 comments

Anthropic now lets Claude users jump out of plane without parachute

https://www.theregister.com/ai-and-ml/2026/10/27/anthropic-now-lets-claude-users-jump-out-of-plan...
4•GloVin•56m ago•0 comments

Time Dilation in the Movie Project Hail Mary Visualized [video]

https://www.youtube.com/watch?v=8FT-oz9aZU4
1•devy•58m ago•0 comments

Show HN: Korea-data-MCP – Korean public APIs that agents can't misread

https://github.com/YoungsoonLee/korea-data-mcp
1•youngtip•1h ago•1 comments

Keeping the Bonfires Lit

https://www.historytoday.com/archive/out-margins/keeping-bonfires-lit
2•Petiver•1h ago•0 comments

Show HN: Freewheel – Ride a bicycle through the streets of Guwahati

https://noworklabs.com/freewheel
3•the____outcast•1h ago•1 comments

Show HN: ZyVOP – Git Push to Publish on Dev.to, Hashnode, Medium and WordPress

https://zyvop.com/
1•sanjays442•1h ago•0 comments

Trojanized Claude Code Extension Plants an SSH Backdoor

https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
7•elffjs•1h ago•1 comments

Europe Is Aflame, and It's Not Going to Stop

https://www.nytimes.com/2026/10/29/opinion/europe-protests-youth-france.html
1•TMWNN•1h ago•0 comments

Show HN: Gates – My attempt to end free-trial abuse through email aliases

https://github.com/IrondomeDev/GATES
2•YPANDAR•1h ago•1 comments

Seychelles has 58,396 IPv4 addresses per 1000 people, the most per capita

https://en.wikipedia.org/wiki/List_of_countries_by_IPv4_address_allocation
2•jjmarr•1h ago•1 comments

A Claude Code agent's test escaped into my Mac. I only noticed because it talked

https://www.marutpandya.com/posts/2026/10/my-mac-started-reading-json-aloud/
8•mwiki•1h ago•4 comments

Who needs VMs? Run systemd and full Linux desktop apps in gVisor

https://gvisor.dev/blog/2026/09/17/systemd-in-gvisor/
2•philips•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?