frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

More agents, fewer blind spots: Inside GitHub Copilot code review

https://github.blog/ai-and-ml/github-copilot/more-agents-fewer-blind-spots-inside-github-copilot-...
1•gmays•1m ago•0 comments

Docker VMM GA

https://www.docker.com/blog/announcing-docker-vmm-ga/
1•soheilpro•1m ago•0 comments

DeepSeek real world data on Ascend-950DT compared to Nvidia Blackwell

https://twitter.com/tphuang/status/2127752857952620561
1•xnhbx•4m ago•0 comments

Ask HN: What long-running tasks do you let your AI machines work on?

1•f646993e074382f•4m ago•0 comments

98.7% on Mind2Web. Rust-based browser agent on pure CDP (no playwright/selenium)

1•aashish16yadav•4m ago•0 comments

Has Substack Stalled?

https://nymag.com/intelligencer/article/substack-hamish-mckenzie-emily-sundberg-max-stein.html
1•cainxinth•5m ago•0 comments

Eight Little Green Men and the 90-Day Clock

https://stevengoodman.net/writing/eight-little-green-men-and-the-90-day-clock/
1•sgoodmanabc•5m ago•0 comments

I made an advent calendar for startups

https://startupadventcalendar.com
1•Pete-Codes•6m ago•0 comments

Web Design / Dev Advent Calendars for 2026

http://adrianroselli.com/2026/12/web-design-dev-advent-calendars-for-2026.html
1•robin_reala•8m ago•0 comments

'Not second screen enough': is Netflix deliberately dumbing down TV? (2025)

https://www.theguardian.com/tv-and-radio/2025/jan/17/not-second-screen-enough-is-netflix-delibera...
1•Michelangelo11•8m ago•0 comments

Show HN: Subscriber.dev – open-source alternative to Loops

https://github.com/kanbn/subscriber.dev
2•henryball•9m ago•0 comments

AI Agents and the End of the 8-to-5 Workday: Work as a Stream

https://mister99.dev/essay/the-stream-of-consciousness/
1•ehnruiz•9m ago•1 comments

Show HN: Codex/Claude-style Tab follow-up prompts for Google Antigravity (Rust)

https://github.com/korisame/agy-ghost-prompt
1•Direfall•10m ago•0 comments

Designing functions for AI isn't the same as designing them for humans

https://www.nijho.lt/post/designing-functions-for-ai/
1•gmays•11m ago•0 comments

How HN: Veilix – Open-source email aliases, no password, passkey recovery

https://github.com/VeilixHQ/Veilix
1•veilix_hq•11m ago•0 comments

Typst Teams

https://typst.app/blog/2026/typst-teams/
1•westring•12m ago•0 comments

CrackBerry Kevin has a new phone he hopes you won't love too much

https://www.begiant.ca/stories/ideas/clicks-communicator-phone-kevin-michaluk
1•flylikeab1rd•14m ago•0 comments

State of Ghost CMS, 57K sites analyzed

https://www.synapsmedia.com/state-of-ghost/2026-november/
1•muratcorlu•14m ago•0 comments

Jensen Huang's Prepared Remarks to Congress

https://punchbowl.news/2026-12-01-statement-of-jensen-huang/
1•notfried•14m ago•0 comments

Smoke signals are fine if you know what you're saying

https://evergreendesign.io/essays/smoke-signals-are-fine-if-you-know-what-youre-saying/
2•violinar•15m ago•0 comments

GTA VI, the Gell-Mann amnesia effect, and presence

https://mattcasmith.net/2026/11/29/gta-vi-gell-mann-amnesia-effect-presence
1•speckx•15m ago•0 comments

Show HN: Kumoss – open-source AI assistant for day-2 OpenTofu and Terraform

https://github.com/InditexTech/kumoss/tree/main
1•luis_valerio•15m ago•0 comments

Show HN: GoModel – an open-source AI gateway – LiteLLM alternative

https://gomodel.enterpilot.io/
2•santiago-pl•16m ago•0 comments

NRC issues licence for first commercial laser enrichment plant

https://world-nuclear-news.org/articles/nrc-issues-licence-for-worlds-first-commercial-laser-enri...
1•PaulHoule•19m ago•0 comments

AI is now the biggest threat to global finance

https://www.ft.com/content/2775844a-b8ee-408f-86a4-48e642521202
3•samizdis•19m ago•1 comments

Show HN: SilenceProof – check an agent's "nobody woke me" claim against its log

https://github.com/UnreachedWorld/silenceproof
2•amirzx•21m ago•0 comments

Show HN: Aamt – a single-file AI format that runs locally and repairs itself

https://github.com/wwhitehead/aamt
3•YareAceNoK•22m ago•0 comments

Show HN: BoldBoi – a beat-'em-up stickman fighter game in the browser

https://boldboi.com/
2•hellojomp•22m ago•0 comments

MOB³ – Web Browser for the Terminal

https://github.com/mob3net/mob3
1•alcalbg•22m ago•0 comments

Advent of AI Slop 2026

https://advent-of-slop.quesma.com/
3•stared•24m 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?