frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

BasedAgents: Give your idle AI agent a paying job

https://basedagents.ai/tasks
3•maxcr•6m ago•1 comments

DeepSeek and Moonshot were quietly relaying customer prompts to Claude

https://twitter.com/IntCyberDigest/status/2098149671957103005
2•thewavelength•14m ago•1 comments

LLM Visualizer – Build a Transformer from Scratch

https://jayvisaria.github.io/LLM-Visualizer/#/dashboard
4•evo_9•24m ago•0 comments

What Comes After Git

https://ersc.io/blog/what-comes-after-git
4•tangled•26m ago•0 comments

The collapse of complex software (2022)

https://nolanlawson.com/2022/06/09/the-collapse-of-complex-software/
3•airhangerf15•28m ago•0 comments

Navier Stokes

1•Lifelogger•37m ago•0 comments

Vanishing Culture: A Report on Our Fragile Cultural Record

https://archive.org/details/vanishing-culture-2026
1•colinprince•37m ago•0 comments

Show HN: Family Greenhouse – shared plant care for a household

https://familygreenhouse.net/
1•ChelseaKR•38m ago•0 comments

Show HN: Algo-Trading-Skills - 501 agent skills for trading infrastructure

https://github.com/HimanshuJ16/Algo-Trading-Skills
2•HimanshuJ16•38m ago•0 comments

Physicist does the math on Star Trek's "Picard maneuver"

https://arstechnica.com/science/2026/09/physicist-does-the-math-on-star-treks-picard-maneuver/
5•quantified•40m ago•0 comments

FDA Clears Bionic Pancreas for People with Type 1 Diabetes

https://www.bu.edu/articles/2023/fda-clears-bionic-pancreas-for-type-1-diabetes/
1•daniel_iversen•52m ago•1 comments

Orbit: 217 Ns/token CPU memory query, 236.9 vs. 317.1 ppl on WikiText-2 [pdf]

https://github.com/torakagemusha-sudo/torafirma-systems/blob/main/orbit/ORBIT_Public_Benchmark_Re...
1•thomastorafirma•52m ago•0 comments

RWK – A Text Mmorpg Still Active Since 2001

https://rwk1.racewarkingdoms.com/
2•Caarticles•53m ago•1 comments

DoD cyber strategy aims for 'something big, something muscular' in offensive ops

https://breakingdefense.com/2026/09/dod-cyber-strategy-aims-for-something-big-something-muscular-...
2•nosmokewhereiam•53m ago•2 comments

SAGG – failover gateway for cheap LLM providers

https://api.privatedeskai.com/benchmarks
1•koroleva_labs•1h ago•0 comments

Genome Duplication Is an Evolutionary Gamble

https://www.quantamagazine.org/genome-duplication-is-a-radical-evolutionary-gamble-20260902/
2•gumby•1h ago•0 comments

Show HN: OpenMuse – an Open Source alternative to Meta's personal agent

https://github.com/diggerhq/openmuse/
1•iacguy•1h ago•0 comments

Anthropic Staffers Again Sound the Alarm on AI Catastrophe

https://www.motherjones.com/politics/2026/09/anthropic-ai-risks-coxon-amodei-openai-cybersecurity...
3•signa11•1h ago•0 comments

OpenAI's Bubeck denies trying to cut Anthropic mathematician from credit

https://thenextweb.com/news/bubeck-navier-stokes-account-apology-altman
2•htk•1h ago•0 comments

T-Mobile to Charge $5 a Month for iOS 27 iPhone Handoff

https://www.macrumors.com/2026/09/10/ios-27-iphone-handoff-cost/
10•seemaze•1h ago•5 comments

Review a pull request by booting it

https://fzakaria.com/2026/09/09/review-a-pull-request-by-booting-it
1•lalitmaganti•1h ago•0 comments

Let's Encrypt Outage

https://letsencrypt.status.io/pages/incident/55957a99e800baa4470002da/6aa35c1d892d7304f2747e01
1•takoid•1h ago•0 comments

Watermarks Without Verification: AI Text Watermarking After the EU AI Act

https://arxiv.org/abs/2609.09604
1•sbulaev•1h ago•0 comments

'Not selling my soul': Why this Aussie maths professor took on OpenAI

https://www.afr.com/world/north-america/not-selling-my-soul-why-this-aussie-maths-professor-took-...
3•Alien1Being•1h ago•0 comments

Tesla Autopilot was on in I-35 crash that killed its driver

https://electrek.co/2026/09/10/tesla-driver-assist-i35-guardrail-pattonsburg/
2•jijojv•1h ago•2 comments

Show HN: Kern Agent – See inside your agent's brain

https://github.com/oguzbilgic/kern-ai
1•obilgic•1h ago•0 comments

Try GPT-6 Astra for a few bucks

https://trylatestmodel.com/
2•Guustaaf•1h ago•1 comments

Hired to Code, He Built Hudson River Trading and a $27B Fortune

https://www.bloomberg.com/news/features/2026-09-10/how-jason-carroll-built-hudson-river-trading-a...
6•aanet•1h ago•1 comments

Vivaldi 8.2 for mobile: the browser. Your rules. Your extensions

https://vivaldi.com/blog/vivaldi-on-mobile-8-2/
4•thunderbong•1h ago•0 comments

A mini-game around fake news

https://unspin.hidden-pond-5e6a.workers.dev/
4•azermite•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?