4 ms·
There was a great short talk by (I think) Richard Hipp - or possibly Ted T'so? about mistakes people make trying to 'just save your data to disk'. I can't find
by bazzargh 13y ago
There was a great short talk by (I think) Richard Hipp - or possibly Ted T'so? about mistakes people make trying to 'just save your data to disk'. I can't find the one I remember but this does cover a lot of the same material (in a less snappy way):
https://www.youtube.com/watch?v=TxXROT_nHqo https://www.youtube.com/watch?v=TxXROT_nHqo
The meat, on the implmentation of ACID in sqlite3, is around 14:20 in. More complexity than you want to think about is the answer. You could do the same without a db-as-such of course.
Anyone remember the talk I mean? It would have been around the same time - 2009ish.
- bazzargh 13y agoI found the talk (in the comments on Shaver's 2008 blog article that cropped up in another comment - I was close on the time at least) It's by Stewart Smith, it's called "Eat My Data: How Everybody gets File I/O wrong", and it's well worth watching: http://mirror.linux.org.au/pub/linux.conf.au/2007/video/talks/278.ogg http://mirror.linux.org.au/pub/linux.conf.au/2007/video/talk...