System Design Guide for Software Professionals
Build scalable solutions – from fundamental concepts to cracking top tech company interviews
Dhirendra Sinha
Tejas Chopra
System Design Guide for Software Professionals
Copyright © 2024 Packt Publishing
All rights reserved . No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Associate Group Product Manager : Kunal Sawant
Publishing Product Manager : Akash Sharma
Book Project Manager : Deeksha Thakkar
Senior Editor : Esha Banerjee
Technical Editor : Vidhisha Patidar
Copy Editor : Safis Editing
Proofreader : Esha Banerjee
Indexer : Hemangini Bari
Production Designers : Joshua Misquitta and Ponraj Dhandapani
DevRel Marketing Coordinator : Sonia Chauhan
First published: August 2024
Production reference: 1300724
Published by Packt Publishing Ltd. Grosvenor House 11 St Paul’s Square Birmingham B3 1RB, UK
ISBN 978-1-80512-499-3
To my parents, whose unwavering support and love have been my greatest source of strength. Your belief in me has always been the foundation upon which I've built my dreams.
To my lovely wife, Shruti, for her endless patience, understanding, and constant encouragement. Your love has been my guiding light, and your unwavering support has given me the strength to persevere.
To my kids Kunshi and Kavni, for their boundless energy and joy, which have been a constant source of inspiration. Your curiosity and enthusiasm for learning inspire me every day.
To my teachers, who imparted wisdom and inspired a lifelong love of learning. Your dedication and passion for teaching have left an indelible mark on my life and career.
To all the book authors, blog writers, and content creators who have expressed their thoughts and shared their expertise in the area of software system design. Your insights and contributions have been invaluable, and this book is a testament to the collective knowledge and creativity of our community.
Dhirendra Sinha
To Mahima, my loving wife and steadfast partner in this journey – your unwavering support and encouragement have been my anchor. And to our little wonder, Nyra – your curiosity lights up my world and fuels my passion to explain even the most complex ideas.
To my parents and sister, Anchal – your love, guidance, and belief in me have shaped not just this book, but the person I am. Your support has been the wind beneath my wings, pushing me to explore new heights in technology and life.
This book is a labor of love, inspired by and dedicated to all of you. Thank you for being my strength, my motivation, and my joy.
Tejas Chopra
Contributors
About the authors
Dhirendra Sinha is a Software Engineering Manager at Google. He is an angel investor and has served as a Strategic and Technology advisor at a few startups. Dhirendra has around two decades of experience in the Software Engineering field building highly scalable complex distributed systems and managing multiple Engineering teams. While he has experience in working at large companies such as Cisco, Oracle, Yahoo, and Google, he has also been involved with early and late stage startups in leadership positions. In addition to his strong Software Engineering experience, he has been teaching the Distributed System Design course for the last seven years. He has also been coaching and mentoring Software Engineers and Software Engineering Managers for over a decade. He completed his Bachelor of Technology degree from IIT Guwahati and Master of Science from Texas A and M University, College Station, Texas.
Tejas Chopra is a Senior Engineer at Netflix working on building the Machine Learning Platform powering Netflix recommendations and personalization. He is also a Co-founder at GoEB1, which is the world’s first thought leadership platform for immigrants. Tejas is a recipient of the prestigious EB1A (Einstein) visa in the US. He is a Tech 40 under 40 Award winner, a 2xTEDx speaker, a British Computer Society (BCS) Fellow, and has spoken at conferences and panels on Cloud Computing, Blockchain, Machine Learning, Software Development, and Engineering Leadership. Tejas has been awarded the “International Achievers Award, 2023” by the Indian Achievers’ Forum. He is an Adjunct Professor of Software Development at the University of Advancing Technology, Arizona, an Angel Investor, and has previously been an Advisor to startups such as Nillion, Inc. He is also a member of the Advisory Board for Future of Memory and Storage Summit. Tejas’ experience has been in companies such as Box, Apple, Samsung, Cadence, and Datrium. Tejas holds a Masters Degree in Electrical & Computer Engineering from Carnegie Mellon University, Pittsburgh.
About the reviewers
Ruchi Agarwal is a Senior Software Engineer currently working as a technical lead at Netflix, with over 13 years of experience in building and leading technical projects across multiple high-tech companies, including Netflix, Apple, and eBay
At Netflix, Ruchi was the first hired engineer in the internal employees’ applications team that builds solutions for company-wide usages. Building the team from its inception, she played a critical role in setting the engineering direction and building essential tools to streamline Netflix's corporate operations for its employees.
As a technical leader, Ruchi has spearheaded numerous projects integral to the operations of Netflix, which employs over 12,000 people. Ruchi led and architected numerous projects at Netflix that saved the company millions of dollars in annual revenue.
During her time at Apple, Ruchi was a critical resource in building tools that played a crucial role in the development of new iPhones.
Ruchi actively champions the empowerment of women in the tech industry and inspires students through impactful speaking engagements ensuring that the voices and perspectives of women continue to shape the future of technology
Chinmay Abhay Nerurkar is a highly respected Engineering Leader with 15+ years of diverse industry experience in building enterprise-scale software products using AI/ML, Big Data, Distributed System Design, and Cloud technologies. He is currently a Principal Engineer at Microsoft AI, leading strategic engineering initiatives on the Microsoft Copilot Platform.
Chinmay is an experienced career mentor who coaches engineering managers and individual contributors on all-rounded growth. His passion lies in cultivating an inclusive, empowering team culture while promoting engagement and driving innovation. Chinmay is also a sought-after keynote speaker who has presented at major international conferences such as P99 CONF, DeveloperWeek NYC, AI DevWorld SFO, Graph+AI ML, etc. and has chaired multiple industry advisory boards. He is a Fellow at the Institution of Engineering and Technology and at the British Computing Society, Senior Member at IEEE, and Senior Fellow at AI 2030 think-tank for Responsible AI.