frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Topic2Manim Now Has a UI

https://github.com/mateolafalce/topic2manim
1•lafalce•41s ago•0 comments

SkyCompute – Satellite-Based Cloud Computing Architecture

https://www.dropbox.com/scl/fi/p2kkk9b3bnun9g10zejx8/SKYCOMPUTE.PROJECT.pdf?dl=0j&noscript=1&rlke...
1•pouyam19•2m ago•1 comments

Discontinuing the Teensy at Adafruit

https://blog.adafruit.com/2026/01/12/discontinuing-the-teensy-at-adafruit/
1•ta988•2m ago•0 comments

Apple Apps Will No Longer Receive All New Features Without a Subscription

https://www.macrumors.com/2026/01/13/apple-creator-studio-exclusive-app-features/
1•htk•3m ago•0 comments

PICO-8 Demo from RSync – Demoparty

https://nodeponds-nerdletter.de/pico-8-demo-from-rsync-demoparty-konsumer-modulator/
1•mtlebe•3m ago•0 comments

Love at First Sprite?

https://davidedmiston.com/post/2026/first-sprite/
1•avivby•5m ago•0 comments

The Housing Market Isn't for Single People

https://thewalrus.ca/the-housing-market-isnt-for-single-people/
2•pseudolus•6m ago•0 comments

Graphite, Free online vector editor and procedural design tool

https://graphite.art/
1•achairapart•7m ago•0 comments

Access Is the New API

https://dantelex.com/blog/access-is-the-new-api
1•avivby•8m ago•0 comments

A bounded work queue in C with explicit invariants

https://github.com/Emmanuel326/mutex_condvar
1•Nya-kundi•9m ago•1 comments

A university got itself banned from the Linux kernel

https://www.theverge.com/2021/4/30/22410164/linux-kernel-university-of-minnesota-banned-open-source
1•italophil•11m ago•1 comments

DIY PC maker Framework's desktops succumb to RAM apocalypse

https://www.tomshardware.com/desktops/gaming-pcs/diy-pc-maker-framework-finally-succumbs-to-ram-a...
1•speckx•13m ago•0 comments

MiniJinja is a powerful but minimal dependency template engine for Rust

https://github.com/mitsuhiko/minijinja
1•tosh•14m ago•0 comments

What should you write about on your blog?

https://idiallo.com/blog/what-should-i-write-about
1•coronapl•15m ago•0 comments

No management needed: anti-patterns in early-stage engineering teams

https://www.ablg.io/blog/no-management-needed
1•tonioab•15m ago•0 comments

GenAI turned producing $1M videos into $100 and dead easy

https://drive.google.com/file/d/1HVSrACB1PnlEt2NpuPenMyqIJc0ilCZa/view?usp=sharing
1•bayeslaw•16m ago•1 comments

Hey Sam, where is Stargate Argentina?

https://tickerfeed.net/articles/openai-where-is-stargate-argentina
2•sethops1•19m ago•0 comments

Choosing Learning over Autopilot

https://anniecherkaev.com/choosing-learning-over-autopilot
1•evakhoury•24m ago•0 comments

Tribute: Discover and fund the open source projects your code depends on

https://github.com/jshchnz/tribute
2•jshchnz•26m ago•0 comments

Show HN: LeetCode CLI – Interview timer, solution snapshots,collaborative coding

https://github.com/night-slayer18/leetcode-cli
1•night-slayer•26m ago•0 comments

Show HN: Nogic, Turn codebase into a graph to understand how it fits together

https://marketplace.visualstudio.com/items?itemName=Nogic.nogic
1•davelradindra•26m ago•0 comments

Show HN: Timberlogs – Drop-in structured logging for TypeScript

1•enaboapps•26m ago•0 comments

Ask HN: If you had $10M in the bank, would you still show up to your job?

1•hleumas•27m ago•2 comments

Tenor is shutting down – here's the alternative KLIPY

1•Giviberidze•27m ago•0 comments

The $1B AI Drug Lab That Can't Touch Its Own Data

https://www.distributedthoughts.org/billion-dollar-ai-drug-lab-cant-touch-data/
1•danso•28m ago•0 comments

Maps of cities coloured by street/road/ave/etc.

https://erdavis.com/2019/07/27/the-beautiful-hidden-logic-of-cities/
2•fanf2•28m ago•0 comments

Prosecutors seek death penalty for ex-South Korean president Yoon

https://www.bbc.com/news/articles/cq6vyqq5r0do
2•mdhb•28m ago•0 comments

Nukitori is a Ruby gem for HTML data extraction

https://github.com/vifreefly/nukitori
1•thunderbong•30m ago•0 comments

Show HN: Fluid.sh – Make Infrastructure Safe for AI

https://github.com/aspectrr/fluid.sh
1•aspectrr•30m ago•0 comments

A Benchmarking Framework for Software-Based GPU Virtualization Systems

https://arxiv.org/abs/2512.22125
1•PaulHoule•32m ago•0 comments
Open in hackernews

Ask HN: How can I load test PostgreSQL but avoid changing actual data?

1•LawZiL•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
Load test against a clone instead of a DB whose contents you care about?