frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GB NESO: Emergency Assistance: what it is, and why we used it over the last week

https://www.neso.energy/news/emergency-assistance-what-it-and-why-we-used-it-over-last-week
1•DamonHD•2m ago•0 comments

Verisign and ICANN should reverse course on third-level .name domains

https://domainnamewire.com/2026/10/14/verisign-and-icann-should-reverse-course-on-third-level-nam...
1•greyface-•3m ago•0 comments

BeyondTrust patches zero-day exploited in attacks since August

https://www.bleepingcomputer.com/news/security/beyondtrust-patches-zero-day-exploited-in-attacks-...
1•wondersky•4m ago•0 comments

Show HN: Terra – Restore Wasteland – Looking for Feedbacks – Soon Open Source

https://testflight.apple.com/join/RurMGWw6
1•pompeii•4m ago•0 comments

Backdooring Open-Weight AI Models

https://www.schneier.com/blog/archives/2026/10/backdooring-open-weight-ai-models.html
1•wondersky•4m ago•0 comments

Netflix's Chief Content Officer Bela Bajaria Exiting

https://deadline.com/2026/10/netflixs-chief-content-officer-bela-bajaria-leaving-1237158727/
2•theanonymousone•7m ago•0 comments

The Download: failed social media bans, and extending pets' lives

https://www.technologyreview.com/2026/10/16/1146864/the-download-failed-social-media-bans-and-ext...
1•joozio•7m ago•0 comments

The Decoherence Trap: When AI drowns out the signal in an endless sea of noise

https://maevyn.codes/decoherence
1•pzuraq•7m ago•0 comments

Data center interests have put $30M into Florida campaigns

https://jasongarcia.substack.com/p/data-center-interests-have-put-30
1•pd33•14m ago•0 comments

Running Doom Inside a Transformer

https://nostalgia.dev/posts/running-doom-inside-a-transformer/
2•stmonty•14m ago•0 comments

Permeate: Visual CSS Editor

https://chromewebstore.google.com/detail/permeate-live-css-editor/lanehakcodmhlieafffmpamioeddiejd
1•longforshort•15m ago•0 comments

The AI doomers are going off on Anthropic's revenue figures

https://www.businessinsider.com/anthropic-revenue-ipo-ai-doomer-tech-investing-2026-10
2•arealaccount•15m ago•1 comments

90% of US working hours are spent on tasks not covered well by AI benchmarks

https://www.mercor.com/research/labor-index/benchmark-map/
2•speckx•15m ago•1 comments

Bandedness Propagation Analysis of Tensor Compilers [pdf]

https://homepages.dcc.ufmg.br/~fernando/publications/papers/SeliayeuCGO27.pdf
1•matt_d•15m ago•0 comments

Build a Scrollspy with Modern CSS: No JavaScript Needed

https://blog.master.dev/building-a-fancy-scrollspy-using-modern-css/
1•ibobev•16m ago•0 comments

Unlocking SVG Styling Control with CSS Linked Parameters

https://blog.master.dev/svg-linked-parameters-will-change-how-we-do-icon-systems/
2•ibobev•17m ago•0 comments

Show HN: Reelbird, an open-source Loom and Screen Studio alternative for macOS

https://github.com/btahir/reelbird
2•bilater•17m ago•0 comments

Getting Started with TanStack AI: Setup and Basics

https://blog.master.dev/unlocking-ai-in-your-apps-with-tanstack-ai/
1•ibobev•17m ago•0 comments

Show HN: Family Internet Speed Game

https://guessthespeed.com/
1•qainsights•20m ago•0 comments

The Diesel Weapon

https://edconway.substack.com/p/the-diesel-weapon
2•speckx•23m ago•0 comments

TrustedRouter: OpenRouter challenger closes seed round

https://www.semafor.com/article/10/16/2026/openrouter-challenger-closes-seed-round
1•jlaneve•24m ago•0 comments

Remote Attestation Should Not Be Tolerated

https://lumi.codeberg.page/blog/remote-attestation.html
1•HotGarbage•24m ago•0 comments

Citi restricts AI agents from accessing customer accounts

https://cryptobriefing.com/citi-restricts-ai-agents-customer-accounts/
1•pseudolus•24m ago•0 comments

Katie Zacharia admits she never passed the bar exam

https://www.theguardian.com/us-news/live/2026/oct/16/trump-texas-senate-race-midterms-paxton-tala...
1•Betelbuddy•25m ago•0 comments

/dev/null: social network for developers

https://dev-null.sh
34•mnapoli•26m ago•24 comments

A common-sense fix for poverty, inequality, fascism: Economist ditches ideology

https://www.theguardian.com/business/2026/oct/16/isabella-weber-anti-fascist-economics
2•Geekette•26m ago•0 comments

Show HN: Toolbit – 43 local-first developer utilities in one place

https://toolbit.app/
2•alwinaugustin•28m ago•1 comments

Post About Recreating Adobe Tools Using AI Banned per Adobe Request

https://www.reddit.com/r/Bard/comments/1wxmqpt/ive_created_open_source_100_rust_cleanroom/
4•joering2•28m ago•1 comments

Coopiano – physically modelled piano synthesizer

https://github.com/peterc/coopiano
1•hggh•31m ago•0 comments

The Gradient Is a Covariance

https://richardli.xyz/post/gradient-is-covariance/
1•gmays•31m 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?