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)
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
🚨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
I'm not even sounding the claxon for this it's just horrible. Any text > 256chars is a valid root password, holy shit sshhole.com/
202
502
345
4,983
736,070
Finding the weak spots of a graph takes a single DFS, not one DFS for every vertex. An articulation vertex is a vertex whose deletion disconnects a graph. In a communication network, this corresponds to a server that, should it fail, could split the entire network into two separate parts. The brute-force approach is simple but inefficient. You remove each vertex, perform a BFS or DFS to check whether the graph remains connected, and repeat this process for all vertices. With V vertices, that’s O(V(E + V)). To derive a better algorithm, think of the DFS tree, instead. The tree edges connect vertices within a hierarchy. Back edges act like safety cables, linking vertices to their ancestors and keeping the graph connected even if some vertices were to be removed. For each vertex, keep track of the nearest ancestor reachable via a back edge. If the nearest ancestor reachable from a vertex is its parent, then removing that parent isolates the corresponding subtree from the rest of the graph. If the root has two or more children, it is always an articulation vertex. That tests every vertex with a single DFS run, in O(V + E).
2
2
1
16
2,312
Promoted to SWE-III @Google You aren’t handed a title to grow into here. You operate at the next level first, calibrated across the VP org & then it becomes official. 17 months of late nights & building from 0 to 1. Grateful! On to the next 🥂
64
12
3
1,016
61,521
I am pleased to announce that I've accepted an offer to work as a Staff Software Engineer, on the Traffic Engineering team @ Tesla, where I'll be working on control-planes and edge networks, as nature intended
214
153
31
5,038
410,359
On building scalable control planes allthingsdistributed.com/202…
1
12
1
190
17,061
When you’ve lost hope in winning, then that unexpected win comes
14
409
15
3,204
72,683
Victor retweeted
Anthropic Senior SWE Interview
7
62
2
1,167
180,622
When you realize God has never stopped being good to you
41
1,417
22
17,672
335,070
🚨 José Mourinho: “I told Camavinga: go and attack the space”. “It's difficult for any attackers to attack space against Barcelona, the only solution is to do it with your midfielders”. “When your attackers do it, Barca's defense is prepared and coached for that, and your attackers end up being offside, or the pass ends up being cut by Joan Garcia”. “The solution is to use midfielders like Camavinga and Bellingham to break that line, and it worked”.
945
6,959
640
113,538
3,968,507