Learn System Design

By: Ben Kitchell
  • Summary

  • A bi-weekly podcast hosted by a senior engineer named Ben Kitchell that takes a deep dive into learning about technical system design by learning together. Each episode we will explore the inner workings of what makes these systems so complex and fascinating while building on our knowledge of how they came together. All music written and performed by the mysterious Aimless Orbiter. You can find more info about him and his music at https://soundcloud.com/aimlessorbitermusic
    © 2025 Learn System Design
    Show More Show Less
Episodes
  • Mastering System Design Interview: Creating a Scalable Parking Garage System
    Jan 28 2025

    The Learn System Design podcast delves into the intricacies of designing a parking lot system, a topic often encountered in technical interviews, especially at large tech companies. The host, Ben Kitchell, begins by providing context from previous discussions, particularly regarding the importance of atomicity and redundancy in system design. He emphasizes the need for a reliable and scalable architecture that can handle real-time reservations and payments, illustrating the challenges of maintaining consistency in a distributed environment. The episode outlines critical functional requirements such as user authentication, reservation capabilities, and payment processing, while also addressing non-functional requirements like security and latency.


    Throughout the discussion, Ben explores the CAP theorem, highlighting the trade-offs between consistency and availability. He advocates for prioritizing consistency in this specific use case—parking reservations—because allowing multiple users to occupy the same spot would lead to significant user dissatisfaction. The episode also covers capacity estimates, proposing a realistic user base and discussing storage needs, which ultimately lead to considerations for database modeling. Ben suggests utilizing a relational database for its inherent relationships between users, vehicles, and reservations, ensuring data integrity and efficient querying.


    Furthermore, the podcast dives into the technical architecture of the system, advocating for a modular approach with dedicated services for user management, vehicle handling, parking spot management, and payment processing. Ben proposes the use of Redis for distributed locking to manage concurrency effectively, ensuring that users cannot double-book parking spots. He concludes with a discussion on scaling strategies and the importance of designing systems that can evolve with changing demands. This episode serves as a comprehensive guide for engineers looking to deepen their understanding of system design while preparing for real-world application and technical interviews.

    Takeaways:

    • Building a parking lot system requires a focus on core functional requirements like user reservation and payment.
    • Using a distributed locking mechanism, such as Redis, can help maintain consistency in concurrent transactions.
    • Non-functional requirements such as security and low latency are critical for user satisfaction.
    • Estimating capacity for the system is important; 100,000 users a month is a realistic start.
    • A structured database model with tables for users, vehicles, reservations, and spots is essential for functionality.
    • Designing for scalability involves separating services and using load balancers to manage traffic effectively.

    Companies mentioned in this episode:

    • Amazon
    • AWS
    • DynamoDB
    • Zookeeper
    • Stripe
    • Raising Cane's
    • Chick Fil A


    Support the show

    Dedicated to the memory of Crystal Rose.

    Email me at LearnSystemDesignPod@gmail.com

    Join the free Discord

    Consider supporting us on Patreon

    Special thanks to Aimless Orbiter for the wonderful music.

    Please consider giving us a rating on ITunes or wherever you listen to new episodes.


    Show More Show Less
    39 mins
  • Mastering System Design Interview: From Concept to Scale Building Efficient URL Shorteners
    Jan 7 2025

    Send us a text

    URL Shortener Designs

    Unlock the secrets to designing a high-performing URL shortener system in our latest episode with Ben at the helm! Get ready to master the essentials that transform a simple idea into a robust tool, essential for platforms with strict character limits like Twitter. We'll walk you through the core elements of creating effective short URLs, from ensuring seamless redirects to setting expiration dates tailored for various industries like marketing firms. Discover the importance of high availability in read-heavy systems, and learn how to craft a service that not only meets but anticipates user demands.

    Dive into the architectural complexities of building a URL shortener that can scale to billions of requests. Ben breaks down the nitty-gritty of data model structuring and the strategic benefits of non-relational databases like Cassandra for horizontal scaling. Learn to harness the power of character hashes and explore innovative ways to keep your URLs unique and efficient. We'll reveal the architectural tactics like adding database replicas and load balancers to maintain system availability and performance. Tune in for a wealth of strategies and insights that promise to elevate your system design skills to new heights!


    Support the show

    Dedicated to the memory of Crystal Rose.
    Email me at LearnSystemDesignPod@gmail.com
    Join the free Discord
    Consider supporting us on Patreon
    Special thanks to Aimless Orbiter for the wonderful music.
    Please consider giving us a rating on ITunes or wherever you listen to new episodes.


    Show More Show Less
    34 mins
  • Mastering System Design Interviews: Building Scalable Web Crawlers
    Dec 17 2024

    Send us a text

    Web Crawler Designs

    Can a simple idea like building a web crawler teach you the intricacies of system design? Join me, Ben Kitchell, as we uncover this fascinating intersection. Returning from a brief pause, I'm eager to guide you through the essential building blocks of a web crawler, from queuing seed URLs to parsing new links autonomously. These basic functionalities are your gateway to creating a minimum viable product or acing that system design interview. You’ll gain insights into potential extensions like scheduled crawling and page prioritization, ensuring a strong foundation for tackling real-world challenges.

    Managing a billion URLs a month is no small feat, and scaling such a system requires meticulous planning. We’ll break down the daunting numbers into digestible pieces, exploring how to efficiently store six petabytes of data annually. By examining different database models, you’ll learn how to handle URLs, track visit timestamps, and keep data searchable. The focus is on creating a robust system that not only scales but does so in a way that meets evolving demands without compromising on performance.

    Navigating the complexities of designing a web crawler means making critical decisions about data storage and system architecture. We’ll weigh the benefits of using cloud storage solutions like AWS S3 and Azure Blob Storage against maintaining dedicated servers. Discover the role of REST APIs in seamless user and service interactions, and explore search functionalities using Cassandra, Amazon Athena, or Google’s BigQuery. Flexibility and foresight are key as we build systems that adapt to future needs. Thank you for your continued support—let’s keep learning and growing on this exciting system design journey together.

    Support the show

    Dedicated to the memory of Crystal Rose.
    Email me at LearnSystemDesignPod@gmail.com
    Join the free Discord
    Consider supporting us on Patreon
    Special thanks to Aimless Orbiter for the wonderful music.
    Please consider giving us a rating on ITunes or wherever you listen to new episodes.


    Show More Show Less
    32 mins

What listeners say about Learn System Design

Average customer ratings

Reviews - Please select the tabs below to change the source of reviews.