frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Russian Mindset: Understanding Russia`s social fabric [video]

https://www.youtube.com/watch?v=3oubk8dVcMU
1•datelligence•2m ago•0 comments

The Agentic Hobby OS Veda Runs Native Linux Executables Now

https://github.com/vahmoh/Veda/commit/c23fca82ef31c7541ad00833bbc93b5ad9b4a61f
1•saeedmh108•3m ago•0 comments

The Reading List for the Hottest Class at Harvard

https://www.wsj.com/arts-culture/books/the-reading-list-for-the-hottest-class-at-harvard-64888ade
2•sonabinu•5m ago•0 comments

GM Aims to Bring 'Eyes-Off' Driving to AI-Powered Cars Within 2 Years

https://www.nytimes.com/2026/10/21/business/gm-ai-electric-vehicles-china.html
1•bookofjoe•5m ago•1 comments

I Make Mood Boards

https://www.chrbutler.com/why-i-make-mood-boards
2•delaugust•7m ago•0 comments

AI agents enter the 'wet lab'

https://www.nature.com/articles/d41586-026-03270-1
1•Teever•10m ago•0 comments

Samenland: Cozy, historically grounded real-time medieval settlement simulation

https://samenland.app/
2•doener•10m ago•1 comments

Show HN: KeyContain – Fine-grained access to APIs your agents use

https://keycontain.com
1•tsergiu•11m ago•0 comments

Show HN: TheySay – Turn Your Social Media Feeds into a Dashboard

https://github.com/laike9m/TheySay
1•laike9m•12m ago•0 comments

Show HN: Spot - press a key, say what you want, your computer does it

https://spot.deemwar.com
1•deemwar•15m ago•0 comments

Read this before you build another AI wrapper

https://ferran.sh/writing/read-this-before-you-build-another-ai-wrapper
2•ferran9908•16m ago•0 comments

InfraJournal – local infrastructure maps from config files

https://github.com/AkemiFF/infrajournal
1•AkemiHr•16m ago•0 comments

World of Warcraft Forever

https://news.blizzard.com/en-us/article/24315820/world-of-warcraft-forever-now-live
1•azhenley•17m ago•0 comments

Hackers pull off $133M French bank heist via service provider

https://www.bleepingcomputer.com/news/security/hackers-pull-off-133-million-french-bank-heist-via...
4•gnabgib•18m ago•0 comments

Ask HN: What makes a good product demo video?

1•FailMore•19m ago•0 comments

Hacking South Korea's National Cyber Security Center

https://duti.dev/blog/2026/hacking-south-korea/
2•acheong08•27m ago•0 comments

AI Layoffs Backfire as Companies Start Rehiring Workers

https://jsdev.space/companies-rehiring-workers/
2•javatuts•27m ago•0 comments

Elon Musk Staked His Empire on Texas. Now State Democrats Want to Rein Him In

https://www.wsj.com/politics/policy/elon-musk-texas-midterm-elections-b993e58d
1•ryzvonusef•28m ago•0 comments

Exponential time hypothesis refuted by AI

https://www.nytimes.com/2026/11/06/science/ai-exponential-time-hypothesis.html
1•garyrob•29m ago•0 comments

Leaked documents show Cisco doubled down on Israeli military deals

https://www.theguardian.com/world/2026/nov/07/israel-intelligence-cisco-gaza-palestine
3•tmnvix•29m ago•0 comments

An extension that generates and verifies the GH Actions dependency lockfile

https://github.com/github/gh-actions-lock
1•kokada•30m ago•0 comments

Modeling cryptographic key lifecycle as explicit state transitions

https://github.com/lecodev-26/nexus-q
1•lecodev•32m ago•0 comments

Upgrading NetBSD from 11.0 to 11.1

https://www.dwarmstrong.org/netbsd-upgrade/
2•birdculture•32m ago•0 comments

Show HN: Good First Token – Spend your spare tokens on open source

https://goodfirsttoken.org/
3•jconley•34m ago•2 comments

Driver AI in Stunt Car Racer, Commodore 64

https://gamesexplained.com/c64/stunt-car-racer/opponents.html
1•a1r•35m ago•0 comments

Where They Collide

https://mypinstrositylife.com/where-they-collide/
2•jruohonen•35m ago•0 comments

What should we learn now?

https://ducktape.blot.im/what-should-we-learn-now
4•totalperspectiv•36m ago•0 comments

How Do Committees Invent?

https://www.melconway.com/research/committees.html
2•Bluestein•37m ago•0 comments

The Door Next Door - A Runelite Barrows Plugin

2•blaso•40m ago•0 comments

Why the Best AI Clouds Don't Run on Flash Alone

https://www.backblaze.com/blog/why-the-best-ai-clouds-dont-run-on-flash-alone/
1•gmays•43m ago•0 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!