frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Polsia – AI That Runs Your Company While You Sleep

https://polsia.com/live
1•vismit2000•48s ago•0 comments

Ask HN: what’s your favorite line in your Claude/agents.md files?

1•khasan222•1m ago•0 comments

Designing delightful front ends with GPT-5.4

https://developers.openai.com/blog/designing-delightful-frontends-with-gpt-5-4
1•tosh•1m ago•0 comments

Debian's 2026 Election Accidentally Has Only One Candidate

https://plimmie.substack.com/p/debians-2026-election-accidentally
1•limp_diskit•1m ago•0 comments

Show HN: TabPilot – Search across Safari tabs and windows

https://apps.apple.com/cz/app/tabpilot/id6760547850?mt=12
1•bartaxyz•1m ago•0 comments

Unswitch – AI Assistance for doing, not chatting

https://unswitch.com/
1•rcarmo•2m ago•0 comments

Vibegif.lol

https://github.com/vibegif/vibegif.lol
1•planetrenox•5m ago•0 comments

Show HN: Machine learning and AI. Hype not included

https://www.youtube.com/channel/UCS3-Fuwaty1mc8MH6vJTVTw
1•frag•5m ago•0 comments

A European DNS Server Added 1 Second to Every Page Load in Australia

https://hsps.in/post/european-dns-server-added-1-second-to-every-page-load-in-australia/
1•coderhs•13m ago•0 comments

Philip K Dick [Wiki]

https://en.wikipedia.org/wiki/Philip_K._Dick
1•sans_souse•14m ago•0 comments

OpenAI offers $100 in free Codex credits to college students in US and Canada

https://chatgpt.com/codex/students
1•DanielHall•18m ago•0 comments

Construct's official 3D model object

https://www.construct.net/en/blogs/construct-official-blog-1/introducing-constructs-1900
1•AshleysBrain•20m ago•0 comments

Antibrittle Agents

https://www.southbridge.ai/blog/antibrittle-agents
1•vinhnx•23m ago•0 comments

The $3.5T Private Credit Crisis No One Is Talking About [video]

https://www.youtube.com/watch?v=8Qc5U00IiAk
2•u1hcw9nx•24m ago•0 comments

Pizza delivery driver built triple OS where folders SOLIDIFY at 5% capacity

1•Catanamu•26m ago•0 comments

Supermicro co-founder arrested, charged over $2.5B Nvidia GPU sales to China

https://www.theregister.com/2026/03/20/supermicro_nvidia_gpu_charges/
1•u1hcw9nx•30m ago•0 comments

Chinese AI videos used to look fake. Now they look like money

https://www.japantimes.co.jp/commentary/2026/03/20/world/chinese-ai-videos-used-to-look-fake/
1•mikhael•31m ago•0 comments

Now anyone can host a global AI challenge

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-kaggle-community-ha...
1•T-A•32m ago•0 comments

Process vs. Result – Why Some Programmers Resist AI

https://isene.org/2026/01/AI-Coding.html
1•veltas•32m ago•0 comments

Show HN: Historical Atrocities Database

https://claude.ai/public/artifacts/b60a8f2e-cc65-47b2-b852-d5f350182692
1•cittadhammo•33m ago•0 comments

Top FEMA official said he once teleported to Waffle House

https://www.cnn.com/2026/03/20/politics/fema-official-gregg-phillips-violent-rhetoric-teleported-...
1•philbo•35m ago•0 comments

Tikfilmer.com – AI Filmmaking Workflow from Idea to Movie

https://tikfilmer.com/
2•aaron7yu•36m ago•0 comments

Intel Device Modeling Language for virtual platforms

https://github.com/intel/device-modeling-language
1•transpute•39m ago•0 comments

The Anatomy of "1,300 PRs per Week": What Stripe's AI Numbers Mean

https://trwa.substack.com/p/the-anatomy-of-1300-prs-per-week
1•cactaceae•41m ago•1 comments

Torch Geometric Pool – the library for hierarchical GNNs

https://github.com/tgp-team/torch-geometric-pool
1•fmb404•42m ago•1 comments

The links worth reading, chosen by the people you trust on Bluesky and Mastodon

https://murmel.social/
1•doener•42m ago•0 comments

CI CD Python workflow guide

https://thomasreid4.gumroad.com/l/pafvzf
1•tp_claw•50m ago•0 comments

Colosseum gets a fresh look recreates the footprints of long-gone columns

https://apnews.com/article/italy-colosseum-restoration-tourism-rome-032cac4377572b89263247a038395c11
1•noworld•59m ago•0 comments

Google internet service outage reports spike in San Francisco

https://www.sfchronicle.com/bayarea/article/google-fiber-outage-downdetector-22088107.php
3•mikhael•1h ago•0 comments

It is incorrect to "normalize" // in HTTP URL paths

https://runxiyu.org/comp/doubleslash/
3•birdculture•1h ago•0 comments
Open in hackernews

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

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