frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Vibe Coding a (basic) Wispr Clone in 20 minutes

https://zach.codes/p/vibe-coding-a-wispr-clone-in-20-minutes
1•zackify•45s ago•0 comments

You Can't Escape the AI Tax

https://www.theatlantic.com/technology/2026/03/laptop-electronics-ram-ai-tax/686628/
1•samizdis•50s ago•0 comments

Rejected by iloveimg so created ihateimg

https://ihateimg.com/
1•ajdeez•51s ago•0 comments

Ollama Now Runs Faster on Macs Thanks to Apple's MLX Framework

https://www.macrumors.com/2026/03/31/ollama-now-runs-faster-apple-silicon-macs/
1•alwillis•55s ago•0 comments

Google lets you ditch that embarrassing old Gmail username

https://www.androidauthority.com/change-google-account-gmail-username-usa-rollout-3653478/
2•speckx•4m ago•0 comments

Show HN: Lazy-tool: reducing prompt bloat in MCP-based agent workflows

https://github.com/rpgeeganage/lazy-tool
5•like-to-code1•4m ago•0 comments

Fast sandboxed code execution with pre-warmed gVisor pools

https://github.com/shayonj/gvisord
2•shayonj•5m ago•0 comments

From "Show Me" to "Do It": How OdooClaw Takes Action in Your Odoo

https://www.odooclaw.ai/blog/how-odooclaw-takes-action-in-your-odoo
2•oktra_dev•6m ago•0 comments

Show HW: How This Graybeard Built the Fastest and Freest Postgres BM25 Search

https://github.com/timescale/pg_textsearch
2•tjgreen•7m ago•1 comments

Show HN: LeetChess – Solve Chess Puzzles on New Tab Pages

https://chromewebstore.google.com/detail/leetchess/hogbcffpfhmcagfjbpiofabechljdflk
3•0xmattf•8m ago•0 comments

Cohere Transcribe: Speech Recognition

https://cohere.com/blog/transcribe
4•gmays•10m ago•0 comments

Sigil CMS – headless CMS with native multi-tenancy, 22 plugins, GraphQL and CLI

https://github.com/Netrun-Systems/sigil-cms
2•DanielGarza•10m ago•0 comments

Show HN: PhAIL – Real-robot benchmark for AI models. The gap to humans is 20x

https://phail.ai
2•vertix•11m ago•2 comments

Why some American accents have endured – while others have faded away

https://www.vox.com/explain-it-to-me/483964/american-accent-history-identity-southern-new-england...
1•speckx•11m ago•0 comments

AI agent that writes and hot-reloads its own Python modules at runtime

https://github.com/asieltechlab/asiel-core
1•asieltechlab•13m ago•0 comments

Show HN: Wageslave – I quit my soul sucking job to make a game about it

https://cauldron.itch.io/wageslave
3•stonecauldron•15m ago•0 comments

Forth VM and compiler written in C++ and Scryer Prolog

https://github.com/no382001/forth-vm
2•triska•15m ago•0 comments

The Last Fingerprint: How Markdown Training Shapes LLM Prose

https://arxiv.org/abs/2603.27006
1•Er-c•16m ago•0 comments

Interaction Nets

https://en.wikipedia.org/wiki/Interaction_nets
1•tosh•16m ago•0 comments

Build with Veo 3.1 Lite, our most cost-effective video generation model

https://blog.google/innovation-and-ai/technology/ai/veo-3-1-lite/
2•meetpateltech•18m ago•0 comments

Analyzing Geekbench 6 Under Intel's Binary Optimization Tool (Bot)

https://www.geekbench.com/blog/2026/03/analyzing-geekbench-6-under-intels-bot/
1•gloxkiqcza•19m ago•0 comments

Ask HN: What are you building with AI coding agents / tooling?

2•giancarlostoro•19m ago•0 comments

The Overvaluation Trap (2015)

https://hbr.org/2015/12/the-overvaluation-trap
1•toomuchtodo•20m ago•0 comments

I made a 3D Browser to review my HN upvotes [video]

https://www.youtube.com/watch?v=1MiMlorMMJM
2•ppqqrr•22m ago•0 comments

Building a Powerful SIEM with ClickHouse and Clickdetect – Wazuh – SQL Detection

https://medium.com/@me_15345/building-a-powerful-siem-with-clickhouse-and-clickdetect-ae68a4495a76
2•souzo•23m ago•0 comments

How Congress Plans to Take on the Housing Crisis

https://www.wsj.com/economy/housing/how-congress-plans-to-take-on-the-housing-crisis-76bf027c
3•paulpauper•23m ago•2 comments

DuckLineage Extension for DuckDB

https://github.com/ilum-cloud/duck_lineage/
3•tanelpoder•23m ago•0 comments

Are New York's Environmental Concerns Worsening a Housing Shortage?

https://www.nytimes.com/2026/03/28/nyregion/hochul-housing-seqra-environment.html
2•paulpauper•23m ago•0 comments

Create Issues from Slack with Copilot

https://github.blog/changelog/2026-03-30-create-issues-from-slack-with-copilot/
2•mooreds•23m ago•0 comments

What Maxxing Reveals About Life Online

https://www.theatlantic.com/ideas/2026/03/maxxing-tiktok-internet-clavicular/686616/
2•paulpauper•24m ago•0 comments
Open in hackernews

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

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