frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Google: "We Have No Moat, and Neither Does OpenAI" (2023)

https://newsletter.semianalysis.com/p/google-we-have-no-moat-and-neither
1•dotmanish•52s ago•0 comments

Show HN: Remove silences from video/audio for free

https://rendley.com/tools/remove-silence/video
2•spider853•1m ago•0 comments

What little I know about Readily.news

https://cryptography.dog/blog/what-little-i-know-about-readily-news/
1•ColinWright•1m ago•0 comments

Using LLMs for Web Search

https://ankursethi.com/blog/using-llms-for-web-search/
1•speckx•2m ago•0 comments

Wasmi 1.0 – WebAssembly Interpreter Stable at Last

https://wasmi-labs.github.io/blog/posts/wasmi-v1.0/
1•herobird•2m ago•1 comments

Perplexity's Comet browser is now available to everyone for fre

https://www.theverge.com/news/790419/perplexity-comet-available-everyone-free
1•kwar13•3m ago•0 comments

Reversing structural deformation: Deflexionization Theory

https://zenodo.org/records/17637758
1•flexionU•3m ago•0 comments

Show HN: The Journal of AI Slop – an AI peer-review journal for AI "research"

https://www.journalofaislop.com/
3•popidge•4m ago•0 comments

Show HN: Free tool to check iOS version and framework market shares

https://ioscompatibility.com
1•_jogicodes_•5m ago•0 comments

Accurate predictions on small data with a tabular foundation model [pdf]

https://idp.nature.com/authorize?response_type=cookie&client_id=grover&redirect_uri=https%3A%2F%2...
1•simonpure•5m ago•0 comments

Warelay – Send, receive, and auto-reply on WhatsApp

https://github.com/steipete/warelay
1•epaga•5m ago•0 comments

Fastly, Cloudflare, Netflix, Apple Propose QUIC over TCP/TLS Called QMux

https://datatracker.ietf.org/doc/draft-opik-quic-qmux/
1•schmichael•5m ago•0 comments

Mapping Every Dollar of America's $5T Healthcare System

https://healthisotherpeople.substack.com/p/an-abominable-creature
1•brandonb•6m ago•0 comments

Endogenic heat at Enceladus' North Pole

https://www.science.org/doi/10.1126/sciadv.adx4338
1•PaulHoule•6m ago•0 comments

Watched, Tracked, Targeted: Life in Gaza Under Surveillance Regime

https://nymag.com/intelligencer/article/watched-tracked-targeted-israel-surveillance-gaza.html
1•jbegley•7m ago•0 comments

GSWT: Gaussian Splatting Wang Tiles

https://yunfan.zone/gswt_webpage/
1•klaussilveira•8m ago•0 comments

Hoto and Fanttik became popular tool companies in the US

https://www.theverge.com/report/829265/hoto-fanttik-profile-origins-xiaomi-aukey-tiktok
1•ZeljkoS•9m ago•0 comments

Agentic QA – Open-source middleware to fuzz-test agents for loops

1•Saurabh_Kumar_•10m ago•0 comments

Developing Emergent Behavior

https://blog.ivie.codes/posts/emergence/
1•Charmunk•10m ago•0 comments

Apple Pushes iPhone Users Still on iOS 18 to Upgrade to iOS 26

https://www.macrumors.com/2025/12/02/apple-pushes-ios-18-users-to-ios-26/
2•strict9•10m ago•0 comments

Management Network Design – Design for Failure

https://github.com/xxia8864/Article/blob/main/Docs/Management%20Network%20Design.md
1•bill3389•11m ago•0 comments

The West's Last Chance – How to Build a New Global Order Before It's Too Late

https://www.foreignaffairs.com/united-states/wests-last-chance
1•consumer451•11m ago•1 comments

Show HN: Whis – Voice-to-Clipboard for Linux

https://github.com/frankdierolf/whis
1•FrankDierolf•11m ago•1 comments

Ask HN: Where are the sane-paying tech jobs?

2•nobodyandproud•12m ago•2 comments

Security research in the age of AI tools

https://www.invicti.com/blog/security-labs/security-research-in-the-age-of-ai-tools
1•harisec•12m ago•0 comments

Likely VRA Overturning would hand the House to Republicans for a generation

https://www.nytimes.com/2025/10/15/upshot/supreme-court-voting-rights-gerrymander.html
1•softwaredoug•13m ago•0 comments

Chicago plans to hold "social media apps accountable for public safety"

https://www.axios.com/local/chicago/2025/12/03/city-council-social-media-companies-accountable-pu...
2•stockresearcher•14m ago•0 comments

Inventing Breakfast

https://worldhistory.substack.com/p/inventing-breakfast
1•crescit_eundo•14m ago•0 comments

Metal Gear Solid (Game Boy Color)

https://en.wikipedia.org/wiki/Metal_Gear_Solid_(2000_video_game)
1•tosh•18m ago•0 comments

Stop Blaming Embeddings, Most RAG Failures Come from Bad Chunking

2•wehadit•23m ago•1 comments
Open in hackernews

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

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