frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Who Pays for AI Data Centers?

https://www.youtube.com/watch?v=NyOeLB0WVNE
1•Betelbuddy•3m ago•0 comments

I'm Still Convinced the iPod Was the Perfect Gadget

https://www.wired.com/story/im-still-convinced-the-ipod-was-the-perfect-gadget/
1•vikas-sharma•4m ago•0 comments

John Carmack on the Goose Language: multiple data stacks and relative references

https://twitter.com/ID_AA_Carmack/status/2113704269274636568
3•bobbydigitales•6m ago•0 comments

Poldi – Local offline AI assistant/"companion" for the GPU poor

https://github.com/RhinoDevel/poldi
1•RhinoDevel•6m ago•0 comments

Ask HN: How do you effectively prevent full-site cloning and back end hacking?

1•shaikhmubin•6m ago•0 comments

Show HN: Mini-batch k-means clustering for PyTorch tensors

https://github.com/mb-14/minibatch-kmeans
1•mb14•7m ago•0 comments

An examination of lost firefly species of the US and Canada

https://journaloflostspecies.org/index.php/jls/article/view/37/33
1•bryanrasmussen•8m ago•0 comments

PHP Foundation 'under-funded' with one full-time staff member, director says

https://www.reuters.com/technology/php-foundation-under-funded-with-one-full-time-staff-member-di...
4•firesteelrain•9m ago•0 comments

Building agents: When to fold subagents into your main agent loop

https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent...
1•pretext•10m ago•0 comments

NHTSA Updates Vehicle Lighting Standards for AVs

https://www.nhtsa.gov/press-releases/vehicle-lighting-updates-automated-vehicles
1•reaperducer•10m ago•0 comments

Walt – Degoogled Tap-to-Pay

https://walt.is
3•flawn•22m ago•0 comments

Show HN: Infinite-Zoom Collaborative Canvas

https://neverendingpainting.art/
1•theneverendingp•22m ago•1 comments

About the compromised eMudhra intermediate CAs

https://support.apple.com/en-us/149555
4•stalfosknight•24m ago•0 comments

It Looked Like a New Species. The Trouble Was, It Didn't Exist

https://thelivinglib.org/it-looked-like-a-new-species-the-trouble-was-it-didnt-exist/
1•jruohonen•26m ago•0 comments

Ask HN: What's your vision of the care-free life?

1•llkyh•30m ago•0 comments

AI: EU Member States approve "digital expropriation" for AI companies

https://noyb.eu/en/ai-eu-member-states-approve-digital-expropriation-europeans-ai-companies
3•h1x•39m ago•1 comments

Danish Government silently drops plan to dump MS Office

https://www.computerworld.dk/art/297226/digitaliseringsministeriet-har-i-al-stilhed-droppet-stort...
31•lowkeyokay•41m ago•1 comments

Chess Arena – Minimal chess vs. Hard AI (vanilla JavaScript, no login)

https://playgama.ai/play/xl6duef7p3
2•Roniad•47m ago•0 comments

GPU tensor unlock source for RTX 4090 and experimental RTX 4070 Ti SUPER

https://github.com/JustAResearcher/gpu-unlock-ada
3•simonpure•49m ago•1 comments

Dream-1

https://dreamlabs.ai/research/dream-1/
41•GaggiX•49m ago•13 comments

Bbtree: Fastest Ordered Map

https://bbtree.xiangpeng.systems/post/
2•aoli-al•51m ago•0 comments

Show HN: A randomized controlled trial run inside an agent simulation

https://jameswniu.github.io/multi-agent-causal-marriage-simulation/
1•Hazelbolts•52m ago•0 comments

Show HN: Agentsh – A Decentralized, Scalable Multiagent Harness

https://github.com/microsoft/Agensh
1•brunoborges•53m ago•0 comments

Glymphatic clearance to alleviate traumatic brain edema& Alzheimer's pathology

https://www.science.org/doi/10.1126/sciadv.aeh8870
15•ersinesen•54m ago•3 comments

Decompiling Fast Food Tycoon 2: Drawing the World

https://healeycodes.com/decompiling-fast-food-tycoon-2-drawing-the-world
1•healeycodes•55m ago•0 comments

Ask HN: Windows Signing for FOSS Projects

2•johnj-hn•55m ago•0 comments

What if you could have AI applied to your brain?

1•whiteangel1984•56m ago•0 comments

OpenLoco, a remake of the 1998 classic game Lego Loco

https://github.com/AlexSDevDump/OPEN-LOCO
1•mschuster91•56m ago•1 comments

Show HN: The missing clipboard history for macOS that idles at 16 MB

https://roush.io/paste-buff
3•jjroush•57m ago•0 comments

What would be effective ways to market our SaaS application

https://statusentry.com/
1•elfingman•57m 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!