frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

America is snatching many of Europe's best founders

https://www.economist.com/business/2026/11/29/america-is-snatching-many-of-europes-best-founders
1•thm•2m ago•0 comments

MergeSeal: Signed receipts that an agent ran the tests

https://github.com/mergeseal/mergeseal
1•mergeseal•2m ago•0 comments

GitHub Action that shows what a Dependabot PR breaks in your Java code

https://github.com/gilware/bumpwise-action
1•Gilware•3m ago•0 comments

Keep It SSA, Stupid

https://fzakaria.com/2026/11/28/keep-it-ssa-stupid
1•maeln•3m ago•0 comments

I created the perfect framework for hackers who want to experiment with hardware

https://github.com/dariofinocchiaro01/rairos
1•dario-fino•4m ago•1 comments

NextSilicon Arbel RISC-V CPU Shown at SC26 – ServeTheHome

https://www.servethehome.com/nextsilicon-arbel-risc-v-cpu-shown-at-sc26/
1•rbanffy•6m ago•0 comments

Show HN: Eprobe – On-demand Linux eBPF TUI to replace strace under load

https://github.com/eprobe-dev/eprobe
1•dimibe•7m ago•0 comments

Show HN: FinShield – Windows AppContainer sandboxing for mainstream AI agents

https://github.com/finogeeks/finsafe
1•tgbaggio•12m ago•1 comments

Spain's conservatives win election as far-right surge reverberates across Europe

https://www.reuters.com/world/europe/spains-conservatives-win-election-far-right-surge-reverberat...
1•password54321•14m ago•0 comments

Homomorphic Encrypted LLM

https://belfortlabs.com/blog/bel-0
1•vorticalbox•16m ago•0 comments

Memory supercycle boom could become supercycle bust

https://www.blocksandfiles.com/ai-ml/2026/11/23/memory-supercycle-boom-could-become-supercycle-bu...
1•rbanffy•16m ago•0 comments

Isar Aerospace moves forward with Canadian launch site – SpaceNews

https://spacenews.com/isar-aerospace-moves-forward-with-canadian-launch-site/
2•rbanffy•18m ago•0 comments

Rebuilding the Internet from Scratch

https://github.com/plainprince/pwb
1•plainprince•19m ago•1 comments

Software Is Engineering Now

https://rdrn.me/software-engineering/
1•carderne•20m ago•0 comments

Navigating the hardware supercycle and impact on Scaleway pricing

https://www.scaleway.com/en/blog/navigating-the-hardware-supercycle-and-impact-on-scaleway-pricing/
1•speedgoose•20m ago•0 comments

Thief in Canada forgets smart glasses can record him, films own theft

https://www.indiatoday.in/trending-news/story/thief-in-canada-steals-smart-glasses-forgets-they-c...
3•kartik147•22m ago•0 comments

Bel-0 is the first end-to-end encrypted LLM

https://bel.belfortlabs.com/about
1•luczsoma•23m ago•0 comments

Show HN: Open-Source Shadcn Chart Generator

https://github.com/ShadcnDeck/chartcn-shadcn-chart-generator
1•Mark7499•24m ago•0 comments

Open source extension to save AI chats locally or on Obsidian

https://github.com/mdrzn/getAnamne
1•mdrzn•25m ago•0 comments

Gram 3.6.1 Released

https://gram-editor.com/posts/release-3.6.1/
1•birdculture•27m ago•0 comments

I think I have AIpolar disorder

https://kudmitry.com/articles/i-think-i-have-aipolar-disorder/
1•imhoguy•28m ago•1 comments

Show HN: macOS-style QoS for the Linux desktop

https://github.com/dipankar/lindesk
1•dipankarsarkar•28m ago•0 comments

Ask HN: Who is buying GPU spot instances from hyperscalers?

1•datron•30m ago•0 comments

The Fed Has Exposed a $3T Risk in AI Stocks

https://www.forbes.com/sites/jimosman/2026/11/29/the-fed-has-exposed-a-3-trillion-risk-in-ai-stocks/
4•extasetoi12•30m ago•0 comments

What formal verification is in reality

https://formalverification.fail/
1•mpweiher•32m ago•0 comments

Playing chess over IRC from Emacs, even against a bot

https://en.andros.dev/blog/6981043b/playing-chess-over-irc-from-emacs-even-against-a-bot/
1•srijan4•36m ago•0 comments

Alfred Wolfsohn

https://en.wikipedia.org/wiki/Alfred_Wolfsohn
1•thunderbong•36m ago•0 comments

Effective harnesses for long-running agents

https://www.anthropic.com/research/effective-harnesses-for-long-running-agents
1•geoffbp•38m ago•1 comments

I checked who reads my llms.txt. Almost nobody, and most of GPTBot wasn't GPTBot

https://richardlemon.com/who-reads-my-llms-txt-results/
2•mindplunge•42m ago•0 comments

Why put datacenters in space when you could microwave a hole in the ground?

https://www.theregister.com/columnists/2026/11/30/why-put-datacenters-in-space-when-you-could-mic...
2•giuliomagnifico•44m 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?