frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Kimi Introduces Agent Swarm: Let 100 AI Agents Work for You

https://www.kimi.com/blog/agent-swarm.html
1•salkahfi•2m ago•0 comments

My Experience at the North American Haskell Hackathon AmeriHac

https://thedeveloper101.github.io/posts/2026/02/amerihac-experience/
1•internet_points•3m ago•0 comments

Plumber: Open-Source Compliance Scanner for GitLab CI/CD Pipelines

https://github.com/getplumber/plumber
1•diviNeCall•4m ago•0 comments

Feature Proposal: .gitallow – A native allowlist for Git tracking

https://gist.github.com/s-celles/754728bbbe5312300982e2f2045f5f03
1•scls19fr•6m ago•0 comments

Show HN: I built a 20MB PDF editor using Flutter (vs 300MB industry standard)

https://revpdf.com/blog/how-i-built-a-15mb-pdf-editor
2•pawandeepsingh•8m ago•1 comments

The conquest of happiness by Bertrand Russell (1930)

https://gutenberg.org/cache/epub/77894/pg77894-images.html
1•petethomas•8m ago•0 comments

AI Startups and GPUs

1•hpcaitech•10m ago•0 comments

The Software Games: Endless Grind

https://newsletter.manager.dev/p/the-software-game-endless-grind
1•AntonZ234•12m ago•0 comments

Chinese Peptides Are the Latest Biohacking Trend in the Tech World

https://www.nytimes.com/2026/01/03/business/chinese-peptides-silicon-valley.html
1•olalonde•12m ago•0 comments

AI or Not Quiz

https://en.wikipedia.org/wiki/Wikipedia:AI_or_not_quiz
2•ffins•12m ago•0 comments

Large Language Model Reasoning Failures

https://arxiv.org/abs/2602.06176
1•mpweiher•13m ago•0 comments

Discord – How to compromise user privacy to 'protect children'

https://skids.fail/discord-how-to-compromise-user-privacy-to-protect-children/
1•tufo•13m ago•0 comments

AI helps scam centers evade crackdown in Asia, dupe more victims

https://www.bloomberg.com/news/articles/2026-02-09/ai-helps-scam-centers-evade-clampdown-in-asia-...
1•teleforce•14m ago•0 comments

Simulation and Modelling to Understand Change lecture notes

https://bookdown.org/manuele_leonelli/SimBook/index.html
1•hamburgererror•19m ago•0 comments

The age of the AI boss is coming – more devious than humans

https://www.thetimes.com/business/economics/article/the-age-of-the-ai-boss-is-coming-more-devious...
1•petethomas•19m ago•0 comments

We Should Separate Memorization from Copyright

https://arxiv.org/abs/2602.08632
1•50kIters•20m ago•0 comments

Show HN: User trust monitoring based on explicit vouch/denounce declarations

https://github.com/onurkanbakirci/vouch-monitor
1•onurkanbkrc•21m ago•0 comments

Obama on public television on community organizing

https://www.youtube.com/watch?v=iuOGEGz3PmI
1•marysminefnuf•21m ago•0 comments

Most Indians don't read for pleasure – so why are there 100 literature fests?

https://www.theguardian.com/global-development/2026/feb/09/books-india-literature-festivals-readers
1•thunderbong•24m ago•1 comments

Show HN: Nao Open Source Analytics Agent – build context agent as a file system

https://github.com/getnao/nao
3•ClaireGz•25m ago•0 comments

Hypersonica tests Europe's sovereign hypersonic missile prototype

https://www.hypersonica.com/en/news/hypersonica-successful-test/
1•davedx•31m ago•1 comments

ImageJ: Workhorse of Scientific Imaging

https://imagej.net/software/imagej2/
1•jFriedensreich•31m ago•0 comments

PhysLean: Formalising Physics into Lean 4

https://github.com/lean-phys-community/PhysLean
2•leanexplorer•32m ago•0 comments

Telstra to cut 209 jobs from AI joint venture, offshoring work to India

https://www.smh.com.au/business/workplace/telstra-to-cut-209-jobs-from-ai-joint-venture-offshorin...
2•KnuthIsGod•32m ago•0 comments

Nullfs has been merged for Linux 7.0

https://www.phoronix.com/news/Linux-7.0-NULLFS-Namespace
2•jtlebigot•33m ago•1 comments

Show HN: A framework that makes your AI coding agent learn from every session

https://github.com/KaimingWan/oh-my-claude-code
4•QuantumLeapOG•37m ago•1 comments

How the GNU C Compiler became the Clippy of cryptography

https://www.theregister.com/2026/02/09/compilers_undermine_encryption/
1•pjmlp•37m ago•0 comments

I guess we're doing Moon factories now

https://caseyhandmer.wordpress.com/2026/02/10/i-guess-were-doing-moon-factories-now/
1•Klaster_1•39m ago•0 comments

What is this and why do people do it?

1•Lukem121•42m ago•0 comments

Show HN: Running a public CORS proxy on the open internet for 4 years

https://corsproxy.io/
1•mariusbolik•42m ago•0 comments
Open in hackernews

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

1•LawZiL•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Load test against a clone instead of a DB whose contents you care about?