frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Postgres in Rust: three dead ends before we passed 100% of the regression suite

https://malisper.me/postgres-in-rust-regression-suite/
1•michaelssilver•2m ago•0 comments

Show HN: Let Claude/ChatGPT deploy your sites

https://mcp.so/servers/nippy
1•Jamie452•4m ago•0 comments

I built an AI tool that turns a product URL into a video ad

1•Ugcad•5m ago•0 comments

The Art of PostgreSQL

https://theartofpostgresql.com/
1•ahamez•8m ago•0 comments

Git Koans

https://stevelosh.com/blog/2013/04/git-koans/
2•janalsncm•13m ago•1 comments

Show HN: NearBye – macOS locks itself when your iPhone leaves the room

https://nearbye.gege.mn/
1•sadespresso•16m ago•0 comments

Tesla still has no real plan for Hardware 3 owners promised FSD

https://electrek.co/2026/07/22/tesla-hardware-3-fsd-no-plan-musk-earnings-call/
2•breve•18m ago•0 comments

Is your programming language unreasonable? (2015)

https://fsharpforfunandprofit.com/posts/is-your-language-unreasonable/
1•tosh•19m ago•1 comments

Show HN: A satellite control room from 100% open data, self-hosted in Europe

https://overwatch.confinia.io
2•clement_igonet•21m ago•0 comments

Cruller: Bun's Zig Runtime, Continued on Zig 0.16

https://ziggit.dev/t/cruller-buns-zig-runtime-continued-on-zig-0-16/16734
3•Erenay09•23m ago•0 comments

Google burning through cash with spiralling AI costs

https://www.bbc.com/news/articles/c235n47g8g8o
2•geox•26m ago•0 comments

Show HN: Northstar Browser

3•roschdal•29m ago•0 comments

UAE WPS Payroll Guide

https://adilrashidlone.substack.com/p/the-one-question-that-actually-tells
1•digitaldaddyme•34m ago•0 comments

French President Macron backs effort to ban kids under 15 from social media

https://fortune.com/2026/07/20/french-president-social-media-ban-lawmakers/
8•1vuio0pswjnm7•37m ago•0 comments

July 23 1985, Commodore introduced its Amiga 1000: 10 years ahead of its time

https://dfarq.homeip.net/amiga-1000-ten-years-ahead-of-its-time/
2•giuliomagnifico•39m ago•1 comments

The High Ponytail That Made Lydia Corbett Picasso's Muse

https://www.wsj.com/real-estate/lydia-corbett-picasso-muse-37f2e088
1•petethomas•50m ago•0 comments

The Computer, De-Invented

https://daylightcomputer.com
2•signa11•50m ago•0 comments

Calm Technologies That Excite Me

https://abhi.now/blog/calm-technologies/
2•signa11•52m ago•0 comments

Show HN: Mcpgen – Turn OpenAPI/Postman Specs into Python MCP Servers

https://github.com/JnanaSrota/mcpgen
1•princea747•54m ago•0 comments

Why care about programming languages

https://ebellani.github.io/blog/2026/why-care-about-programming-languages/
3•signa11•55m ago•1 comments

How good is your AI Gateway?

https://www.highflame.com/blog/the-three-moments-your-ai-gateway-can-ruin/
2•sharathr•56m ago•2 comments

Local AI that finds sensitive files on your Mac before attackers do

https://www.vaultsort.com/guardian
2•VaultSort•57m ago•0 comments

AI chatbots can be as effective as humans at emotional support, sometimes better

https://www.manchester.ac.uk/about/news/ai-chatbots-can-be-as-effective-as-humans-at-emotional-su...
1•giuliomagnifico•58m ago•0 comments

SteamForge – Modern PC Gaming Achievement Tracker (No Account Required)

https://steamforge.app/
1•Gengar•58m ago•0 comments

India's solar push idles factories unable to shake reliance on China

https://www.reuters.com/business/energy/indias-solar-push-idles-factories-unable-shake-reliance-c...
2•JumpCrisscross•1h ago•0 comments

Was the Hannibal Directive activated on October 7, 2023?

https://medium.com/freedomofthought/was-the-hannibal-directive-activated-on-october-7-2023-52b42f...
3•raynchad•1h ago•0 comments

