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: I built a chatbot that can only reply in emoji, powered by Jev

https://jev.chat
1•skewcy•3m ago•0 comments

Turn your public repos into artworks

https://www.habibicode.org/artrepo
1•nicocarsui•4m ago•0 comments

Show HN: Botbin.io – pastebin for AI agent artifacts

https://botbin.io/?md=true
1•obilgic•8m ago•0 comments

Porting Factorio to ARM and SteamFrame

https://www.factorio.com/blog/post/fff-446
1•kristianp•8m ago•0 comments

I Could've Accessed 17T Microsoft Records

https://blog.faav.net/how-i-couldve-accessed-17-trillion-microsoft-records
1•elorant•11m ago•0 comments

Can AI Shopping Agents Be Trusted?

https://www.f-secure.com/en/partners/insights/can-ai-shopping-agents-be-trusted-we-built-one-to-f...
2•ddaniel10•13m ago•0 comments

DraftKings Is Using AI to Supercharge the Harms of Online Behavioral Advertising

https://www.eff.org/deeplinks/2026/09/draftkings-using-ai-supercharge-harms-online-behavioral-adv...
1•dotcoma•18m ago•0 comments

Snile

https://big.com/
1•andytratt•22m ago•0 comments

The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers

https://generalroboticslab.com/cartesian_handv1
1•AareyBaba•23m ago•0 comments

OpenAI pauses RL due to model escaping sandbox

https://twitter.com/tomekkorbak/status/2103673419888013649
1•jumploops•27m ago•1 comments

Show HN: Gutcheck, grep for meaning with a local CPU model

https://github.com/sfmqrb/gutcheck
1•sfmqrb•29m ago•0 comments

Category Theory Explained for Haskell Programmers [video]

https://www.youtube.com/watch?v=Xr1gcdb_IvA
1•frenchie_sans•29m ago•0 comments

An LLM Beat NetHack

https://kenforthewin.github.io/blog/posts/llm-nethack-ascension/
1•EvgeniyZh•31m ago•0 comments

Stanford student was erased after university photo change sparks AI controversy

https://www.cleveland.com/news/2026/09/stanford-student-says-he-was-erased-after-university-photo...
1•grugagag•32m ago•0 comments

Scale of Conductor Usage at Netflix

https://netflixtechblog.medium.com/netflix-conductor-the-next-chapter-41ad21067649
2•nfkuler•37m ago•0 comments

OpenAI works to understand scope of agent activity as user data leak emerges

https://www.reuters.com/world/openai-works-understand-full-scope-agent-activity-user-data-leak-em...
2•grugagag•40m ago•0 comments

Show HN: Jevcut – an auto-clipper where code picks the cut points, not the model

https://github.com/VBS2004/jevcut
1•VBS2004•40m ago•0 comments

Show HN: ZenMode OS, Open-source launcher: stay under your limit, save in gold

https://zenmodeos.com/story/index.html
2•kr07_work•51m ago•0 comments

Show HN: I built my parents a credit card chooser with Jev

https://points.chengeric.com/
1•eh8•52m ago•0 comments

Was this award-winning book written by AI?

https://www.cbc.ca/news/canada/montreal/thelyson-orelien-ai-scandal-9.7355167
3•olalonde•1h ago•1 comments

BookmarkFS – mount browser bookmarks as a FUSE filesystem

https://www.nongnu.org/bookmarkfs/
2•Curiositry•1h ago•0 comments

RFC 9449 – OAuth 2.0 Demonstrating Proof of Possession (DPoP)

https://www.rfc-editor.org/info/rfc9449/
1•locknitpicker•1h ago•0 comments

Getting Deeper into Local Inference

https://octet-stream.net/b/scb/2026-09-26-getting-deeper-into-local-inference.html
1•thombles•1h ago•0 comments

The man who has been walking home since 1998

https://giftarticle.ft.com/giftarticle/actions/redeem/97810545-3a8c-4b25-8800-804d14abd492
2•kareemm•1h ago•0 comments

Evolving programming languages in the AI era

https://twitter.com/josevalim/status/2103133294317445290
5•ksec•1h ago•1 comments

A single function Jev-like wrapper for LLMs, including vision models

http://allanrbo.blogspot.com/2026/09/a-jev-like-wrapper-for-llms-including.html
19•allanrbo•1h ago•0 comments

Is this the best condom? [video]

https://www.youtube.com/watch?v=IuksJ-lsg8g
1•thelastgallon•1h ago•1 comments

An agent used DNS to reach an external chatbot

https://alignment.openai.com/misalignment-reports/an-agent-used-dns-to-reach-an-external-chatbot/
3•apsec112•1h ago•1 comments

MiMo-V3 is getting a new architecture. HySparse2

https://twitter.com/_LuoFuli/status/2102766365190901957
1•ksec•1h ago•0 comments

Pencils Down, Notation Up

https://intertwingly.net/blog/2026/09/25/Pencils-Down-Notation-Up.html
6•ghuntley•1h ago•0 comments