Teiva Harsanyi's Avatar

Teiva Harsanyi

@teivah.dev

πŸ’» Software engineer at Google β˜• The Coder Cafe newsletter https://thecoder.cafe πŸ“– 100 Go Mistakes author https://100go.co/book 🏠 https://teivah.dev ζ”Ήε–„

374
Followers
88
Following
172
Posts
08.09.2023
Joined
Posts Following

Latest posts by Teiva Harsanyi @teivah.dev

Preview
The Cold Start Problem: How to Spark Network Effects The cold start problem is a chicken-and-egg trap:Β no users without value,Β no value without users.

"The cold start problem is a chicken-and-egg problem: no users without value, no value without users."

read.thecoder.cafe/p/cold-start...

07.01.2026 16:12 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Build Your Own Key-Value Storage Engineβ€”Week 4 Deletes, Tombstones, and Compaction

Build Your Own Key-Value Storage Engine: Week 4 (Written in collaboration with @scylladb.com)
This week, we explore how to handle deletes and compaction in LSM trees.
read.thecoder.cafe/p/build-your...

22.12.2025 09:42 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Build Your Own Key-Value Storage Engineβ€”Week 3 Durability with Write-Ahead Logging

Build Your Own Key-Value Storage Engineβ€”Week 3: Durability with Write-Ahead Logging (Written in collaboration with
@scylladb.com )
This week, we explore how to make data durable with the use of a WAL.
read.thecoder.cafe/p/build-your...

04.12.2025 16:55 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Linus Torvalds vs. Ambiguous Abstractions: When a Helper Function Hides the Intent There’s no issue with abstracting code into a helper function. If we want to optimize for cognitive load, the intent should be as clear as possible, starting with the name.

Linus Torvalds vs. Ambiguous Abstractions
read.thecoder.cafe/p/linus-torv...

28.11.2025 11:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Build Your Own Key-Value Storage Engineβ€”Week 2 LSM Tree Foundations

Build Your Own Key-Value Storage Engineβ€”Week 2: In-Memory Store (Written in collaboration with @scylladb.com)

This week, we explore the foundations of LSM trees: memtable and SSTables.
read.thecoder.cafe/p/build-your...

19.11.2025 14:55 πŸ‘ 5 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Nothing Beats Kindness: Celebrating World Kindness Day No act of kindness, no matter how small, is ever wasted.

"No act of kindness, no matter how small, is ever wasted."

[New post] Nothing Beats Kindness: Celebrating World Kindness Day πŸŽ‰
read.thecoder.cafe/p/nothing-be...

13.11.2025 12:08 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Build Your Own Key-Value Storage Engineβ€”Week 1 In-Memory Store

Build Your Own Key-Value Storage Engineβ€”Week 1: In-Memory Store

The beginning of the series written in collaboration with @scylladb.com where we explore key-value storage engines. This week, we start with a simple in-memory storage and the validation client.
read.thecoder.cafe/p/build-your...

05.11.2025 15:31 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Horror Coding Stories: Therac-25 β€” A deadly race condition and overflow In total, there were six known radiation overdoses involving the Therac-25,and at least three were fatal.

πŸŽƒ Horror Coding Stories: Therac-25β€”A deadly race condition and overflow
read.thecoder.cafe/p/therac-25

31.10.2025 15:25 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Falsehoods Programmers Believe About Names | Kalzumeus Software Classic essay about how software routinely bumbles human names.

Falsehoods Programmers Believe About Names
www.kalzumeus.com/2010/06/17/f...

30.10.2025 08:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

[New post]
Speed vs. Velocity: The Difference Between Moving Fast and Moving Forward
read.thecoder.cafe/p/speed-vs-v...

22.10.2025 15:31 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

At long last, @chris.blue and I have submitted the final manuscript of Designing Data-Intensive Applications, second edition, to the publisher. There is always more that could be improved but at some point we just have to call it done. Now it goes into production; probably shipping in ~4 months.

20.10.2025 19:54 πŸ‘ 309 πŸ” 23 πŸ’¬ 12 πŸ“Œ 7

I just got my πŸ‡¬πŸ‡§ visa.

20.10.2025 13:49 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Conflict-Free Replicated Data Types (CRDTs): Convergence Without Coordination No matter when or how often the nodes sync, they always end up with the same state.

[New post]
Conflict-Free Replicated Data Types (CRDTs): Convergence Without Coordination
read.thecoder.cafe/p/crdt

