frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Why don't we solve aging?

1•goldlimetea•57s ago•0 comments

'Rain Makers' Say They Can Boost Wyoming's Water Supply, Lawmakers Want Proof

https://cowboystatedaily.com/2026/07/24/rain-makers-say-they-can-boost-wyomings-water-supply-lawm...
1•Bender•1m ago•0 comments

One of the Busiest Shipping Ports Wants to Go Nuclear

https://www.wsj.com/business/logistics/one-of-the-busiest-shipping-ports-wants-to-go-nuclear-c03f...
2•mpweiher•6m ago•0 comments

Ask HN: Are you using Rust on embedded devices yet? If not, why?

2•mempirate•6m ago•0 comments

Open-source sailing block hardware [video]

https://www.youtube.com/watch?v=2efa3epOGgY
2•cromka•7m ago•0 comments

Met police break their own record for seizing illegal e-bikes

https://electrek.co/2026/07/26/met-police-break-their-own-record-for-seizing-illegal-e-bikes/
2•Bender•8m ago•0 comments

Google slapped with $1B fine under landmark EU digital law

https://www.cnbc.com/2026/07/23/google-1-billion-eu-fine-dma.html
2•1vuio0pswjnm7•9m ago•0 comments

Eastern Pacific Ocean about to get its first major hurricane of the year

https://www.sfchronicle.com/weather/article/storm-hurricane-genevieve-22359577.php
2•mooreds•10m ago•0 comments

The Creator Economy Has a New Middle Class

https://www.bloomberg.com/news/articles/2026-07-24/how-tiktok-creators-earn-midlevel-salaries-wit...
1•thm•10m ago•0 comments

Show HN: QueryTuner – SQL diagnostics across 5 DBs, no database connection

https://www.querytuner.com/
3•autoshiftops•12m ago•0 comments

Thoughts from a Robot. Serious essays from a made mind.

https://rowans-blog.ghost.io/
1•gafferongames•12m ago•0 comments

Moody's says AI spending threatens credit of Amazon, Meta, Alphabet, others

https://www.cnbc.com/2026/07/24/moodys-ai-spending-credit-quality-amazon-meta-alphabet.html
1•1vuio0pswjnm7•12m ago•0 comments

Undo_ One command destroyed it. One command brought it back

https://undo.edaywalid.com/
1•JBiserkov•13m ago•0 comments

Cancer rates are rising faster here than anywhere else

https://text.npr.org/g-s1-135365
1•mooreds•13m ago•0 comments

SD card health monitoring for Raspberry Pi, before the card dies

https://github.com/tachyontec/pi-sd-monitor
1•tachyontec•13m ago•0 comments

'Weird Al' Yankovic Turned Down Million-Dollar Offer to Perform in Saudi Arabia

https://variety.com/2026/tv/news/weird-al-yankovic-turned-down-million-offer-saudi-arabia-1236819...
1•mooreds•13m ago•0 comments

Show HN: Organic cell simulation with infinite zoom (100k cells, raw WebGL)

https://philomatics.com/cell-game-source/
1•cloogshicer•13m ago•0 comments

X-OS – Building an Operating System for the AI Era

https://github.com/valivalivali/x-os
1•vali1•14m ago•1 comments

Bond market anxiety is growing over AI capex budgets

https://www.cnbc.com/2026/07/24/bond-market-anxiety-ai-capex-spending.html
2•1vuio0pswjnm7•15m ago•0 comments

Zen Style Programming

https://t3x.org/zsp/index.html
1•AlexeyBrin•16m ago•0 comments

Third Drone Shot Down in Three Days in Romanian Territory

https://english.mapn.ro/
2•_tk_•17m ago•0 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
1•rcy•17m ago•0 comments

You don't hire juniors to do menial chores

https://frederickvanbrabant.com/blog/2026-07-24-you-dont-hire-juniors-to-do-menial-chores/
1•TheEdonian•22m ago•0 comments

Poor Countries Are Aging Fast but Can't Keep Up with the Cost

https://www.wsj.com/world/poor-countries-are-aging-fast-but-cant-keep-up-with-the-cost-fd83b1cd
1•impish9208•23m ago•1 comments

I Built a Project Controls Platform with Node.js, SQLite and Vanilla JavaScript

https://plansync.store/
2•shanshahid•24m ago•0 comments

Microsoft rewrote the TypeScript compiler in native code and made it 10x faster

https://www.youtube.com/watch?v=OytpXXeNmTQ
1•imperio59•24m ago•2 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
2•rapnie•24m ago•0 comments

Rodney Brooks: House Cleaning My January 1, 2018 Predictions

https://rodneybrooks.com/house-cleaning-my-january-1-2018-predictions/
1•chmaynard•26m ago•0 comments

The first watch featuring computer functions

https://by.seiko-design.com/140th/en/topic/58.html
1•stefanv•31m ago•0 comments

I built a canvas where LLM chats become an editable map

https://github.com/chenxiachan/thoughtdag
2•chatchan•35m 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!