
Ben Dicken
@BenjDicken • 45,981 subscribers
databases → @planetscale videos → https://t.co/J5soMyf6XC writing → https://t.co/YpfkF0JaV8
Shorts
Videos

Everyone should know how WALs work. Not sure where to start? Write-ahead logs 101:
Ben Dicken356,920 просмотров • 2 дней назад

So many S3 performance misunderstandings. Let me clear this up for you all.
Ben Dicken957,380 просмотров • 6 дней назад

I don't think you understand the magnitude of this situation. Let me explain.
Ben Dicken737,139 просмотров • 12 дней назад

This is one of the best engineering blogs you'll ever read. Not *just* because you'll learn a lot, but because Vicent Martí sprinkles in a bit of everything. A great story. History of git infrastructure. Distributed systems. Benchmarks. All written by someone who can speak to every point from deep, personal experience. It's also 5,300 words, so grab a drink and enjoy.
Ben Dicken229,527 просмотров • 14 дней назад

In case you forgot how good we have it with M.2 NVMe SSD.
Ben Dicken1,372,858 просмотров • 4 месяцев назад

FYI physics is still physics. NVMe is fast. Felt like a good day to update you all on this
Ben Dicken686,841 просмотров • 3 месяцев назад

I am once again begging you to put your database servers and application servers in the same region.
Ben Dicken1,422,067 просмотров • 1 год назад

Jeff is the reason for my first ever viral tweet. 2 years ago, with probably ~150 followers, I shared about my B-tree visualization tool (eventually turning into the PlanetScale blog). He saw it, liked it, and shared with his audience. Sounds silly, but a little thing like that can change your trajectory. How could one of the most intelligent people in the world think something I built was actually cool? At the time, sounded crazy. Build something useful. Share it. Who knows whose desk it will come across. Oh, and congrats on Discovery Loop!
Ben Dicken75,261 просмотров • 27 дней назад

Over the past 8 days, I received over 100 PRs on the languages repo with additions and improvements. - A bunch of languages were added - Some implementations got tweaks to modify performance - The run script now uses hyperfine for timing Thanks to all the contributors.
Ben Dicken1,200,501 просмотров • 1 год назад

Remember that time Brendan Gregg shouted at hard drives to make them slower? Someone please confirm nvme ssd is immune.
Ben Dicken164,327 просмотров • 2 месяцев назад

*Finally* read through Sam Rose's blog on LLM quantization. It's incredible. For many (even in tech) the understanding of how LLMs work stops at the surface level. Sam is helping us all go deeper, digging into the interesting facets of how AI models truly work. Read it!
Ben Dicken273,219 просмотров • 4 месяцев назад

Database table size impacts performance in more ways than one: a) B-tree depth. Using 8k pages and a 16b uuid: 1 level = ~370 rows 2 levels = ~138k rows 3 levels = ~50m rows 4 levels = ~20b rows The lookup cost on a table with 100k rows is not the same as one with 1b rows. This can apply both to the table itself (MySQL cluster index) as well as the indexes. Sometimes a single query requires many of them. b) Small table → fits in RAM → fast reads. The larger the table, the more likely to read from disk plus churn the cache. c) # of indexes. Each adds maintenance overhead for insertions, and for Postgres vacuum overhead as well. Keep an eye on this! It's useful to take regular stock of your tables + indexes. Clean bloat. Remove unused indexes. Partition if needed.
Ben Dicken212,291 просмотров • 4 месяцев назад

I implemented an ssd, hdd, and tape device. In javascript. For a blog.
Ben Dicken705,700 просмотров • 1 год назад