Victor (@viktorScript) header
Victor (@viktorScript) profile picture

Builder

Earth
Joined January 2022
Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)Photo by Victor (@viktorScript)
"I will always figure it out"
168
Marcus Aurelius wrote this over 1800 years ago:
133
6,222
172
53,218
1,269,773
Was reading Netflix’s post on their write-ahead log service. The part about multi-partition writes stuck with me. The problem: Their KV stores can’t update rows across partitions atomically. If a write fails partway, some rows change and some don’t. What they do instead: Write every mutation to a separate durable KV table, each with a sequence number After the last one, write a completion marker Send a Kafka message saying the batch is ready Consumer reads the full batch from the durable table Checks the marker exists, then applies the rows in order How failures play out: Consumer crashes: batch is still in the durable table, so it gets replayed Database is down: retry later, nothing is lost Client dies mid-batch: no marker, so the partial batch is never applied The detail I liked: Kafka is only the trigger. The durable table is the source of truth for what was supposed to happen. It’s the same idea as a database WAL on a single node, moved into a shared service so any team can use it. blog: netflixtechblog.com/building…
12
36
3
413
36,410
I published the slides, transcript, and made a recording from my HPTS'26 talk, "Please Implement A Quorum Database" transactional.blog/talk/plea…
5
21
3
175
9,677
Victor retweeted
Finally finished reading the Postgres 14 Internals book. Some general takeaways after reading this long, technical book: 1. Postgres is wonderful but not perfect. I started this book thinking that Postgres was the holy grail of databases (at least from everything I'd heard), but some of its architectural decisions probably wouldn't be made today if it were built from scratch. Things like transaction ID wraparound, its implementation of MVCC, and the process-per-connection model. The book specifically does a great job explaining how these things work and why they can be problematic. Understanding these limitations also gave me more appreciation for projects like OrioleDB and PgRust that are reimagining Postgres 2. Reading groups are very very helpful. I probably wouldn't have finished this book on my own. And even if I had, I don't think I would've learned nearly as much if I hadn't been able to talk about each chapter with other people 3. Everything I learned has been useful in some way. There were definitely moments when I wondered how much of what I was reading would actually be helpful, especially some of the implementation details. But I've already found myself connecting things I learned in this book to other papers I've read and conversations that I've had. That being said, there were some chapters that I found a little boring and could've skipped in hindsight In need of some book recs now!
13
21
2
301
17,272
6 years ago 😌
14
362
11
9,922
324,870
Replying to @elonmusk @cradrrat
I use C/C++ for all my projects. Debt Badge, Clucks Capacitor, homemade power-wall, sculpting software for my haptic interface. I suppose with AI assisting, the clunkiness of developing in C disappears and the efficiency shines. How soon until the language doesn’t matter?
630
599
571
15,196
1,897,185
🚨 EXCLUSIVE: Manchester United finalising deal to appoint Mauricio Pochettino if ultimate decision made to replace Michael Carrick. 54yo lined up & terms being done with camp. #MUFC yet to contact US but straight-forward should plan proceed @TheAthleticFC nytimes.com/athletic/7767421…
4,298
11,472
10,331
83,951
11,275,279
“If I am worth anything later, I am worth something now. For wheat is wheat, even if people think it is a grass in the beginning.”
1
23
🚨TRENDING: Yaxel Lendeborg bought his mom a house after getting his first NBA check. You love to see it. teapawt.org/jinthirty/status/21189…
244
1,450
232
16,490
1,342,278
This is nuts. Abdul El-Sayed’s h-index on Google Scholar is 37 — higher than that of your average tenured professor at an Ivy League school.
289
2,216
330
25,435
1,386,303
bro!
The bug is like a joke. On Alpine Linux, type 257 to 1024 characters of anything and you get root. 💀
25