frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Workout is the one you do

https://ollelindholm.com/best-workout/
1•surprisetalk•1m ago•0 comments

The Performance Cost of RwLock in Our Read-Heavy Workload

https://pranitha.dev/posts/rwlock-vs-lockfree/
1•pranitha_m•1m ago•0 comments

I Still Choose Jujutsu When AI Can Handle Git

https://juju-chu.com/blog/why-jj-when-ai-runs-git
1•oukayuka•1m ago•0 comments

Changescape: We need a new generation of tools to manage code changes

https://changescape.dev/
1•squarecog•2m ago•0 comments

Show HN: Aldo Coach, a workout log with an AI coach that sees every set

https://aldo-coach.app/?ct=hackernews
1•jackchillemi•5m ago•0 comments

Show HN: Bio ML Tools in the Browser

https://athanortools.com/
1•the__alchemist•5m ago•0 comments

Can AI Make a Game Engine? [video]

https://www.youtube.com/watch?v=R_uf5OfMGio
1•chii•6m ago•0 comments

Ask HN: Is Observability Broken for You?

1•tmach32•7m ago•0 comments

Erdosproblems.com Succumbs to the AI Onslaught

https://www.erdosproblems.com/forum/thread/blog:9
1•pfdietz•7m ago•1 comments

Show HN: IAAP CPACC Practice Tests and Mock Tests

https://accesslumens.com/learn/cpacc
2•prabhusaves•7m ago•0 comments

Show HN: TwinStub – deterministic API simulation with signed webhook chains

https://github.com/twinstub/twinstub
1•lna_stub•7m ago•0 comments

Can AI Stand in for Human Survey-Takers? Not

https://www.pewresearch.org/data-labs/2026/09/30/can-ai-stand-in-for-human-survey-takers-not-really/
1•vuice•10m ago•1 comments

Devpack for Rust

https://github.com/canonical/devpack-for-rust
2•tapanjk•10m ago•0 comments

ProbeLab Sonar

https://probelab.io/blog/introducing-probelab-sonar/
1•dennis-tra•10m ago•0 comments

Show HN: Everyone photographs the same object daily and AI makes a creature

https://snapplings.com/daily?src=hn
1•dgp1000•12m ago•0 comments

Kabul, Afghanistan is on track to run out of water by 2030

https://www.cnn.com/2026/10/06/climate/water-crisis-city-day-zero-kabul-afghanistan
1•littlexsparkee•13m ago•0 comments

Disney, ABC battle Trump's FCC in court over free speech protections

https://www.npr.org/2026/10/06/nx-s1-5991831/disney-battles-fcc
1•rbanffy•13m ago•0 comments

Show HN: Lask – A task runner with a type system and pinned Docker environments

https://github.com/lask-task-runner/lask
1•torudev•14m ago•0 comments

Software Supply Chain Attack on subql/common

https://flatt.tech/research/posts/subql-common-npm-supply-chain-attack/
2•WalterSobchak•15m ago•0 comments

Meta's Muse Is an Adorable Privacy and Security Dumpster Fire

https://www.techdirt.com/2026/10/06/metas-muse-is-an-adorable-privacy-and-security-dumpster-fire/
2•beardyw•15m ago•0 comments

Nvidia's Olympus Core: Pushing Server Single Threaded Performance Boundaries

https://chipsandcheese.com/p/nvidias-olympus-core-pushing-server
1•rbanffy•18m ago•0 comments

Cable lobby to sue Trump FCC over repeal of national TV ownership cap

https://arstechnica.com/tech-policy/2026/10/cable-lobby-to-sue-trump-fcc-over-repeal-of-national-...
1•rbanffy•20m ago•0 comments

Formulas for Bootstrapping Sample Medians

https://www.evanmiller.org/bootstrapping-sample-medians.html
1•hn3ufz62f7•20m ago•0 comments

Why App Store Connect and RevenueCat revenue never match

https://plask.dev/blog/app-store-connect-vs-revenuecat-revenue
1•tskulbru•20m ago•0 comments

Omnitwine – AI powered professional networking/LinkedIn alternative

https://omnitwine.com/
1•adjk•20m ago•1 comments

What's Earth's dominant species by mass?

https://signoregalilei.com/2026/09/27/whats-earths-dominant-species-by-mass/
3•surprisetalk•21m ago•1 comments

Mind the Tone

https://europeancorrespondent.com/en/r/mind-the-tone
1•speckx•21m ago•0 comments

How funny are the frontier AI models?

https://www.lesswrong.com/posts/oG53pJxkHgpL4Ny4d/how-funny-are-the-frontier-ai-models
3•paraschopra•23m ago•0 comments

Why Databricks can't match ClickHouse Cloud for real-time analytics

https://clickhouse.com/blog/clickhouse-vs-databricks-real-time-performance-per-dollar
1•ilreb•24m ago•0 comments

Former German spy chief arrested, suspected of trading state secrets and treason

https://text.npr.org/g-s1-146630
1•firefax•25m 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!