frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

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!

Semiconductor Fabs II: The Operation

https://nomagicpill.substack.com/p/semiconductor-fabs-ii-the-operation
1•Bluestein•3m ago•0 comments

Matt Godbolt: Advent of Microarchitecture 2026 [video]

https://www.youtube.com/watch?v=00KJ8h5QXcE
1•mfiguiere•4m ago•0 comments

US to impose new tariff hikes on Europe, China, Mexico, Japan, 12 more countries

https://www.politico.com/news/2026/11/24/trump-tariffs-china-eu-mexico-manufacturing-01181685
1•ck2•4m ago•1 comments

The Rhetoric of Invertible Counterpoint in the Sixteenth Century

https://www.mdw.ac.at/mdwpress/mdwp017-004/
1•e7mac•6m ago•0 comments

NASA's Titan-Bound Dragonfly Rotorcraft Gets Its Eyes

https://science.nasa.gov/missions/dragonfly/nasas-titan-bound-dragonfly-rotorcraft-gets-its-eyes/
1•titusblair•8m ago•0 comments

Arm wrestles assembly language guru's domains away citing trademark issues

https://www.theregister.com/software/2023/08/31/arm-wrestles-experts-domains-away-citing-trademar...
2•andromaton•8m ago•1 comments

Pine tar, beeswax and pollen in the coatings of a 2nd-century BC Roman ship

https://www.frontiersin.org/journals/materials/articles/10.3389/fmats.2026.1758862/full
1•titusblair•8m ago•0 comments

Unreleased AI models are too powerful to release fear many employees

https://tech.yahoo.com/ai/claude/articles/scoop-anthropic-openai-employees-fear-104505580.html
2•dhd415•9m ago•1 comments

Vendor-neutral LLM harness with local-first support

https://github.com/abadiape/llm-harness-lite
1•abadiape•9m ago•1 comments

Matt Godbolt: Advent of Microarchitecture 2026

https://www.youtube.com/playlist?list=PLN7owJBX-Fcc
1•justin66•11m ago•0 comments

Enron Employees Give Kenneth Lay a Standing Ovation Upon His Return as CEO

https://daringfireball.net/linked/2026/11/24/enron-ovation-1991
2•alexcason•12m ago•1 comments

Surdz: Free Visual Board for Anyone

https://surdz.vercel.app/
1•romarumeth•14m ago•0 comments

Alan Kay: Steve Jobs, Xerox PARC, Marijuana [video]

https://www.youtube.com/watch?v=GR9i8o4FwGw
1•justin66•15m ago•0 comments

Sounds Like a Little Chaos

https://elevenmusic.io/blog/sounds-like-a-little-chaos
1•sigvef•16m ago•0 comments

Using Agentic AI to create the next generation of non-Java Kafka clients

https://developer.confluent.io/blog/using-agentic-ai-to-create-non-java-clients/
1•rmoff•18m ago•0 comments

Air Is Easing Out of the AI Bubble

https://www.theatlantic.com/ideas/2026/11/ai-bubble-returns-timeline/689504/
3•FinnLobsien•18m ago•0 comments

Show HN: Art50Scan: Check if your CDN silently strips C2PA metadata before Dec 2

https://art50-scan.ak10082247.workers.dev/
1•kurox_real•19m ago•0 comments

Four papers on Weil's RH proof for Spec Z, closed by Alpoge's Lean result

https://github.com/dtrejopizzo/riemann
1•dtrejopizzo•21m ago•0 comments

One terminal command gave my forgotten Android device a desk job

https://arstechnica.com/gadgets/2026/11/one-terminal-command-gave-my-forgotten-android-device-a-d...
2•PaulHoule•22m ago•2 comments

Taking Google's Rambler dictation out of Gboard

https://tomvaucourt.com/posts/burble/
1•T0mSIlver•25m ago•0 comments

Attention Latent Feedback

https://xjxyys.github.io/attention-latent-feedback/
1•E-Reverance•27m ago•0 comments

Pentagon in Talks with GM and Ford to Make Military Drones

https://www.wsj.com/politics/national-security/ford-general-motors-military-drones-c082d202
2•bookofjoe•28m ago•2 comments

Latwerg

https://nik.art/latwerg/
1•herbertl•31m ago•0 comments

Tono is an unofficial Rex client for (Omarchy) Linux

https://twitter.com/masegraye/status/2123123387421860236
1•mgdev•31m ago•1 comments

Designing a Reliable Unplanned Failover

https://planetscale.com/blog/designing-a-reliable-unplanned-failover
1•hollylawly•33m ago•0 comments

Eddie Slovik

https://en.wikipedia.org/wiki/Eddie_Slovik
4•olalonde•33m ago•0 comments

Show HN: Byname – open-source tool to see when AI assistants name your product

https://byname.dev/
1•jamesperkins•34m ago•0 comments

Invalidity of the Alpoge Proposed Proof of the Riemann Hypothesis

https://philpapers.org/rec/NIEIOT-2
5•FacZap•39m ago•1 comments

Show HN: Bifrost hit 10k stars on GitHub

https://github.com/maximhq/bifrost
1•aanthonymax•40m ago•0 comments

Interpretable morphology-based marked statistics

https://arxiv.org/abs/2611.31167
1•simonebrunozzi•41m ago•0 comments