frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Apex Neural Studio v1.0 – 100% offline local GGUF workstation for Windows

https://github.com/markaboucher61-hash/Apex-Neural-Studio/releases/tag/v1.0.0](https://github.com...
1•markiebRSA•10m ago•0 comments

Pica: Local 2D vector design and animation MCP server (Bun, SVG, raw CDP)

https://github.com/nadeeshafdo/pica
1•nadeeshafdo•11m ago•0 comments

Refusals and Fallback of Anthropic Models

https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback
1•pretext•11m ago•0 comments

SAP hit by hack: source code modified

https://www.techzine.eu/news/security/146116/sap-hit-by-hack-source-code-modified/
2•Brajeshwar•17m ago•0 comments

Open-source lifecycle management for certificates, keys and secrets

https://github.com/cncf/sandbox/issues/530
1•carolineilm•19m ago•0 comments

60 years of APL as an interactive tool

https://mastodon.social/@dyalog/117690390639334597
2•skruger•19m ago•0 comments

Anpaure Pretrain Index

https://twitter.com/anpaure/status/2126423367683363071
3•pretext•20m ago•0 comments

Tencent's AI Drug Outperforms Wegovy at 1/10th Dosage in Animal Tests (Mice)

https://www.chosun.com/english/industry-en/2026/11/26/6TSYNQAYTJGF7ATXYVJQIV2IHU/
3•inglor_cz•25m ago•1 comments

Rice on the Chessboard – Exponential Doubling

https://abster121.github.io/rice-chessboard/
2•Abster1•27m ago•0 comments

Message from a computer science PhD dropout [video]

https://www.youtube.com/watch?v=JU1_x-bIWRc
2•inatreecrown2•31m ago•0 comments

Has AI just cracked Internet encryption? Rumoured 'bombshell' stuns scientists

https://www.nature.com/articles/d41586-026-03875-6
3•pretext•31m ago•0 comments

Women report bleeding and miscarriages after teargas by French police

https://www.theguardian.com/global-development/2026/nov/27/thousands-of-girls-and-women-report-bl...
6•stared•35m ago•1 comments

Proof Automation in a Language

https://www.imperialviolet.org/2026/11/15/proofauto2.html
2•Brajeshwar•38m ago•0 comments

Show HN: Fleetlayer – Framework for running many AI agents on multiple machines

https://fleetlayer.ai/
3•nathan_f77•41m ago•0 comments

I, Robot – part 10: The Avoidable Conflict (2012)

http://philosophicalasides.blogspot.com/2012/12/i-robot-part-10-evitable-conflict.html
2•themgt•45m ago•0 comments

Qivrora – Russian-language online tools platform

https://qivrora.tech
2•avldokuchaev•47m ago•1 comments

Stanford physicist proposes a quantum gravity theory built with GPT-6 Astra

https://mlq.ai/news/stanford-physicist-proposes-a-quantum-gravity-theory-built-with-gpt-6-astra/
1•geox•49m ago•0 comments

All quantum mechanics explanations – Tiny Squirrels Cartoon

https://xkcd.com/3330/
2•beardyw•51m ago•1 comments

AAS on FCC Approval of SpaceX's Orbital Data Center System

https://aas.org/press/spacex-data-center-fcc-approval
1•espeed•52m ago•0 comments

Show HN: First Report, bias and publication timeline for breaking news

https://firstreport.cc/
2•gregjw•54m ago•1 comments

Planetary Boundaries: The safe operating space for humanity

https://www.stockholmresilience.org/research/planetary-boundaries.html
1•bryanrasmussen•54m ago•0 comments

7-Eleven Japan's newest rice balls aren't made entirely of rice

https://soranews24.com/2026/11/28/7-eleven-japans-newest-rice-balls-arent-made-entirely-of-rice/
1•mikhael•56m ago•0 comments

Is WPML Worth It? I Tested It Against an AI Plugin on a WooCommerce Shop [video]

https://www.youtube.com/watch?v=mwNzLRrlWnw
1•leoloso•58m ago•0 comments

ECitizen hackers begin leaking data of 32M Kenyans on dark web

https://nation.africa/kenya/news/ecitizen-hackers-begin-leaking-data-of-32-million-kenyans-on-dar...
2•latein•1h ago•0 comments

Migrate the Reading, Not the Fleet

https://medium.com/@Sounds.Like.LX/migrate-the-reading-not-the-fleet-b2932d8bccf5
1•sounds-like-lx•1h ago•0 comments

Steps for Inventing the Future (2017)

https://www.forbes.com/sites/chunkamui/2017/04/04/7-steps-for-inventing-the-future/
1•e12e•1h ago•1 comments

How WAL mode works in SQLite

https://slicker.me/sqlite/How%20WAL%20mode%20works.html
2•thunderbong•1h ago•0 comments

One Pass to Parse Them All: Fused Parallel CSV Processing

https://al.radbox.org/doi/10.14778/3836663.3836710
3•matt_d•1h ago•0 comments

Show HN: NukeSim – Interactive 3D Nuclear Blast Radius and Fallout Map

https://nuclearsimulator.com/
1•lwj47clip•1h ago•0 comments

Cowork – Self-hosted task queue and orchestration server for AI coding agents

https://github.com/slashman413/cowork
2•slashman413•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?