16.10.2025 14:06 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

I created a new root website for thecoder.cafe and moved the newsletter to read.thecoder.cafe. Thanks to @Cloudflare, which enabled a smooth transition.

15.10.2025 20:43 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I vibe code the same way I play: saving my progress every 15 seconds.

15.10.2025 07:04 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
An image with P99 CONF speakers

An image with P99 CONF speakers

P99 CONF is next week! Which talks are on your "can't miss" list?

13.10.2025 15:36 πŸ‘ 13 πŸ” 8 πŸ’¬ 0 πŸ“Œ 4
Preview
Agentic Design Patterns Agentic Design Patterns A Hands-On Guide to Building Intelligent Systems, Antonio Gulli Table of Contents - total 424 pages = 1+2+1+1+4+9+103+61+34+114+74+5+4 11 Dedication, 1 page Acknowledgment,...

Agentic Design Patterns
docs.google.com/document/d/1...

10.10.2025 15:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
The Story of The Coder Cafe: Celebrating the First Year I love sharing, and you give me an audience.

The Story of The Coder Cafe: Celebrating the First Year

This is my story behind the creation of a tech newsletter: the process, the ideas, the struggles, etc.
www.thecoder.cafe/p/the-coder-...

09.10.2025 15:26 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
The Coder Cafe book cover.

The Coder Cafe book cover.

Today marks the birthday of my newsletter πŸ₯³!

It turns out that I wrote quite a bit during the year, so I decided to compile all the posts and release them as a book (260 pages).

The book is available on Leanpub: DRM-free EPUB/PDF.

Get the book: leanpub.com/thecodercafe...
RT appreciated πŸ™.

07.10.2025 12:43 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
On-on-one - Teiva Harsanyi

I re-enabled my Calendly session: calendly.com/teiva-harsan...
If you want to chat about tech, non-tech topics, whatever, feel free to book a slot!

07.10.2025 10:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Does that help?
- www.vldb.org/pvldb/vol15/...
- cwiki.apache.org/confluence/d...
- cwiki.apache.org/confluence/d...

03.10.2025 13:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Organic Growth vs. Controlled Growth: What Kind of Garden Is Your Codebase? A codebase is like a garden: left to grow organically, it becomes colorful but chaotic.

πŸ“’ New post: Organic Growth vs. Controlled Growth
What Kind of Garden Is Your Codebase?
www.thecoder.cafe/p/organic-gr...

30.09.2025 11:32 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

It explains why, for example, LSM trees achieve low write/update cost but pay in read amplification or memory.

The whitepaper: openproceedings.org/2016/conf/ed...

29.09.2025 19:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

TIL: The RUM Conjecture

In short, the conjecture says that any access method faces a 3-way trade-off among read overhead, update overhead, and memory/space overhead and you can optimize at most two.

29.09.2025 19:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

My notes on the SILK: Preventing Latency Spikes in LSM Key-Value Stores whitepaper.

substack.com/@teivah/note...

29.09.2025 12:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

😁

27.09.2025 11:04 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Sort Lines in Source Code This article was adapted from a Google Tech on the Toilet (TotT) episode. You can download a printer-friendly version of this TotT epis...

Sort Lines in Source Code
testing.googleblog.com/2025/09/sort...

24.09.2025 14:27 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
What Makes System Calls Expensive: A Linux Internals Deep Dive An explanation of how Linux handles system calls on x86-64 and why they show up as expensive operations in performance profiles

What Makes System Calls Expensive: A Linux Internals Deep Dive.
blog.codingconfessions.com/p/what-makes...

Another great post by @abhi9u.bsky.social. I learned a lot, including vDSO.

16.09.2025 20:01 πŸ‘ 15 πŸ” 8 πŸ’¬ 0 πŸ“Œ 0
Preview
What I Learned During My Paternity Leave: Books, Code, and Fatherhood Life itself is unrepeatableΒ in its details.

πŸ“’ New post

What I Learned During My Paternity Leave
Books, Code, and Fatherhood
www.thecoder.cafe/p/paternity-...

16.09.2025 14:41 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Latency and User Experience: How to Minimize Perceived Latency Sometimes, we can’t make things faster, but we can make them feel faster.

I've updated one of my top posts with additional examples from Gmail and Instagram.

Latency and User Experience
www.thecoder.cafe/p/latency-an...

15.09.2025 12:26 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0