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!

What I Self-Host

https://viceconsole.fyi/blog/2026/10/10/what-i-self-host/
1•BrunoBernardino•1m ago•0 comments

Why are we even doing all this?

https://terrytao.wordpress.com/2026/10/15/why-are-we-even-doing-all-this/
1•smilelamp•2m ago•0 comments

Claude desktop should have trello boards

https://twitter.com/pcp_liu/status/2110826199022797232
1•pcpliu•2m ago•0 comments

Muon: An optimizer for hidden layers in neural networks (2024)

https://kellerjordan.github.io/posts/muon/
1•peter_d_sherman•3m ago•0 comments

PostHog MCP Leaderboard

https://posthog.com/mcp/leaderboard
1•rbaudibert•3m ago•1 comments

Nvidia Expands Nemotron Family with Highest Efficiency Super VL and Bolt Models

https://blogs.nvidia.com/blog/nemotron-3-5-super-vl/
1•bcaulfield•3m ago•0 comments

Testing Jev and other decision models on search-related tasks

https://parallel.ai/blog/are-all-system-one-models-created-equal
1•everythingmeta•3m ago•1 comments

AI Software Factories are Destined for failure

1•erminpour•3m ago•0 comments

An LSP layer for 70%+ token reduction in multi-turn agents

https://github.com/productparker1/ai-agent-token-reduction-lsp-daemon-spec
1•productparker1•4m ago•0 comments

Detection Is the Easy Part

https://rameninc.substack.com/p/detection-is-the-easy-part
1•Rameninc•6m ago•0 comments

BBC licence fee to be extended with 'YouTube tax' to force more to pay

https://www.independent.co.uk/news/uk/politics/bbc-licence-fee-charter-youtube-tax-netflix-disney...
2•beejiu•7m ago•0 comments

Apple and Meta team up to make Muse AI model run on Mac computers

https://www.cnbc.com/2026/10/15/apple-meta-partner-ai.html
5•jbredeche•8m ago•0 comments

Proposal for OIDC WIF in Acme (RFC-8555)

https://datatracker.ietf.org/doc/draft-rasmussen-acme-wif/
1•zaitanz•12m ago•0 comments

Same LLM, same input tokens, different answers on a MacBook and a Jetson

https://kernwerk.org/blog/same-model-different-board/
1•carrieremaxime9•15m ago•0 comments

Lant – The Forgotten Resource

https://sites.udel.edu/materialmatters/2018/04/11/lant-the-forgotten-resource/
1•kreyenborgi•15m ago•0 comments

A Mac app to find and compress the videos filling your iCloud Photos

https://danielyaa5.github.io/photo-review/
1•danielyaa5•17m ago•0 comments

Chasing China's Monazite Monopoly

https://spectrum.ieee.org/china-rare-earth-minerals
1•sbulaev•17m ago•0 comments

RetroMac: Turn Your Mac into a Time Machine

https://myretromac.app/
1•subdomain•18m ago•0 comments

Georg Wilhelm Richmann

https://en.wikipedia.org/wiki/Georg_Wilhelm_Richmann
1•sans_souse•18m ago•0 comments

Classify web pages before adding them to an AI agent's context

https://sifty.dev/blog/web-pages
3•ralphlaur•20m ago•0 comments

Your Lean Canvas Is a Ladder of Beliefs

https://ashmaurya.com/blog/your-lean-canvas-is-a-list-of-beliefs
1•rmason•21m ago•0 comments

TEDxPurdueU x Y Combinator

https://events.ycombinator.com/yc-purdue-2026
1•ion05•21m ago•0 comments

Actual Computer turns your Nvidia DGX Station into a department-scale AI factory

https://actual.inc/company/blog/case-study-dgx-station-and-nemotron-3-5-super-vl
1•alwinaugustin•23m ago•0 comments

Show HN: Ts-chef – CyberChef-style tools and visual pipelines for VS Code

https://github.com/MichaelWeissDEV/ts-chef
1•MichaelWDev•23m ago•0 comments

Show HN: Jamfetti – A tool for anyone to jam out, no music experience needed

https://jamfetti.boondoggle.studio/
4•DJSnackySnack•23m ago•1 comments

Muse Spark Open: 7 Powerful Features and Real Limits (2026) – Juhenza

https://juhenza.com/blog/muse-spark-open
1•jainilprajapati•24m ago•0 comments

Questions That Can Help You Understand Yourself Better

https://medium.com/@flaviopilotodasilva/10-questions-that-can-help-you-understand-yourself-better...
1•flaviopilotodas•26m ago•0 comments

The Most Dangerous Idea in Federal Reserve History

https://www.aeaweb.org/conference/2013/retrieve.php?pdfid=466
1•7777777phil•26m ago•0 comments

2026 State of the Climate Report

https://eos.org/research-and-developments/2026-state-of-the-climate-report-shows-a-planet-reachin...
16•DeepLogin•26m ago•1 comments

New Withings Users Must Pay $99/Year for Apple Health Syncing

https://support.withings.com/hc/en-us/community/posts/51887047154577-Unacceptable-Apple-Health-Sy...
3•johnbehnke•29m ago•1 comments