frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

JIT Context OS – Epistemic context runtime for coding agents

https://github.com/wojciechwiesner/jit-context
1•WWiesner•2m ago•0 comments

Show HN: MacDelta – A ChangeLog for Your Mac

https://macdelta.app
1•anand_murugan•4m ago•0 comments

CodeMetrics.CLI for C# projects in VS Code and Visual Studio

https://github.com/quicksln/CodeMetrics.CLI
1•qsln•6m ago•0 comments

TrustNotch – Tamper-evident audit logs for AI agents, verifiable offline

https://trustnotch.com/
1•sandrochekalov•7m ago•0 comments

My first extension with 20 useful features

https://chromewebstore.google.com/detail/digital-shield-tab-suspen/pkonihncnkmbejhhjadaognganhinnhc
1•digitaShida•8m ago•1 comments

Hiring and Firing a DBA

https://www.jmduke.com/posts/hiring-and-firing-a-dba.html
1•Tomte•14m ago•0 comments

The New Hugo at Home Plus a Tour of My Shelves

https://whatever.scalzi.com/2026/09/07/the-new-hugo-at-home-plus-a-tour-of-my-shelves/
1•Tomte•14m ago•0 comments

DeepSeek/Qwen are surprisingly well at generating code for DSCI pipelines

https://chat.deepseek.com/share/jg3hcnatoliqs1ct5i
3•melezhik•14m ago•3 comments

Venus may have been temperate and potentially habitable for most of its history

https://spacedaily.com/t-venus-carbonatite-lava-canali-co2-habitable-climate/
1•bryanrasmussen•14m ago•0 comments

Star Trek 60th Anniversary – National Air and Space Museum

https://airandspace.si.edu/whats-on/events/star-trek-60th-anniversary
1•rbanffy•15m ago•0 comments

Major Math Breakthrough by AI

https://mastodon.social/@tristanbuckmaster/117233413705701198
2•mvrandswe•16m ago•0 comments

GrapheneOS is building its own RCS support to cut Google Messages out

https://www.androidauthority.com/grapheneos-messaging-rcs-support-secure-paste-3708317/
3•the-mitr•18m ago•0 comments

Eiffel Tower employees strike after female staff removed

https://www.google.com/url?q=https://amp.dw.com/en/eiffel-tower-closed-strike-women-hindu/a-79152...
3•Michelangelo11•27m ago•2 comments

Magic-mushroom compound blocks a side effect of chemotherapy in mice

https://www.nature.com/articles/d41586-026-02744-6
3•tzury•29m ago•0 comments

Switching Password Managers in 2026

https://rmondello.com/2026/09/07/switching-password-managers-2026/
2•wrxd•29m ago•0 comments

CivBench: A Long-Horizon Benchmark for Tool-Mediated Agents in Civilization VI

https://arxiv.org/abs/2609.02459
1•taubek•29m ago•0 comments

Agility Robotics reports $1.8M revenue ahead of humanoid SPAC

https://www.therobotreport.com/agility-robotics-reports-18m-revenue-ahead-of-humanoid-spac/
1•raptortech•30m ago•0 comments

Generals – Conquer the live world map

https://generals.lol
2•mshermamatov•31m ago•0 comments

Do tech billionaires dream of shared abundance? We should probably just tax them

https://theconversation.com/do-tech-billionaires-dream-of-shared-abundance-we-should-probably-jus...
8•billybuckwheat•32m ago•0 comments

Show HN: Typebook engage yourself in reading by painstakingly writing every word

https://typebook.duckdns.org/
1•vegnus•32m ago•0 comments

Robot-Use Agents

https://web.mit.edu/phillipi/www/writing/robot-use-agents.html
1•hardmaru•33m ago•0 comments

Autistici.org Domain Taken Down

https://autistici.org
2•oriettaxx•36m ago•1 comments

Web Import Master: rebuild a live web page as a Figma design with auto layout

https://www.figma.com/community/plugin/1630132577257927426
1•evgeniiarts•37m ago•0 comments

Fx2-Cmix-Transformer

https://mattmahoney.net/dc/text.html#0969
1•soltanov•39m ago•0 comments

ToolHive Is Open-Source

https://www.helpnetsecurity.com/2026/09/07/toolhive-open-source-mcp-server-security/
1•noobplus•40m ago•0 comments

AI crawler user-agents are being spoofed to reach cloud metadata endpoints

https://honeylabs.net/blog/spoofed-ai-crawlers-one-client
1•honeylabs•44m ago•0 comments

Where Good Decisions Don't Add Up

https://medium.com/@gurvinder372/article-11-where-good-decisions-dont-add-up-e3a3714792dc
1•gps372•45m ago•0 comments

Navier-Stokes – Tristan Buckmaster [pdf]

https://cims.nyu.edu/~tristanb/statement.pdf
40•procedurecall•46m ago•5 comments

Famous Unsolved Math Problems as Homework(2015)

https://blogs.ams.org/matheducation/2015/05/01/famous-unsolved-math-problems-as-homework/
1•nill0•48m ago•0 comments

'Global reckoning for big tech': Australia to force opt-out of social algs

https://www.theguardian.com/australia-news/2026/sep/08/australia-social-media-algorithm-switch-of...
7•ggm•56m 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?