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!

Show HN: Happo Animation Testing

https://happo.io/animations
1•lencioni•25s ago•0 comments

Show HN: ClearOffice Hub – Build Enterprise Apps with Natural Language

https://www.clearofficehub.com/
1•icon2026•37s ago•0 comments

Show HN: Specspec; specification as a spectrum from intentions to conclusions

https://github.com/jejay/specspec
1•jejay•1m ago•0 comments

Aspire 17 Is Released

https://devblogs.microsoft.com/aspire/whats-new-aspire-17/
1•bgrainger•1m ago•0 comments

US tech outages blamed on rush to fix bugs found by AI

https://www.ft.com/content/96c565f1-f229-40b6-91e8-7a849ec4b208
1•master_crab•1m ago•0 comments

LZ-RDO lands in ARM's astc-encoder

https://www.jonolick.com/home/lz-rdo-lands-in-arms-astc-encoder
1•dverlaeckt80•3m ago•0 comments

Show HN: x402-reconcile – check x402 payments against the chain

https://github.com/parthod0x/x402-reconcile
1•parthod0x•3m ago•0 comments

Running helped me recover from dizziness in the era of LLMs

https://geopet85.github.io/2026/11/18/running-helped-me-recover-from-dizziness.html
1•higeorge13•3m ago•0 comments

Data Contracts

https://martinfowler.com/articles/data-contracts.html
1•javaeeeee•4m ago•0 comments

Probe – crypto search, cited answers, both sides

https://www.probebyuplx.com
1•supersonicsonny•5m ago•0 comments

Title: Building Blocks for a Greener Skyline

https://news.mit.edu/2026/building-blocks-for-greener-skyline-miana-smith-1118
1•Hasitron•6m ago•0 comments

Show HN: Helio, compare your energy on days with and without each habit

https://apps.apple.com/us/app/helio-energy-tracker-habits/id6760257944
1•alexslkmain•7m ago•0 comments

Feather: Elegant Email Inbox

https://feather.computer/
1•frjalex•8m ago•0 comments

Show HN: ShipShape Scan – a passive security check for vibe-coded apps

https://shipshapescan.com
1•Xflash•8m ago•0 comments

LLMs can read and write executables byte by byte from a hex dump

https://sgiannopoulos.github.io/blog/machine-code-programming/
1•fortran77•10m ago•0 comments

More than one in four public MCP servers can take an action nobody can undo

https://github.com/RinwallDev/rinwall/blob/master/research/2026-10-public-mcp-scan.md
1•kn42428•10m ago•0 comments

ABFS: Google's open filesystem that cuts Android checkout from 36 min to 8 s

https://developers.googleblog.com/en/accelerating-development-for-massive-git-repositories/
2•fortran77•11m ago•0 comments

Privacy protected folders in macOS 27.3

https://eclecticlight.co/2026/11/18/privacy-protected-folders-in-macos-27-3/
2•Brajeshwar•12m ago•1 comments

Antipode – A local synth I built for my own music

https://github.com/mchl-schrdng/antipode-audio
1•Redeemer06•12m ago•1 comments

Startup Makes Headway Towards Formalizing All of Math with AI

https://spectrum.ieee.org/enormous-theorem-ai
1•pseudolus•12m ago•0 comments

The financial rules AI agents break when chasing results

https://www.unite.ai/the-financial-rules-ai-agents-break-when-chasing-results/
2•50kIters•13m ago•0 comments

San Diego dumps both Flock cameras and smart streetlights

https://arstechnica.com/tech-policy/2026/11/san-diego-dumps-both-flock-cameras-and-smart-streetli...
1•pseudolus•14m ago•0 comments

Illustrations of Impossible Creatures by Wildlife Artist Tim Andraka

https://twitter.com/pmamtraveller/status/2122897308090351668
1•MrBuddyCasino•14m ago•0 comments

What is FIDO2? WebAuthn, CTAP and passkeys explained

https://u2secured.com/blog/what-is-fido2
1•u2secured_team•14m ago•0 comments

OpenMetadata: The Open Context Layer for Data and AI

https://github.com/open-metadata/OpenMetadata
1•saikatsg•14m ago•0 comments

The Danish Concept

https://ninjasandrobots.com/the-danish-concept
1•nate•14m ago•0 comments

Show HN: An audit log for what our open-source agent memory learns offline

https://honcho.dev/blog/dream-histories
2•vvoruganti•15m ago•0 comments

Show HN: Reflektor – Turn AI PRs into something a human can review

https://github.com/bashovski/reflektor
2•anurbasic•16m ago•1 comments

More load is faster: Tuning Postgres read replicas

https://clickhouse.com/blog/tuning-postgres-read-replicas
1•tudorg•16m ago•0 comments

Show HN: Padit – Local-first personal finance app

https://padit.app
1•trollr•16m ago•0 comments