The Backend Engineering Show with Hussein Nasser

The Backend Engineering Show with Hussein Nasser

By Hussein NasserTechnology
Download on the App Store

The Backend Engineering Show with Hussein Nasser episodes

  • SQL was a mistake

    I like SQL but the standard should have included ways to hint instead of the abstraction of "let me do it for you"

    13 min
  • Caching is a cop-out

    In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out

    16 min
  • How a query optimization gave birth to infinite scroll

    The infinite scroll in social media as we know it today is despised by all. But it always start as a bad idea. It originated as a result of UI change to relief the backend database from inefficient queries. I explore this in this episode of the backend engineering. 0:00 Intro1:00 Classic Paged results 6:23 Limitations of paging9:00 The scroll interface 12:00 How TikTok to infinite scroll 14:00 The current state

    22 min
  • Postgres is half as fast in Linux 7.0

    An aws engineer discovered a 50% regression in postgres throughput while testing the new Linux 7.0 kernel. The cause turns out to be massive TLB and page faults exacerbated by Postgres process-based design. In this backend engineering show episode I dive deep into how this was discovered, the root cause and the possible fixes and workarounds. Intermediate and Advanced Backend Engineering Course Bundlehttps://courses.husseinnasser.com/bundleMy Book, Root Cause: Stories and Lessons from Two Decades of Backend Engineering Bugs https://amzn.to/4cKfZhe 0:00 Intro2:30 The Discovery6:30 Spinlocks9:25 Preemption 13:00 Root Cause17:00 How Postgres Processes exacerbated the problem 22:30 Is the fix easy?25:50 Summary

    35 min
  • Don't let AI rob you

    A discussion about why many engineers still love the struggle, the mistakes, and the process of figuring things out themselves. This is how we grow and get better and stronger. Letting AI do everything (even though it can’t) robs us this feeling.. 


    32 min
  • New Book: Root cause


    I wrote a new book that has been in the works for years. It is called Root Cause, and it is for those who enjoy the art of backend engineering.


    Early in my career, 20 years ago, I built backend and database applications without fully grasping their inner mechanics. Performance issues, race conditions, bugs, and even data corruption often left me lost.


    Since that day, I resolved to truly understand how systems work. From networking protocols and intermediary proxies to backend services and various database engines. I made it a habit to follow every request on its journey through the dark alleys of the network, down to the bowels of the database engine, meanwhile interacting with various kernel data structures in the process at every hop, and back.


    I became obsessed with understanding what happens behind the scenes in software. Not just what breaks, and how but also why and what was the source of the bleed. 


    Root Cause is a collection of the most interesting bugs I encountered, ranging from performance bottlenecks and non-deterministic crashes to subtle data inconsistencies and incorrect results.


    This book is for anyone curious about how production backend systems really behave under pressure, and how to debug them when they don’t. Even when you don’t have access to the source code.


    Root cause consists of 15 chapters, each is a story about a backend bug, with investigation, diagrams, a section of a fundamental concept until the root cause is revealed.


    Grab your copy here paperback or kindle ebook


    paperback

    https://amzn.to/4cKfZhe


    ebook

    https://amzn.to/4cfQjJj




    10 min
  • Page Tables


    Page tables provide the mapping between virtual memory and physical memory for each process. This means it needs to be as efficient and as fast as possible. I explore the inner workings of page tables in this episode.


    • 0:00 Intro
    • 2:00 Virtual Memory

    ⁃ ⁃ 8:00 MMU

    • 10:00 Page Tables

    ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ 11:30 Single Table Byte Addressability  

    ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ 16:00 Single Table Page addressability 

    ⁃ ⁃ ⁃ ⁃ ⁃ 19:00 Multi-level Paging (Radix tree)

    ⁃ ⁃ 31:00 Huge Tables

    ⁃ ⁃ 33:00 TLB

    ⁃ ⁃ Summary


    47 min

About The Backend Engineering Show with Hussein Nasser

From the publisher's feed

Welcome to the Backend Engineering Show podcast with your host Hussein Nasser. If you like software engineering you’ve come to the right place. I discuss all sorts of software engineering technologies and news with specific focus on the backend. All opinions are my own.

More shows like The Backend Engineering Show with Hussein Nasser

Freakonomics Radio by Freakonomics Radio + Stitcher

Freakonomics Radio

32,053 Listeners

Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

Software Engineering Radio - the podcast for professional software developers

273 Listeners

Risky Business by Risky Business Media

Risky Business

375 Listeners

Science Vs by Spotify Studios

Science Vs

12,186 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

985 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,059 Listeners

Practical AI by Daniel Whitenack and Chris Benson

Practical AI

202 Listeners

Within Reason by Alex J O'Connor

Within Reason

1,629 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

10,185 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

567 Listeners

Big Technology Podcast by Alex Kantrowitz

Big Technology Podcast

510 Listeners

Hard Fork by The New York Times

Hard Fork

5,561 Listeners

The AI Daily Brief: Artificial Intelligence News and Analysis by Nathaniel Whittemore

The AI Daily Brief: Artificial Intelligence News and Analysis

680 Listeners

Prof G Markets by Vox Media Podcast Network

Prof G Markets

1,450 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

72 Listeners