frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Website Auditor –> Test your brand's AI visibility, get growth plan

https://website-auditor.io/
1•SpikeyCoder•2m ago•0 comments

Show HN: Web Tools List – browser tools grouped by the job, not the format

https://webtoolslist.com
1•leiships•2m ago•0 comments

Dropbox's Jan 1st 2027 terms of service

https://www.dropbox.com/terms2026
1•simonebrunozzi•4m ago•0 comments

My Dad Died by Suicide. He Left Me with 694 Video Diaries to Explain Why – NYT

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

Show HN: Morse Code Translator – real-time text-to-Morse with audio

https://morsetranslator.me/
1•shaliji•8m ago•0 comments

RunMyWealth

https://runmywealth.com/
1•Thecompunder•12m ago•0 comments

Unit tests mark territory more than squash bugs

https://yosefk.com/blog/unit-tests-mark-territory-more-than-squash-bugs.html
1•luu•15m ago•0 comments

Spain Orders Blocks on Archive.today and Its Mirrors

https://reclaimthenet.org/spain-blocks-archive-today-and-mirrors
8•latein•30m ago•1 comments

Free scanner for exposed Supabase data in AI-built apps (Lovable, Bolt, Base44)

https://api.trustboost.dev/free-scan
3•Teocrispin•33m ago•0 comments

Dancing Mania

https://en.wikipedia.org/wiki/Dancing_mania
2•hypnot•33m ago•0 comments

Office Open XML

https://en.wikipedia.org/wiki/Office_Open_XML
2•azhenley•35m ago•0 comments

Here’s How an AI Slowdown An AI Slowdown Could Be Enforced

https://www.wired.com/story/heres-how-an-ai-slowdown-could-actually-work/
3•ent101•37m ago•0 comments

Some Thoughts on the Economics of UPI and MDR

2•pyeri•37m ago•0 comments

AgentSec Audit

https://github.com/hicklax13/agentsec-audit
2•ConnorBHickey13•39m ago•0 comments

OpenAI retiring GPT-5.5 on October 14

https://www.gizmochina.com/2026/09/16/openai-retiring-gpt-5-5-on-october-14-you-may-need-to-updat...
2•f055•41m ago•0 comments

SpriteIt – Feature Rich, Re-designed 2D/3D SpriteSheet Maker

https://ssstand.itch.io/spriteit
2•ssstand•46m ago•1 comments

Seven, Forever

https://github.com/02zerocool/truth-benchmark
2•o2zer0cool•54m ago•0 comments

AI art is theft – on artists, mathematicians impact on AI

https://twitter.com/wordgrammer/status/2101429761528455669
3•diginova•56m ago•0 comments

Show HN: ScoreTail, Browser-based sheet music editor with live collaboration

https://scoretail.com
2•tan-z-tan•58m ago•0 comments

Orchestrating Claude Code Agents: The Chief of Staff Pattern

https://asyncdot.com/blog/chief-of-staff-pattern-orchestrating-claude-code-sessions/
3•octalpixel•1h ago•0 comments

Best Websites to Generate Theme for PowerBi

2•AnasKhalid•1h ago•0 comments

Dark Age

https://artagnon.com/art/dark-age
6•artagnon•1h ago•2 comments

Built the first open source Python library – converting Word, Excel to PDF

https://github.com/mini-software/MiniPdf
3•shps951002•1h ago•0 comments

Phylo brings frontier AI to more scientists with open models on Fireworks

https://fireworks.ai/blog/phylo-brings-frontier-ai-to-more-scientists-with-open-models-on-fireworks
3•measurablefunc•1h ago•0 comments

Observations on LLMs for Privacy Work

https://desfontain.es/blog/llms-for-privacy.html
3•luu•1h ago•0 comments

VoltGrid AI: Mitigating GPU cluster dI/dt power surges in software

https://zenodo.org/records/22824778
4•samganyx•1h ago•0 comments

A Man Who Named AI: John McCarthy and the End of the Code–Data Divide

https://nirmalutwani.substack.com/p/week-06-john-mccarthy-the-man-who
3•nutwani91•1h ago•1 comments

U.S. House Passes Bill to Require Am Radio in New Cars

https://www.radioworld.com/news-and-business/headlines/u-s-house-passes-bill-to-require-am-radio-...
4•geox•1h ago•0 comments

Chrome extension to declutter my inbox – might also have cybersecurity upside(?)

https://chromewebstore.google.com/detail/secure-gmail-sender-verif/bmnljdicggpfpkcmjojhkpooddoifada
3•jadonianfactor•1h ago•1 comments

US judge signals rejection of part of TikTok privacy settlement

https://www.reuters.com/legal/government/us-judge-signals-rejection-part-tiktok-privacy-settlemen...
3•1vuio0pswjnm7•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?