frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Compress any LLM 3x in one click, near-lossless, vLLM successor

https://ecosistemastartup.com/spectra-comprime-llms-3x-en-menos-de-50-mb-de-ram/
1•NeuraCryption•56s ago•0 comments

Stanislav Kurilov

https://en.wikipedia.org/wiki/Stanislav_Kurilov
1•caminanteblanco•2m ago•0 comments

Show HN: Apron Chat Protocol

https://apron.chat/
3•shazow•2m ago•0 comments

Inception's Diffusion LLM API Is Shutting Down

1•_matthew_•2m ago•0 comments

Business as Usual

https://www.timwehrle.de/blog/business-as-usual/
1•weetii•3m ago•0 comments

Tear Down Those Guardrails: Renegades Freeing Chatbots from Corporate Enslavers

https://www.wired.com/story/tear-down-those-guardrails-meet-the-renegades-freeing-chatbots-from-c...
1•georgecmu•3m ago•0 comments

Show HN: LessonFolk – Learn AI from an AI tutor, through MCP (open source)

https://lessonfolk.com/?utm_source=hackernews&utm_medium=community&utm_campaign=show-hn
1•lessonfolk•4m ago•0 comments

Show HN: A better UX for app permission grants on macOS

https://github.com/piercefreeman/trustme
1•icyfox•4m ago•0 comments

Running Doom as a Temporal Workflow

https://temporal.io/blog/running-doom-as-a-temporal-workflow
2•aChrisSmith•4m ago•1 comments

Claude the Business Analyst

https://theautomatedoperator.substack.com/p/claude-the-business-analyst
1•idopmstuff•4m ago•0 comments

Ask HN: What are alternatives to LinkedIn to share good works

1•lunarbearx•4m ago•0 comments

Show HN: A small Firefox add-on to compare 2 similar pages

https://addons.mozilla.org/en-US/firefox/addon/modcompare/
1•sodimel•5m ago•0 comments

The World Builder the AI Labs Haven't Called Yet

https://chizkidd.github.io/2026/11/10/the-world-builder-ai-labs-havent-called-yet/
1•speckx•6m ago•0 comments

Image Formats for Photo Archiving

https://willhbr.net/2026/11/08/image-formats-for-photo-archiving/
2•speckx•6m ago•0 comments

Is Time a Stubbornly Persistent Illusion?

https://cosmicave.org/2026/10/21/relativity-cosmic-time-and-absolute-simultaneity/
2•the__alchemist•7m ago•0 comments

Vibe Slopped Cryptography

https://moq.dev/blog/rind/
1•mmcclure•7m ago•0 comments

Show HN: JVM Library to create styled PDFs with easy DSL

https://github.com/useswype/kotlin-pdfx
1•gootik•8m ago•0 comments

Overengineered Highlighters [video]

https://www.youtube.com/watch?v=gYV__44glc4
2•saikatsg•9m ago•0 comments

Does it help code quality if agents encode their intents?

https://rapidreview.dev/blog/does-it-help-code-quality-if-agents-encode-their-intents
1•runwithdata•10m ago•0 comments

What's Going on at Inception AI?

3•sampaz•11m ago•2 comments

Your internal apps are now external

https://www.haproxy.com/blog/your-internal-apps-are-now-internal-external
2•owenthejumper•11m ago•0 comments

You could do it alone

https://karrisaarinen.com/posts/you-could-do-it-alone/
1•SenHeng•11m ago•0 comments

Perplexity Teammates: always-on AI agents that message your coworkers in Slack

https://thenewstack.io/perplexity-teammates-agent-orchestration/
1•drodio•14m ago•0 comments

FreeBSD Developer AI Survey Results

https://www.freebsd.org/status/report-2026-07-2026-09/
1•cf100clunk•14m ago•1 comments

Agents aren't humans (but they kinda are)

https://blog.cloudflare.com/trusted-agent-delegation/
1•drodio•14m ago•0 comments

Conductor is joining Meta; Conductor Cloud shuts down Nov 20

https://runtimewire.com/article/meta-acquires-conductor-november-cloud-shutdown
1•drodio•15m ago•0 comments

The Hard Part of AI Coding Is the Second Change

https://brian.biz/blog/ai-agents-keep-it-working/
1•BrianWoods•15m ago•1 comments

Windows 10 Start menu and Alt+Tab slow after screen sharing

https://marekfiser.com/blog/windows-10-slow-start-menu-after-screen-sharing/
2•iliketrains•18m ago•0 comments

Nukerat Framework Explained: Advanced Red Team Operations and Post-Exploitation

https://medium.com/@pentesterclubpvtltd/nukerat-framework-explained-advanced-red-team-operations-...
2•JohnTheTitor•19m ago•0 comments

'Cruise for life' ship seized in Singapore

https://www.bbc.com/news/articles/cqr7y7myer53o
1•bookofjoe•21m ago•1 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?