Stop pretending billionaires built the future

https://www.elysian.press/p/billionaires-didnt-create-innovation
7•aard•1h ago•0 comments

Warsh Confuses Traders, Makes Them Guess Next Week's Rate Move

https://www.bloomberg.com/news/articles/2026-07-22/warsh-leaves-bond-traders-in-the-dark-on-next-...
1•petethomas•1h ago•0 comments

Show HN: I built my wife an ad-free news brief that fact-checks and flags bias

https://beamwire.ai/
1•malammar•1h ago•2 comments

ProkitQ – Free tools for entrepreneurs with no signup required

https://prokitq.com/tools
2•isurumahesh•1h ago•1 comments
Open in hackernews

Decomposing Transactional Systems

https://transactional.blog/blog/2025-decomposing-transactional-systems
132•pongogogo•1y ago

Comments

karmakaze•1y ago
> commit version is chosen — the time at which the database claims all reads and writes occurred atomically.

This post doesn't mention transaction isolation specifically though it does say "How does this end up being equal to SERIALIZABLE MySQL?" So maybe I'm supposed to consider this post only for 'Every transactional system' running with SERIALIZABLE transaction isolation. I don't particularly care about that. I do care that the database I use clearly states what its isolation names mean in detail and that it does exactly what it says. e.g. I don't expect MySQL SERIALIZABLE to exactly mean the same as any other database that uses the same term.

mjb•1y ago
MySQL Serializable is pretty similar to serializable in other databases, in terms of the observable anomalies. There's a good set of tests here: https://github.com/ept/hermitage

> So maybe I'm supposed to consider this post only for 'Every transactional system' running with SERIALIZABLE transaction isolation.

No, it's a general point about the nature of transactions in DBMSs, and the different implementation choices. As the article says, there are some variations (e.g. MVCC at levels lower than serializable inherently has two 'order' steps).

karmakaze•1y ago
I'm not seeing the mention of two 'order' steps. Are you referring to the larger part of what I quoted?

> MVCC databases may assign two versions: an initial read version, and a final commit version. In this case, we’re mainly focused on the specific point at which the commit version is chosen — the time at which the database claims all reads and writes occurred atomically.

For non-SERIALIZABLE isolation there may be no such "time at which the database claims all reads and writes occurred atomically", which is how I took the rest of the post to mean when running with SERIALIZABLE isolation.

transactional•1y ago
(Hi! Post author here.)

It is written with a lean towards serializable, partly because there's a wide variety of easy examples to pull which all implement serializable, but the ideas mostly extend to non-serializable as well. Non-serializable but still MVCC will also place all of their writes as having happened at a single commit timestamp, they just don't try to serialize the reads there, and that's fine. When looking at non-serializable not MVCC databases, it's still useful to just try to answer how the system does each of the four parts in isolation. Maybe I should have been more direct that you're welcome to bend/break the mental model in whatever ways are helpful to understand some database.

The line specifically about MySQL running at serializable was because it was in the Spanner section, and Spanner is a (strictly) serializable database.

karmakaze•1y ago
Thanks for the clarifications and diagrams. I can see how using something like Spanner from the outset makes sense to use and stick with serializable isolation. With other SQL dbs, I've mostly seen repeatable read, read committed, and even read uncommitted used in the name of performance. Read committed works fine but you have to design everything for it from the start with thoughtful write and read sequences.

Moving to serializable should be easy but isn't in the case of Spanner and the like because you can't make 100+ of sub-millisecond queries to respond to an API request if that's how your app evolved.

The way I imagine the future is to bring the code closer to the data like stored procedures, but maybe in a new way like modern languages compiled to run (and if necessary retry) in a shard of the database.

mjb•1y ago
This is great, really worth reading if you're interested in transactions.

I liked it so much I wrote up how the model applies to Amazon Aurora DSQL at https://brooker.co.za/blog/2025/04/17/decomposing.html It's interesting because of DSQL's distributed nature, and the decoupling between durability and application to storage in our architecture.

maniacalhack0r•1y ago
DSQL is so cool - have been following since the release and once it supports more of the postgres feature set + extensions it’ll be a killer. Fantastic architecture deep dive at ReInvent as well.
pongogogo•1y ago
Hey Mark, I actually found this post via yours so thanks!