<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[InterviewCafe’s Newsletter]]></title><description><![CDATA[InterviewCafe provides free, expert-led resources to help students and professionals excel in technical interviews and advance their careers.]]></description><link>https://blog.interviewcafe.io</link><image><url>https://substackcdn.com/image/fetch/$s_!IkXm!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f4b096b-833c-4e2e-99e9-19103fc317f7_310x310.png</url><title>InterviewCafe’s Newsletter</title><link>https://blog.interviewcafe.io</link></image><generator>Substack</generator><lastBuildDate>Thu, 23 Apr 2026 22:53:15 GMT</lastBuildDate><atom:link href="https://blog.interviewcafe.io/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[InterviewCafe Academy]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[info@interviewcafe.io]]></webMaster><itunes:owner><itunes:email><![CDATA[info@interviewcafe.io]]></itunes:email><itunes:name><![CDATA[InterviewCafe]]></itunes:name></itunes:owner><itunes:author><![CDATA[InterviewCafe]]></itunes:author><googleplay:owner><![CDATA[info@interviewcafe.io]]></googleplay:owner><googleplay:email><![CDATA[info@interviewcafe.io]]></googleplay:email><googleplay:author><![CDATA[InterviewCafe]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[SD 02: Functional vs Non-Functional Requirements: What You Must Know Before Building Any System]]></title><description><![CDATA[Clear requirements are the foundation of successful system design. They define expectations from both business and technical perspectives, eliminating ambiguity and reducing rework.]]></description><link>https://blog.interviewcafe.io/p/sd-02-functional-vs-non-functional</link><guid isPermaLink="false">https://blog.interviewcafe.io/p/sd-02-functional-vs-non-functional</guid><dc:creator><![CDATA[InterviewCafe]]></dc:creator><pubDate>Wed, 14 May 2025 20:10:49 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Tkno!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2><strong>Introduction</strong></h2><h3><strong>Why Requirements Matter in System Design</strong></h3><p>Imagine building a house without asking the owner how many bedrooms they want or whether they need a garage.</p><p><strong>Sounds ridiculous, right?</strong></p><p>But that's exactly what happens when software teams jump into coding without clarifying <strong>what the system should do</strong> and <strong>how it should perform</strong>.</p><p>In the world of system design, requirements are your <strong>foundation</strong>.</p><p>They define the expectations of a system from both a business and technical perspective. Without them, you're building in the dark.</p><ul><li><p><strong>Functional requirements</strong> tell you what the system should do - logins, payments, notifications.</p></li><li><p><strong>Non-functional requirements (NFRs)</strong> define how the system should behave - fast response times, security, uptime, scalability.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Tkno!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Tkno!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 424w, https://substackcdn.com/image/fetch/$s_!Tkno!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 848w, https://substackcdn.com/image/fetch/$s_!Tkno!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 1272w, https://substackcdn.com/image/fetch/$s_!Tkno!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Tkno!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png" width="1048" height="988" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:988,&quot;width&quot;:1048,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:387293,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/163576897?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Tkno!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 424w, https://substackcdn.com/image/fetch/$s_!Tkno!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 848w, https://substackcdn.com/image/fetch/$s_!Tkno!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 1272w, https://substackcdn.com/image/fetch/$s_!Tkno!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd3b6048-b5fb-438f-90f0-4b4bf9d0077c_1048x988.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Clear requirements eliminate ambiguity, reduce rework, and ensure all stakeholders - engineers, designers, product managers, and clients - are on the same page.</p><p>When defined and documented properly, they guide every decision in the software development lifecycle (SDLC).</p><blockquote><p><strong>Crack Java Interviews Like a Pro</strong> with my new Book - "The Art of Cracking Java Interviews"</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25&quot;,&quot;text&quot;:&quot;Grab your copy now &amp; step up your prep!&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25"><span>Grab your copy now &amp; step up your prep!</span></a></p></blockquote><h3><strong>Common Mistakes Developers Make Without Clear Requirements</strong></h3><p>Developers often focus on features, ignoring how those features should behave under pressure.</p><p><strong>Here's what happens when teams skip proper requirements gathering:</strong></p><ul><li><p><strong>Performance issues:</strong> The app works but crashes under load.</p></li><li><p><strong>Security vulnerabilities:</strong> Login works but isn&#8217;t protected against brute-force attacks.</p></li><li><p><strong>Scalability nightmares:</strong> Everything works until you hit 10,000 users - then it collapses.</p></li></ul><div class="pullquote"><p><strong>Point to remember:</strong> A great feature is useless if it&#8217;s not usable, secure, or fast. Requirements help you avoid building a &#8220;<strong>functionally correct but practically unusable</strong>&#8221; system.</p></div><h2><strong>What Are Functional Requirements?</strong></h2><h3><strong>Definition and Purpose</strong></h3><p>Functional requirements define the <strong>core functionality</strong> of a system.</p><p>They describe what the system should do, from a <strong>user&#8217;s perspective</strong>.</p><p>If someone asks, &#8220;<strong>What features will the system provide?</strong>&#8221; - they&#8217;re asking about functional requirements.</p><p>These are the <strong>tasks</strong>, <strong>operations</strong>, and <strong>behaviors</strong> your system must support.</p><p><strong>For example:</strong></p><ul><li><p>&#8220;The system shall allow users to register an account.&#8221;</p></li><li><p>&#8220;The system shall send an email confirmation upon registration.&#8221;</p></li></ul><p><strong>In technical terms, functional requirements focus on:</strong></p><ul><li><p>Input &#8594; Processing &#8594; Output</p></li><li><p>Data management (CRUD operations)</p></li><li><p>Business rules and workflows</p></li></ul><h3><strong>Real-Life Examples</strong></h3><p>Let&#8217;s bring this to life with a simple app - say, <strong>a food delivery application</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KXWZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KXWZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 424w, https://substackcdn.com/image/fetch/$s_!KXWZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 848w, https://substackcdn.com/image/fetch/$s_!KXWZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 1272w, https://substackcdn.com/image/fetch/$s_!KXWZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KXWZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png" width="1080" height="846" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:846,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:137249,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/163576897?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KXWZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 424w, https://substackcdn.com/image/fetch/$s_!KXWZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 848w, https://substackcdn.com/image/fetch/$s_!KXWZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 1272w, https://substackcdn.com/image/fetch/$s_!KXWZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76ca85e3-56c8-4821-9030-13d468f6e96b_1080x846.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="pullquote"><p>Each of these functionalities defines <strong>what</strong> the system must do to fulfil its business purpose.</p></div><h3><strong>How to Identify Functional Requirements in Projects</strong></h3><ol><li><p><strong>Talk to users and stakeholders:</strong> What do they want the system to do?</p></li><li><p><strong>Review current processes:</strong> If replacing an old system, what functions must be replicated?</p></li><li><p><strong>Use diagrams:</strong> Flowcharts, use case diagrams, and user stories help uncover key operations.</p></li></ol><blockquote><p><strong>Tip:</strong> Use the "<strong>Given-When-Then</strong>" format to write behavior-driven requirements:</p><p>Given a registered user, when they add an item to the cart, then the cart should update with the item and price.</p></blockquote><h2><strong>What Are Non-Functional Requirements?</strong></h2><h3><strong>Definition and Importance</strong></h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aPkr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aPkr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 424w, https://substackcdn.com/image/fetch/$s_!aPkr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 848w, https://substackcdn.com/image/fetch/$s_!aPkr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 1272w, https://substackcdn.com/image/fetch/$s_!aPkr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aPkr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png" width="1080" height="731" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:731,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:103423,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/163576897?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!aPkr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 424w, https://substackcdn.com/image/fetch/$s_!aPkr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 848w, https://substackcdn.com/image/fetch/$s_!aPkr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 1272w, https://substackcdn.com/image/fetch/$s_!aPkr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0fff833-1268-4497-964d-7cf7ccb8bfec_1080x731.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>While functional requirements define what the system does, <strong>non-functional requirements (NFRs)</strong> define <strong>how</strong> the system performs.</p><p>Think of these as the <strong>quality attributes</strong> of your system.</p><ul><li><p>How fast should the system respond?</p></li><li><p>How many users should it support?</p></li><li><p>How secure must it be?</p></li><li><p>How easy should it be to use?</p></li></ul><p>These don&#8217;t add features but <strong>enhance usability, performance, and reliability</strong>. Without them, a system may &#8220;<strong>work</strong>,&#8221; but still fail in the real world.</p><h3><strong>Real-Life Examples</strong></h3><p>Let&#8217;s go back to our food delivery app.</p><p><strong>Here are some non-functional requirements:</strong></p><ul><li><p><strong>Performance:</strong> The app must load within 2 seconds.</p></li><li><p><strong>Availability:</strong> The system must be available 99.9% of the time.</p></li><li><p><strong>Scalability:</strong> Must support 10,000 concurrent users during peak hours.</p></li><li><p><strong>Security:</strong> All user data must be encrypted in transit and at rest.</p></li><li><p><strong>Usability:</strong> The UI must be mobile-responsive and accessible.</p></li></ul><h3><strong>Common Categories of Non-Functional Requirements</strong></h3><ol><li><p><strong>Performance Requirements:</strong> Response time, throughput, latency.</p></li><li><p><strong>Scalability:</strong> Horizontal/vertical scaling capability.</p></li><li><p><strong>Security:</strong> Authentication, authorization, data encryption.</p></li><li><p><strong>Reliability:</strong> System should operate correctly over time.</p></li><li><p><strong>Maintainability:</strong> Easy to update, debug, and patch.</p></li><li><p><strong>Portability:</strong> Can the app run across platforms or devices?</p></li><li><p><strong>Compliance:</strong> GDPR, HIPAA, PCI DSS requirements.</p></li></ol><blockquote><p><strong>Quick Note: </strong>NFRs often become system-wide decisions, impacting your architecture, choice of technologies, and deployment strategies.</p></blockquote><h2><strong>Functional vs. Non-Functional Requirements: The Key Differences</strong></h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!M0Qj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!M0Qj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 424w, https://substackcdn.com/image/fetch/$s_!M0Qj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 848w, https://substackcdn.com/image/fetch/$s_!M0Qj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 1272w, https://substackcdn.com/image/fetch/$s_!M0Qj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!M0Qj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png" width="1022" height="825" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:825,&quot;width&quot;:1022,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:103235,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/163576897?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!M0Qj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 424w, https://substackcdn.com/image/fetch/$s_!M0Qj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 848w, https://substackcdn.com/image/fetch/$s_!M0Qj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 1272w, https://substackcdn.com/image/fetch/$s_!M0Qj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bff2bfe-a71e-4ed8-9815-333fdb2676fd_1022x825.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>Practical Differences in Implementation</strong></h3><p>Functional requirements often translate to <strong>feature development</strong>, while non-functional requirements often require:</p><ul><li><p>Architectural design changes (e.g., adding caching for speed)</p></li><li><p>Infrastructure setup (e.g., load balancers for scalability)</p></li><li><p>DevOps configurations (e.g., monitoring and alerting tools)</p></li></ul><h3><strong>How These Influence System Design Decisions</strong></h3><p>If you&#8217;re designing a <strong>banking system</strong>, security and data integrity (non-functional) will shape every functional design - right from login mechanisms to data storage choices.</p><p>If you&#8217;re building a <strong>real-time messaging app</strong>, latency and throughput requirements could influence your decision to use <strong>WebSockets</strong> instead of traditional HTTP polling.</p><div class="pullquote"><p><strong>Point to remember:</strong> Ignoring non-functional requirements in design is like building a sports car with no brakes - it might be fast, but it&#8217;s dangerous.</p></div><h2><strong>Gathering and Documenting Requirements</strong></h2><h3><strong>Stakeholder Interviews</strong></h3><p>The first and most crucial step in gathering requirements is <strong>talking to the right people</strong>. Stakeholders include everyone who has a vested interest in the system - product managers, end-users, business executives, developers, QA teams, and sometimes even regulators.</p><p><strong>Why interviews matter:</strong></p><ul><li><p>They surface expectations, pain points, and goals.</p></li><li><p>They help discover both <strong>explicit</strong> and <strong>implicit</strong> needs.</p></li><li><p>They ensure you're building what the business actually needs&#8212;not just what seems logical on paper.</p></li></ul><p><strong>Sample questions to ask stakeholders:</strong></p><ul><li><p>What problem are we trying to solve?</p></li><li><p>Who will use this system and how?</p></li><li><p>What are the most critical operations?</p></li><li><p>What could make or break this system for you?</p></li></ul><p>By conducting these interviews, you often uncover functional requirements ("I want to log in via Google") and non-functional ones ("It should work even with slow mobile internet").</p><blockquote><p><strong>Tip:</strong> Always confirm your understanding with written summaries or mock-ups to avoid misinterpretation.</p></blockquote><h3><strong>Using Use Cases and User Stories</strong></h3><p>Once you've gathered enough insights, structure them using <strong>use cases</strong> and <strong>user stories</strong>.</p><ul><li><p><strong>Use Case:</strong> Describes how a user interacts with a system to achieve a goal. It's scenario-based.</p></li><li><p><strong>User Story:</strong> A brief, informal description written from the end-user&#8217;s point of view.</p></li></ul><p><strong>Example:</strong></p><ul><li><p><strong>Use Case:</strong> "A customer adds items to the cart and completes checkout using a credit card."</p></li><li><p><strong>User Story:</strong> "As a customer, I want to add items to my cart so I can purchase multiple products at once."</p></li></ul><p><strong>Benefits:</strong></p><ul><li><p>Keeps requirements user-centric</p></li><li><p>Helps developers prioritize what to build</p></li><li><p>Ensures traceability throughout the project</p></li></ul><div class="pullquote"><p><strong>Point to Remember:</strong> User stories should include acceptance criteria to clarify when the story is &#8220;<strong>done</strong>.&#8221;</p></div><h3><strong>Tools and Best Practices for Documentation</strong></h3><p>Documentation doesn't need to be a pain. Use the right tools and best practices to keep it efficient and collaborative:</p><ul><li><p><strong>Tools:</strong></p><ul><li><p><strong>Jira + Confluence</strong> for agile teams</p></li><li><p><strong>Trello or Notion</strong> for lightweight needs</p></li><li><p><strong>Lucidchart or <a href="http://Draw.io">Draw.io</a></strong> for flow diagrams</p></li></ul></li><li><p><strong>Best Practices:</strong></p><ul><li><p>Version control your documentation</p></li><li><p>Use clear, jargon-free language</p></li><li><p>Group requirements by priority and component</p></li><li><p>Keep a change log to track updates over time</p></li></ul></li></ul><blockquote><p><strong>Pro Tip:</strong> Always link functional requirements to their corresponding non-functional requirements.</p><p>For example, a &#8220;<em><strong>Login feature</strong></em>&#8221; might require &#8220;<em><strong>2-second response time under load.</strong></em>&#8221;</p></blockquote><h2><strong>Prioritizing Requirements in System Design</strong></h2><h3><strong>MoSCoW Technique (Must Have, Should Have, Could Have, Won&#8217;t Have)</strong></h3><p>Not all requirements are created equal. Some are essential, others are nice to have. </p><p>The <strong>MoSCoW method</strong> helps in setting priorities:</p><ul><li><p><strong>Must Have</strong>: System won&#8217;t function without it. (e.g., User authentication)</p></li><li><p><strong>Should Have</strong>: Important but not vital. (e.g., Social login support)</p></li><li><p><strong>Could Have</strong>: Adds value but optional. (e.g., Animated transitions)</p></li><li><p><strong>Won&#8217;t Have (for now)</strong>: Out of scope for the current release. (e.g., Dark mode)</p></li></ul><p><strong>Why it&#8217;s useful:</strong></p><ul><li><p>Keeps teams focused on what's critical</p></li><li><p>Helps manage stakeholder expectations</p></li><li><p>Supports phased delivery in agile development</p></li></ul><h3><strong>Balancing Business Needs vs. Technical Constraints</strong></h3><p>Sometimes, business wants a feature that&#8217;s technically complex, or performance expectations that require significant infrastructure investment.</p><p>This is where <strong>trade-off discussions</strong> happen.</p><p><strong>You need to balance:</strong></p><ul><li><p><strong>Business value</strong> vs. <strong>Implementation cost</strong></p></li><li><p><strong>User experience</strong> vs. <strong>Technical feasibility</strong></p></li><li><p><strong>Speed to market</strong> vs. <strong>Long-term scalability</strong></p></li></ul><blockquote><p><strong>Example:</strong> Business might want real-time chat in version 1, but it might be more efficient to start with asynchronous messaging and add real-time features later.</p></blockquote><blockquote><p><strong>Tip:</strong> Use architectural spikes and proof-of-concepts to assess feasibility before committing to complex requirements.</p></blockquote><h3><strong>Creating a Requirements Traceability Matrix</strong></h3><p>A <strong>Requirements Traceability Matrix (RTM)</strong> helps map each requirement to its:</p><ul><li><p>Business goal</p></li><li><p>Related user story</p></li><li><p>Design component</p></li><li><p>Test case</p></li></ul><p><strong>Why it&#8217;s valuable:</strong></p><ul><li><p>Ensures no requirement gets lost in translation</p></li><li><p>Tracks the status of each requirement through the SDLC</p></li><li><p>Helps during audits, compliance checks, and client demos</p></li></ul><p><strong>Sample RTM Entry:</strong></p><p>Requirement ID Description Related User Story Module Test Case Status FR-101 Users must be able to reset password As a user, I want to reset my password Auth Service TC-101 In Progress</p><blockquote><p><strong>Quick Note:</strong> RTMs are especially useful in large, regulated projects like finance, healthcare, and aerospace.</p></blockquote><h2><strong>Real-World Case Studies</strong></h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!u5ey!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!u5ey!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 424w, https://substackcdn.com/image/fetch/$s_!u5ey!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 848w, https://substackcdn.com/image/fetch/$s_!u5ey!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 1272w, https://substackcdn.com/image/fetch/$s_!u5ey!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!u5ey!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png" width="1048" height="1000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1000,&quot;width&quot;:1048,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:379350,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/163576897?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!u5ey!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 424w, https://substackcdn.com/image/fetch/$s_!u5ey!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 848w, https://substackcdn.com/image/fetch/$s_!u5ey!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 1272w, https://substackcdn.com/image/fetch/$s_!u5ey!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9ff43aa-260e-4dd2-ac57-6489e16b5ef7_1048x1000.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>E-commerce Platform</strong></h3><p><strong>Functional Requirements:</strong></p><ul><li><p>Browse products, add to cart, apply discount codes, place orders</p></li><li><p>View order history, track shipment, process returns</p></li></ul><p><strong>Non-Functional Requirements:</strong></p><ul><li><p>Must support 1,000 concurrent users</p></li><li><p>Payment transactions should complete within 3 seconds</p></li><li><p>99.95% uptime expected during seasonal sales</p></li></ul><p><strong>Design Impact:</strong></p><ul><li><p>Used horizontal scaling, CDN caching for images, and failover servers</p></li><li><p>Integrated a payment gateway with a fallback option for reliability</p></li></ul><blockquote><p><strong>Lesson Learned:</strong> Functional features bring users in, but non-functional attributes keep them loyal.</p></blockquote><h3><strong>Banking System</strong></h3><p><strong>Functional Requirements:</strong></p><ul><li><p>View account balance, transfer money, generate statements</p></li><li><p>Two-factor authentication for logins</p></li></ul><p><strong>Non-Functional Requirements:</strong></p><ul><li><p>Must comply with PCI-DSS</p></li><li><p>Data encryption (AES-256), audit trails, 24/7 availability</p></li><li><p>Recovery point objective (RPO) of 1 minute</p></li></ul><p><strong>Design Impact:</strong></p><ul><li><p>Architected for zero-trust, included tokenization for sensitive data</p></li><li><p>Used distributed databases with real-time replication</p></li></ul><blockquote><p><strong>Lesson Learned:</strong> Security and compliance are not optional - they&#8217;re integral.</p></blockquote><h3><strong>Social Media App</strong></h3><p><strong>Functional Requirements:</strong></p><ul><li><p>Post images, follow users, comment, like</p></li><li><p>Receive notifications and messages</p></li></ul><p><strong>Non-Functional Requirements:</strong></p><ul><li><p>Infinite scroll should load within 2 seconds</p></li><li><p>App must handle 50K users simultaneously</p></li><li><p>Notifications must be delivered in real-time</p></li></ul><p><strong>Design Impact:</strong></p><ul><li><p>Used Kafka for real-time updates and Redis for caching</p></li><li><p>Applied content delivery networks (CDNs) for media files</p></li></ul><blockquote><p><strong>Lesson Learned:</strong> For user engagement, performance and UX are just as important as core features.</p></blockquote><h2><strong>Impact of Ignoring Non-Functional Requirements</strong></h2><h3><strong>Real-Life Failures and Lessons Learned</strong></h3><ol><li><p><strong><a href="http://Healthcare.gov">Healthcare.gov</a> Launch (2013)</strong>: The site crashed repeatedly due to an inability to handle unexpected user traffic - lack of scalability planning (an NFR).</p></li><li><p><strong>Slack Outage (2022)</strong>: A downtime caused by a deployment bug magnified due to the absence of robust failover - an oversight in availability and resilience planning.</p></li><li><p><strong>T-Mobile Data Breach</strong>: Poor encryption and security measures led to the leakage of customer data - a failure to prioritize non-functional security requirements.</p></li></ol><blockquote><p><strong>Key Takeaway:</strong> You can&#8217;t &#8220;patch&#8221; a bad design with a bug fix. Ignoring non-functional requirements early results in <strong>catastrophic rework</strong> later.</p></blockquote><h3><strong>Performance Bottlenecks</strong></h3><p>Without clear performance benchmarks:</p><ul><li><p>Your database might become the bottleneck.</p></li><li><p>The system may time out under traffic spikes.</p></li><li><p>APIs may take too long to respond, frustrating users.</p></li></ul><blockquote><p><strong>Tip:</strong> Use load testing tools (like JMeter or Locust) based on your NFRs to test system health before release.</p></blockquote><h3><strong>Security Breaches Due to Overlooked NFRs</strong></h3><p>It&#8217;s not enough that the login feature works. If it:</p><ul><li><p>Stores passwords in plain text</p></li><li><p>Allows unlimited login attempts</p></li><li><p>Lacks multi-factor authentication</p></li></ul><p>...you&#8217;re inviting disaster.</p><blockquote><p><strong>Best Practice:</strong> Treat security requirements as <strong>non-negotiable</strong> and design them into every component from day one.</p></blockquote><h2><strong>Tools to Capture and Manage Requirements</strong></h2><h3><strong>Jira, Confluence, and Trello</strong></h3><p>Agile development thrives on fast-paced iteration and collaboration&#8212;and these tools are the champions of agile project management.</p><ul><li><p><strong>Jira</strong>: Ideal for logging user stories, sprints, and linking development tasks with requirements. You can even categorize stories into functional and non-functional types.</p></li><li><p><strong>Confluence</strong>: Perfect for writing detailed documentation and requirement specifications. Teams often link Confluence pages with Jira tickets for traceability.</p></li><li><p><strong>Trello</strong>: Simpler and more visual - great for early-stage planning or non-technical stakeholders.</p></li></ul><p><strong>Why they work well:</strong></p><ul><li><p>Easy collaboration</p></li><li><p>Centralized documentation</p></li><li><p>Version tracking</p></li><li><p>Custom workflows for approvals</p></li></ul><blockquote><p><strong>Pro Tip:</strong> Use templates in Confluence to standardize how functional and non-functional requirements are documented.</p></blockquote><h3><strong>Requirement Management Tools (IBM DOORS, Jama)</strong></h3><p>For enterprise-grade projects&#8212;especially in industries like <strong>automotive, aerospace, finance, and healthcare</strong>&#8212;you need heavyweight tools that provide full lifecycle traceability and compliance tracking.</p><ul><li><p><strong>IBM DOORS</strong>: Highly customizable, used for complex and safety-critical systems.</p></li><li><p><strong>Jama Software</strong>: Great for collaborative specification writing with built-in impact analysis and risk assessment.</p></li></ul><p><strong>Key Features:</strong></p><ul><li><p>Requirements baseline comparison</p></li><li><p>Visual traceability matrices</p></li><li><p>Audit trails for every change</p></li></ul><p>These tools ensure nothing falls through the cracks when <strong>hundreds or thousands of requirements</strong> are in play.</p><h3><strong>Version Control for Requirement Changes</strong></h3><p>Just like source code, requirements evolve. New features are requested, constraints shift, regulations change. That&#8217;s why tracking versions of requirements is crucial.</p><p><strong>Best Practices:</strong></p><ul><li><p>Use Git or integrated document versioning tools</p></li><li><p>Tag major releases or milestones</p></li><li><p>Maintain a changelog of updated or deprecated requirements</p></li></ul><blockquote><p><strong>Quick Note:</strong> A single change in a non-functional requirement (like a new SLA for uptime) can ripple across your entire architecture. Version control ensures you understand the impact.</p></blockquote><h2><strong>Tips for Developers and Architects</strong></h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7HtT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7HtT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 424w, https://substackcdn.com/image/fetch/$s_!7HtT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 848w, https://substackcdn.com/image/fetch/$s_!7HtT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 1272w, https://substackcdn.com/image/fetch/$s_!7HtT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7HtT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png" width="1024" height="405" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:405,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:109575,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/163576897?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7HtT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 424w, https://substackcdn.com/image/fetch/$s_!7HtT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 848w, https://substackcdn.com/image/fetch/$s_!7HtT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 1272w, https://substackcdn.com/image/fetch/$s_!7HtT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F682bde3a-a219-466e-bea2-fc02b78f8a85_1024x405.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>Think Like a User First</strong></h3><p>Before writing a single line of code or drawing an architecture diagram, ask yourself:</p><ul><li><p>&#8220;What would I expect this system to do?&#8221;</p></li><li><p>&#8220;How would I use this if I were the customer?&#8221;</p></li></ul><p>Empathy drives better systems. The more time you spend understanding the end-user, the more relevant your functional requirements become.</p><h3><strong>Collaborate with Business Analysts</strong></h3><p>Developers and architects shouldn&#8217;t work in silos. Collaborating with Business Analysts (BAs) brings two benefits:</p><ul><li><p>BAs understand the business goals and user expectations.</p></li><li><p>Engineers understand what&#8217;s technically possible and scalable.</p></li></ul><blockquote><p><strong>Pro Tip:</strong> Involve BAs in requirement reviews. Their perspective often highlights edge cases and overlooked NFRs (like accessibility or legal compliance).</p></blockquote><h3><strong>Validate and Revisit Requirements Regularly</strong></h3><p>Requirements aren&#8217;t &#8220;<strong>set and forget</strong>&#8221; They should evolve as your product, users, and market grow.</p><ul><li><p><strong>Hold requirement review sessions</strong> every sprint or release.</p></li><li><p><strong>Use feedback from QA and customer support</strong> to adjust or add requirements.</p></li><li><p><strong>Conduct A/B tests or user surveys</strong> to validate assumptions.</p></li></ul><blockquote><p><strong>Lesson:</strong> A requirement that made sense at the beginning of the project might be obsolete six months later. Stay agile.</p></blockquote><h2><strong>Interview Tips Related to Requirements Gathering</strong></h2><h3><strong>Common Questions Asked in Interviews</strong></h3><p>If you're interviewing for a system design or architect role, expect these questions:</p><ul><li><p>How do you gather requirements for a new project?</p></li><li><p>Can you differentiate functional vs. non-functional requirements?</p></li><li><p>Give an example where ignoring NFRs led to problems.</p></li><li><p>How do you manage changing requirements mid-project?</p></li></ul><blockquote><p><strong>Bonus:</strong> In behavioral interviews, you'll often be asked to walk through a real project and explain how you approached requirement analysis.</p></blockquote><h3><strong>How to Structure Your Response</strong></h3><p>Use the <strong>STAR Method</strong> (Situation, Task, Action, Result) to structure your answer.</p><p><strong>Example:</strong></p><ul><li><p><strong>S</strong>: "We were building a health tracking app..."</p></li><li><p><strong>T</strong>: "...and needed to define all the user and system requirements."</p></li><li><p><strong>A</strong>: "I led stakeholder workshops, documented user stories in Jira, and collaborated with the QA team to derive performance metrics."</p></li><li><p><strong>R</strong>: "We shipped on time, with &lt;1% production bugs and a 4.8 user rating."</p></li></ul><h3><strong>STAR Method for Scenario-Based Questions</strong></h3><p>Here's how to apply <strong>STAR</strong> in system design interviews:</p><ul><li><p><strong>Situation</strong>: Brief background</p></li><li><p><strong>Task</strong>: What were you responsible for?</p></li><li><p><strong>Action</strong>: What did you do specifically?</p></li><li><p><strong>Result</strong>: What was the measurable outcome?</p></li></ul><blockquote><p><strong>Interview Tip:</strong> Always mention <strong>tools used, techniques followed</strong>, and <strong>trade-offs considered</strong> - that&#8217;s what interviewers care about most.</p></blockquote><h2><strong>Quick Notes and Summary Table</strong></h2><h3><strong>Bullet Points Recap</strong></h3><ul><li><p>Functional requirements define <strong>what the system does</strong>.</p></li><li><p>Non-functional requirements define <strong>how the system performs</strong>.</p></li><li><p>NFRs are just as critical as features - ignoring them can cause system failures.</p></li><li><p>Use tools like <strong>Jira, Confluence, DOORS</strong>, and <strong>Trello</strong> for documentation.</p></li><li><p>Validate and update requirements often to keep pace with real-world changes.</p></li><li><p>Interviews test your <strong>understanding, communication</strong>, and <strong>analytical skills</strong>&#8212;be prepared.</p></li></ul><h3><strong>Cheat Sheet for Developers</strong></h3><p>Topic Functional Requirement Non-Functional Requirement Focus Business logic and features System performance, usability, security Examples Login, Checkout, Profile update Uptime, latency, encryption, scalability Tracked via User Stories, Use Cases KPIs, SLAs, monitoring tools Defined by Users, Product Managers Architects, DevOps, Compliance Officers Test method Unit and integration tests Load testing, security audits</p><h2><strong>Conclusion</strong></h2><p>In the rush to build and deploy software, it&#8217;s easy to get caught up in coding features and forget about how the system should behave in the real world.</p><p>But building a product without clearly defined functional and non-functional requirements is like launching a rocket without a flight path.</p><p>Functional requirements give the product shape - what it can and should do.</p><p>Non-functional requirements give it strength - how fast, how secure, how reliable. Together, they define not just a working system, but a successful one.</p><p>Whether you're a junior developer, senior architect, or start-up founder, mastering the art of requirements gathering will save you time, money, and countless headaches down the road.</p><p>It&#8217;s not a step in the process - it <strong>is</strong> the foundation of the process.</p><p>So next time you're tempted to "<strong>just start building</strong>" stop.</p><p>Ask the right questions.</p><p>Document the right answers.</p><p>Design from requirements - and you&#8217;ll build better systems.</p><h2><strong>FAQs</strong></h2><h3><strong>1. Can a requirement be both functional and non-functional?</strong></h3><p>Generally, no. Functional requirements define what the system does, while non-functional requirements define how it behaves.</p><p>However, some requirements may seem to overlap - like &#8220;<strong>The system must encrypt data during login</strong>&#8221; - which ties function with performance and security.</p><p>In such cases, treat the &#8220;<strong>what</strong>&#8221; as functional and the &#8220;<strong>how</strong>&#8221; as non-functional.</p><h3><strong>2. Who defines non-functional requirements in a team?</strong></h3><p>Non-functional requirements are usually identified by system architects, DevOps engineers, product owners, and sometimes legal or compliance teams - depending on the system&#8217;s domain.</p><h3><strong>3. How often should requirements be updated?</strong></h3><p>Requirements should be reviewed at every major milestone - new releases, user feedback cycles, or when business goals shift.</p><p>Agile teams typically revisit requirements during backlog grooming or sprint planning.</p><h3><strong>4. What happens if requirements are incomplete?</strong></h3><p>Incomplete requirements lead to <strong>scope creep</strong>, <strong>missed expectations</strong>, and <strong>expensive rework</strong>.</p><p>Worse, it can cause system failures when unplanned use cases or traffic loads hit the system.</p><h3><strong>5. Are non-functional requirements optional?</strong></h3><p>Absolutely not. They are essential for real-world performance.</p><p>A perfectly working feature that&#8217;s slow, insecure, or unreliable is as bad as a broken one.</p><div><hr></div><blockquote><p><strong>Crack Java Interviews Like a Pro</strong> with my new Book - "The Art of Cracking Java Interviews"</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25&quot;,&quot;text&quot;:&quot;Grab your copy now &amp; step up your prep!&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25"><span>Grab your copy now &amp; step up your prep!</span></a></p></blockquote><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.interviewcafe.io/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading InterviewCafe&#8217;s Newsletter! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[🚀 Crack Java Interviews Like a Pro!]]></title><description><![CDATA[Your Ultimate Guide is Finally Here!]]></description><link>https://blog.interviewcafe.io/p/crack-java-interviews-like-a-pro</link><guid isPermaLink="false">https://blog.interviewcafe.io/p/crack-java-interviews-like-a-pro</guid><dc:creator><![CDATA[InterviewCafe]]></dc:creator><pubDate>Thu, 01 May 2025 19:58:44 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!kCaK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you're preparing for a Java interview - whether it's your <strong>first tech job</strong>, an <strong>internal switch</strong>, or you're eyeing <strong>FAANG roles</strong> - I&#8217;ve got something that can save you weeks of scattered prep&#8230;</p><p>&#128218; <strong>The Art of Cracking Java Interviews</strong><br>A complete, practical book written by <strong>Santosh Kumar Mishra (Software Engineer at Microsoft)</strong> - packed with everything you need to walk into your next interview with confidence.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kCaK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kCaK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!kCaK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!kCaK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!kCaK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kCaK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:579830,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kCaK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!kCaK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!kCaK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!kCaK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38add922-35ca-4f80-995e-b1e625910e63_1080x1080.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>&#128717;&#65039; <strong>Limited-Time Offer: Get 25% OFF</strong> using coupon code &#8594; <code>CRACKJAVA25</code></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25&quot;,&quot;text&quot;:&quot;&#128073; Click here to buy now!&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25"><span>&#128073; Click here to buy now!</span></a></p><p>&#9203; <strong>Don&#8217;t wait &#8212; this offer won&#8217;t last forever!</strong></p><h3>&#10024; Why This Book Is Different (And Worth Every Rupee)</h3><p>This isn&#8217;t just a theory dump. It&#8217;s structured, visual, hands-on, and <strong>interview-focused</strong> - trusted by over <strong>10,000+ learners and engineers</strong> already.</p><p>Below are <strong>reasons</strong> why this book is worth your attention &#128071;<br>(<em>And yes, I've attached real screenshots of the book itself for proof!</em>)</p><h3>&#128161; 1. Real-Life Examples for Every Concept</h3><p>What makes this book stand out is how it relates <strong>every concept to real life</strong>. From <strong>ATM machines</strong> to <strong>medical capsules</strong>, it connects theory to the real world. Learning has never been this relatable.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ntxe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ntxe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Ntxe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Ntxe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Ntxe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ntxe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:574880,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ntxe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Ntxe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Ntxe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Ntxe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b38d71-4acf-41cb-8a01-df2fe451c925_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>&#129504; 2. Covers All Core to Advanced Java Topics</h3><p>OOPs, Collections, Streams, Lambda, Threads, Design Patterns - all covered. No need to Google around anymore.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!JrNc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JrNc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!JrNc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!JrNc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!JrNc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!JrNc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/095ab83e-b735-4187-a011-16259229fec3_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:565337,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!JrNc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!JrNc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!JrNc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!JrNc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F095ab83e-b735-4187-a011-16259229fec3_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>&#9997;&#65039; 3. Explained in Depth with Diagrams, Notes, Quick Notes etc.</h3><p>Every topic is made visual - with color-coded notes, quick summaries, and hand-drawn diagrams to make revision quick and easy.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VYEg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VYEg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!VYEg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!VYEg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!VYEg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VYEg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:581002,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VYEg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!VYEg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!VYEg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!VYEg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d3bac3-e18e-4bea-8445-c4dc76e44633_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>&#128172; 4. 500+ Java Interview Q&amp;A</h3><p>Questions are answered from <strong>brute-force to optimized</strong> with dry runs, real-world scenarios, and diagrams. Perfect for whiteboard rounds.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zT7W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zT7W!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!zT7W!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!zT7W!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!zT7W!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zT7W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:551039,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zT7W!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!zT7W!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!zT7W!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!zT7W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc6cc60d-d46d-4e0d-a43c-f353f54b0891_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>&#127919; No fluff. Only high-impact answers.</p><h3>&#129514; 5. 300+ Chapter-Wise Quizzes</h3><p>Built-in self-assessments after every chapter. Practice real questions and track your progress immediately.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Krop!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Krop!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Krop!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Krop!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Krop!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Krop!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/da5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:457770,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Krop!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Krop!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Krop!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Krop!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda5e2515-92c7-4348-9753-e9d7775f8aee_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>&#128187; 6. Chapter-Wise Mini Projects &amp; 30 Major Project Ideas</h3><p>You can&#8217;t just talk theory in interviews. Build confidence with real projects:</p><ul><li><p>Java + Spring Boot</p></li><li><p>REST APIs</p></li><li><p>CI/CD with Jenkins &amp; Docker</p></li><li><p>Food Delivery App</p></li></ul><p>Job Portal System<br>&#8230;and so many more!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Zswp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Zswp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Zswp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Zswp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Zswp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Zswp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:526729,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Zswp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Zswp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Zswp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Zswp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75c6d5c0-6e8e-4e2e-b6d4-c54685b7e68e_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>&#129523; 7. Resume Tips, System Design &amp; Behavioural Interview Prep</h3><p>Learn how to make your resume ATS-friendly, answer HR questions with confidence, and nail Java-focused system design rounds. Everything in one place.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tJZ3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tJZ3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!tJZ3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!tJZ3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!tJZ3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tJZ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:690174,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tJZ3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!tJZ3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!tJZ3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!tJZ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6bf1345-be99-4492-b01b-87866ef968b3_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>&#11088; 8. Recommended by Industry Experts</h3><p>Don&#8217;t just take our word for it - engineers at <strong>Google, Microsoft, Amazon</strong> have used and loved this book. It&#8217;s helped both <strong>freshers and experienced devs</strong> land their dream roles.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YBQL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YBQL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!YBQL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!YBQL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!YBQL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YBQL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:563730,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/162640598?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YBQL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!YBQL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!YBQL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!YBQL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8126f97d-3fed-4e51-ad5c-fd5b61686ba1_1080x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>&#127873; Try Before You Buy - Sample Content Available</h3><p>Want a sneak peek before you grab it?</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://drive.google.com/file/d/17RGKGBzE16PrTcfkNENQj5btDdkAp62Q/view?usp=drive_link&quot;,&quot;text&quot;:&quot;&#128073; Download Sample Content&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://drive.google.com/file/d/17RGKGBzE16PrTcfkNENQj5btDdkAp62Q/view?usp=drive_link"><span>&#128073; Download Sample Content</span></a></p><h3>&#127919; Ready to Crack Java Interviews Like a Pro?</h3><p>&#127873; Use code <code>CRACKJAVA25</code> to get <strong>25% OFF</strong> your digital copy.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25&quot;,&quot;text&quot;:&quot;&#128073; Click Here to Buy Now!&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25"><span>&#128073; Click Here to Buy Now!</span></a></p><p>&#9203; This is a <strong>launch offer only</strong>, and it won&#8217;t stay live forever.</p><p>So if cracking Java interviews is your goal - <strong>invest in yourself now</strong>. Your future self will thank you. &#128188;</p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.interviewcafe.io/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading InterviewCafe&#8217;s Newsletter! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[SD-01: Introduction to System Design]]></title><description><![CDATA[A practical guide to mastering system design: from core concepts to advanced patterns, with real-world examples and interview tips.]]></description><link>https://blog.interviewcafe.io/p/introduction-to-system-design</link><guid isPermaLink="false">https://blog.interviewcafe.io/p/introduction-to-system-design</guid><dc:creator><![CDATA[InterviewCafe]]></dc:creator><pubDate>Tue, 15 Apr 2025 20:45:17 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2><strong>1. Introduction</strong></h2><p>In today&#8217;s tech-driven world, system design is a crucial skill for software engineers, architects, and developers. It plays a significant role in creating scalable, efficient, and maintainable software systems.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fZpT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fZpT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!fZpT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!fZpT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!fZpT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fZpT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:137186,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fZpT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!fZpT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!fZpT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!fZpT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F160eaf30-5e7f-41c8-9502-4669b9f68521_1080x1350.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Whether it's a simple application or a large-scale distributed system like Facebook, Google, or Amazon, proper system design ensures the software meets performance, reliability, and scalability requirements.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.interviewcafe.io/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading InterviewCafe&#8217;s Newsletter! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Understanding system design is essential for tackling complex problems, optimizing resource usage, and ensuring seamless user experiences.</p><p>In this article, we will explore the fundamentals of system design, its importance, different types, and essential components, helping you gain a solid foundation in this critical field.</p><h2><strong>2. What is System Design?</strong></h2><p>System design is the process of defining the architecture, components, and data flow of a software system. It involves planning how different parts of a system interact with each other to meet functional and non-functional requirements.</p><p>At its core, system design helps developers build robust, scalable, and efficient systems by focusing on:</p><ul><li><p><strong>Structure</strong> &#8211; How components interact</p></li><li><p><strong>Scalability</strong> &#8211; Ensuring the system can handle growth</p></li><li><p><strong>Performance</strong> &#8211; Optimizing speed and efficiency</p></li><li><p><strong>Security</strong> &#8211; Protecting data and ensuring safe communication</p></li></ul><h2><strong>3. Importance of System Design in Software Development</strong></h2><p>Why should developers care about system design?</p><p>The answer lies in its ability to create scalable, efficient, and maintainable systems.</p><h3><strong>Here&#8217;s why system design is a crucial aspect of software development:</strong></h3><h3>3.1. Enhancing Scalability and Performance</h3><p>Modern applications must handle millions of users and massive amounts of data. Proper system design ensures that systems can scale horizontally (adding more machines) or vertically (upgrading existing hardware) while maintaining performance.</p><p><strong>Example</strong>: Social media platforms like Facebook use load balancers and distributed databases to handle billions of users without performance degradation.</p><h3>3.2. Reducing Complexity and Improving Maintainability</h3><p>A well-structured system is easier to understand, modify, and debug. Proper modularization, clear API design, and efficient data flow reduce complexity and make maintenance more manageable.</p><p><strong>Example</strong>: Microservices architecture divides large applications into smaller, independent services, making updates and troubleshooting simpler.</p><h3>3.3. Ensuring Reliability and Security</h3><p>System design also focuses on preventing failures and securing user data. Designing fault-tolerant systems ensures that even if a component fails, the overall system continues to function smoothly.</p><p><strong>Example</strong>: Cloud providers like AWS and Google Cloud implement redundant storage and failover mechanisms to prevent data loss.</p><h2><strong>4. Types of System Design</strong></h2><p>System design is categorized into two major types: high-level and low-level. Understanding both is essential for building effective software solutions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!z09V!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!z09V!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!z09V!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!z09V!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!z09V!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!z09V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:126561,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!z09V!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!z09V!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!z09V!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!z09V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb9690cd-7e41-4ee3-9467-1866cde304f5_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>4.1 High-Level System Design (HLD)</h3><p>High-Level System Design provides a broad overview of the system architecture. It focuses on how various components interact and ensures that the system meets scalability, performance, and security goals.</p><h3>Key Aspects of HLD</h3><ul><li><p><strong>Architectural Patterns</strong> &#8211; Monolithic, Microservices, Event-driven, etc.</p></li><li><p><strong>Key Components</strong> &#8211; Databases, APIs, Load Balancers, Cache, Message Queues</p></li><li><p><strong>Deployment Strategies</strong> &#8211; Cloud-based, On-Premises, or Hybrid</p></li></ul><p><strong>Example: </strong>Consider designing a ride-sharing application like Uber. The high-level system design would define:</p><ul><li><p>User authentication and database storage</p></li><li><p>API interactions between users, drivers, and services</p></li><li><p>Load balancing and caching mechanisms for fast performance</p></li></ul><h3>4.2 Low-Level System Design (LLD)</h3><p>Low-Level System Design focuses on the finer details of individual components. It deals with class structures, algorithms, and data handling methods.</p><h3>Key Aspects of LLD</h3><ul><li><p><strong>Data Structures</strong> &#8211; HashMaps, Trees, Graphs, Queues</p></li><li><p><strong>Algorithms</strong> &#8211; Sorting, Searching, Load Distribution, Scheduling</p></li><li><p><strong>Class Diagrams</strong> &#8211; Relationships between objects and their behaviors</p></li></ul><p><strong>Example:</strong></p><p>For the same ride-sharing app, the LLD would include:</p><ul><li><p>How user authentication is implemented (e.g., OAuth, JWT tokens)</p></li><li><p>The data structure for tracking active rides</p></li><li><p>Algorithms for finding the nearest driver to a user</p></li></ul><blockquote><p>Crack Java Interviews Like a Pro with my new Book - "The Art of Cracking Java&nbsp;Interviews"</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25&quot;,&quot;text&quot;:&quot;Grab your copy now &amp; step up your&nbsp;prep!&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25"><span>Grab your copy now &amp; step up your&nbsp;prep!</span></a></p></blockquote><h2><strong>5. Key Components of System Design</strong></h2><p>System design comprises multiple components, each playing a critical role in ensuring smooth operation. Below are the key components:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HocC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HocC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!HocC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!HocC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!HocC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HocC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:287594,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HocC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!HocC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!HocC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!HocC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b5333ed-a4c8-4a35-8ff0-d5bfed6159ec_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>5.1 Client-Server Architecture</h3><ul><li><p>Defines how the client (frontend) communicates with the server (backend).</p></li><li><p>Includes REST APIs, GraphQL, and WebSockets for real-time communication.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X0EB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X0EB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 424w, https://substackcdn.com/image/fetch/$s_!X0EB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 848w, https://substackcdn.com/image/fetch/$s_!X0EB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 1272w, https://substackcdn.com/image/fetch/$s_!X0EB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!X0EB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png" width="1080" height="1193" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1193,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:196425,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F809b8c32-c6d9-481e-99d2-9f40cbc240a5_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!X0EB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 424w, https://substackcdn.com/image/fetch/$s_!X0EB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 848w, https://substackcdn.com/image/fetch/$s_!X0EB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 1272w, https://substackcdn.com/image/fetch/$s_!X0EB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31d12b0d-6143-4ef1-8451-151e409bd010_1080x1193.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>5.2 Databases and Storage Systems</h3><ul><li><p><strong>SQL vs NoSQL</strong> &#8211; Choosing the right database for structured or unstructured data.</p></li><li><p><strong>Sharding &amp; Replication</strong> &#8211; Distributing data across multiple servers for better performance.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zOWa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zOWa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!zOWa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!zOWa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!zOWa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zOWa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:152879,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zOWa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!zOWa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!zOWa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!zOWa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c383711-a113-4a51-8544-b631fc9388f2_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>5.3 Networking and Communication</h3><ul><li><p><strong>Protocols</strong> &#8211; HTTP, HTTPS, TCP/IP, WebSockets</p></li><li><p><strong>CDN (Content Delivery Network)</strong> &#8211; Improves content delivery speed for global users.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UH6K!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UH6K!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 424w, https://substackcdn.com/image/fetch/$s_!UH6K!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 848w, https://substackcdn.com/image/fetch/$s_!UH6K!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!UH6K!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UH6K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png" width="1080" height="1086" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1086,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:177382,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39ebc340-cc4e-4f44-931d-c2376c936ded_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!UH6K!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 424w, https://substackcdn.com/image/fetch/$s_!UH6K!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 848w, https://substackcdn.com/image/fetch/$s_!UH6K!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!UH6K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ea0630-835e-458d-b99c-5e64ab32c0ed_1080x1086.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>5.4 Scalability and Load Balancing</h3><ul><li><p><strong>Horizontal Scaling</strong> &#8211; Adding more servers to distribute load.</p></li><li><p><strong>Vertical Scaling</strong> &#8211; Increasing resources on an existing server.</p></li><li><p><strong>Load Balancers</strong> &#8211; Distributing traffic to prevent overload on a single server.</p></li></ul><h2><strong>6 Architectural Patterns in System Design</strong></h2><p>Different architectural patterns help in structuring software systems efficiently. Choosing the right pattern depends on scalability, maintainability, and performance needs.</p><h3>6.1 Monolithic Architecture</h3><ul><li><p>A single, unified codebase where all components are tightly integrated.</p></li><li><p>Pros: Simple deployment, easy debugging.</p></li><li><p>Cons: Difficult to scale, changes require redeploying the entire application.</p></li></ul><p><strong>Example</strong>: Traditional e-commerce websites built as a single application.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cf--!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cf--!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 424w, https://substackcdn.com/image/fetch/$s_!cf--!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 848w, https://substackcdn.com/image/fetch/$s_!cf--!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 1272w, https://substackcdn.com/image/fetch/$s_!cf--!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cf--!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png" width="1080" height="1145" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1145,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:128254,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cc4c2c1-4db8-4425-b8a4-7739166176c1_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cf--!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 424w, https://substackcdn.com/image/fetch/$s_!cf--!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 848w, https://substackcdn.com/image/fetch/$s_!cf--!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 1272w, https://substackcdn.com/image/fetch/$s_!cf--!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b6851e-d013-4484-84e0-2f543868dbc2_1080x1145.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>6.2 Microservices Architecture</h3><ul><li><p>The application is divided into small, independent services that communicate via APIs.</p></li><li><p><strong>Pros</strong>: Scalable, easy to maintain, services can be deployed independently.</p></li><li><p><strong>Cons</strong>: More complex communication, potential latency issues.</p></li></ul><p><strong>Example</strong>: Netflix, Amazon, and Uber use microservices to handle different features separately.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GMC8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GMC8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!GMC8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!GMC8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!GMC8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GMC8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:139041,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GMC8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!GMC8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!GMC8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!GMC8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9fb9728-a144-44c8-a889-6d19bc1d2a4f_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>6.3 Event-Driven Architecture</h3><ul><li><p>Components communicate by emitting and responding to events asynchronously.</p></li><li><p>Pros: Highly scalable and loosely coupled.</p></li><li><p>Cons: Debugging and tracing events can be complex.</p></li></ul><p><strong>Example</strong>: Real-time chat applications and IoT systems.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1U4T!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1U4T!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!1U4T!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!1U4T!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!1U4T!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1U4T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:63313,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1U4T!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!1U4T!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!1U4T!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!1U4T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a91e5d-fe8a-4090-9de3-08eed7852297_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>6.4 Serverless Architecture</h3><ul><li><p>Uses cloud services to run functions without managing infrastructure.</p></li><li><p><strong>Pros</strong>: Cost-efficient, automatic scaling.</p></li><li><p><strong>Cons</strong>: Limited customization, cold start latency.</p></li></ul><p><strong>Example</strong>: AWS Lambda for running event-driven functions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SdZS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SdZS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!SdZS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!SdZS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!SdZS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SdZS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:223136,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SdZS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!SdZS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!SdZS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!SdZS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F649e5be1-1b60-4baf-8818-646991754e48_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2><strong>7. Database Management in System Design</strong></h2><p>Databases are a critical part of system design. The choice depends on the data type, scalability, and access patterns.</p><h3>7.1 Relational Databases (SQL)</h3><ul><li><p>Uses structured tables and relationships (MySQL, PostgreSQL).</p></li><li><p>Ideal for applications requiring ACID compliance (banking systems).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8Kp4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8Kp4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!8Kp4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!8Kp4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!8Kp4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8Kp4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:75681,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8Kp4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!8Kp4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!8Kp4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!8Kp4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ae76513-667d-4a82-9287-bb8eaa393e54_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>7.2 NoSQL Databases</h3><ul><li><p>Includes document-based (MongoDB), key-value stores (Redis), column-based (Cassandra).</p></li><li><p>Ideal for applications with high scalability needs (social media, real-time analytics).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gNE3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gNE3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 424w, https://substackcdn.com/image/fetch/$s_!gNE3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 848w, https://substackcdn.com/image/fetch/$s_!gNE3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 1272w, https://substackcdn.com/image/fetch/$s_!gNE3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gNE3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png" width="1080" height="1152" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1152,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:107863,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeaa897-bad8-4e32-a02d-1e88e2b2fbab_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gNE3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 424w, https://substackcdn.com/image/fetch/$s_!gNE3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 848w, https://substackcdn.com/image/fetch/$s_!gNE3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 1272w, https://substackcdn.com/image/fetch/$s_!gNE3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd63b187-9144-4358-a48b-909a424dba3d_1080x1152.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>7.3 Database Scaling Techniques</h3><ul><li><p><strong>Sharding</strong> &#8211; Splitting data across multiple servers.</p></li><li><p><strong>Replication</strong> &#8211; Creating copies of data for redundancy.</p></li><li><p><strong>Indexing</strong> &#8211; Optimizing search queries for faster access.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OTq5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OTq5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 424w, https://substackcdn.com/image/fetch/$s_!OTq5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 848w, https://substackcdn.com/image/fetch/$s_!OTq5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 1272w, https://substackcdn.com/image/fetch/$s_!OTq5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OTq5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png" width="1080" height="901" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:901,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:91670,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92e75791-3f90-4524-9914-c0053f7db55d_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!OTq5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 424w, https://substackcdn.com/image/fetch/$s_!OTq5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 848w, https://substackcdn.com/image/fetch/$s_!OTq5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 1272w, https://substackcdn.com/image/fetch/$s_!OTq5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F403905ce-db9c-46ba-a6fb-86d5811c7f9c_1080x901.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h2><strong>8. Caching Strategies for High-Performance Systems</strong></h2><p>Caching helps reduce database load and improves system responsiveness.</p><h3>8.1 Types of Caching</h3><ul><li><p><strong>Application-level Caching</strong> &#8211; Storing frequently accessed data in memory (e.g., Memcached, Redis).</p></li><li><p><strong>Database Caching</strong> &#8211; Query results are cached to reduce redundant database calls.</p></li><li><p><strong>Content Delivery Network (CDN)</strong> &#8211; Distributes static content globally for fast access.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MTZ3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MTZ3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 424w, https://substackcdn.com/image/fetch/$s_!MTZ3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 848w, https://substackcdn.com/image/fetch/$s_!MTZ3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 1272w, https://substackcdn.com/image/fetch/$s_!MTZ3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MTZ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png" width="1080" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:811,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:141978,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b86bd69-5406-4f22-86a3-a5101901fd59_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MTZ3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 424w, https://substackcdn.com/image/fetch/$s_!MTZ3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 848w, https://substackcdn.com/image/fetch/$s_!MTZ3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 1272w, https://substackcdn.com/image/fetch/$s_!MTZ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F390b4dd1-4257-4b7e-a1a7-4b19c899132c_1080x811.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>8.2 Cache Invalidation Strategies</h3><ul><li><p><strong>Least Recently Used (LRU)</strong> &#8211; Removes old data when the cache is full.</p></li><li><p><strong>Write-through Cache</strong> &#8211; Writes data to both cache and database to ensure consistency.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ELqO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ELqO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!ELqO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!ELqO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!ELqO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ELqO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:195219,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ELqO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!ELqO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!ELqO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!ELqO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b7b0d4d-a882-4610-bfba-a19a7de2b1f8_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h2><strong>9. Load Balancing Techniques</strong></h2><p>Load balancing distributes traffic efficiently across multiple servers to ensure reliability.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1Hgm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1Hgm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!1Hgm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!1Hgm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!1Hgm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1Hgm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:108650,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1Hgm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!1Hgm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!1Hgm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!1Hgm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc81d4804-566e-4849-b337-0cc1bfc310e3_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>9.1 Types of Load Balancers</h3><ul><li><p><strong>Hardware Load Balancers</strong> &#8211; Expensive but provide high performance.</p></li><li><p><strong>Software Load Balancers</strong> &#8211; Cost-effective and flexible (Nginx, HAProxy).</p></li></ul><h3>9.2 Load Balancing Algorithms</h3><ul><li><p><strong>Round Robin</strong> &#8211; Sends requests sequentially to each server.</p></li><li><p><strong>Least Connections</strong> &#8211; Directs requests to the server with the fewest active connections.</p></li><li><p><strong>IP Hashing</strong> &#8211; Routes traffic based on the user&#8217;s IP address.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!x85M!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!x85M!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!x85M!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!x85M!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!x85M!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!x85M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:195868,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!x85M!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!x85M!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!x85M!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!x85M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b3f4939-fb80-45ae-bcb7-050e785adeea_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h2><strong>10. Security Considerations in System Design</strong></h2><p>Security is essential to prevent vulnerabilities and cyber threats.</p><h3>10.1 Authentication &amp; Authorization</h3><ul><li><p><strong>OAuth &amp; JWT</strong> &#8211; Secure methods for user authentication.</p></li><li><p><strong>Role-based access control (RBAC)</strong> &#8211; Limits access based on user roles.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cobw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cobw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 424w, https://substackcdn.com/image/fetch/$s_!cobw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 848w, https://substackcdn.com/image/fetch/$s_!cobw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 1272w, https://substackcdn.com/image/fetch/$s_!cobw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cobw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png" width="1080" height="979" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:979,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:316077,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab1846fb-7d8a-48fb-88c5-df0ef45c2d5b_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cobw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 424w, https://substackcdn.com/image/fetch/$s_!cobw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 848w, https://substackcdn.com/image/fetch/$s_!cobw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 1272w, https://substackcdn.com/image/fetch/$s_!cobw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f7e1791-c102-42f9-a979-3d6df047d19e_1080x979.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>10.2 Encryption &amp; Data Protection</h3><ul><li><p><strong>TLS/SSL</strong> &#8211; Encrypts communication over the internet.</p></li><li><p><strong>AES Encryption</strong> &#8211; Protects stored sensitive data.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mhpn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mhpn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 424w, https://substackcdn.com/image/fetch/$s_!Mhpn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 848w, https://substackcdn.com/image/fetch/$s_!Mhpn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 1272w, https://substackcdn.com/image/fetch/$s_!Mhpn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mhpn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png" width="1080" height="888" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:888,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:306862,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45df7dba-78ef-481f-b968-b9a4b9b9d8e6_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Mhpn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 424w, https://substackcdn.com/image/fetch/$s_!Mhpn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 848w, https://substackcdn.com/image/fetch/$s_!Mhpn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 1272w, https://substackcdn.com/image/fetch/$s_!Mhpn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d0bad5-1513-496e-943c-ff26ef74721e_1080x888.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>10.3 Threat Mitigation</h3><ul><li><p><strong>DDoS Protection</strong> &#8211; Uses firewalls and traffic filtering.</p></li><li><p><strong>SQL Injection &amp; XSS Prevention</strong> &#8211; Sanitizes user input to prevent attacks.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!S_Wk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!S_Wk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 424w, https://substackcdn.com/image/fetch/$s_!S_Wk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 848w, https://substackcdn.com/image/fetch/$s_!S_Wk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 1272w, https://substackcdn.com/image/fetch/$s_!S_Wk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!S_Wk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png" width="1080" height="733" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:733,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:249165,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fc22038-7923-4790-949a-5a6eb9990d1e_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!S_Wk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 424w, https://substackcdn.com/image/fetch/$s_!S_Wk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 848w, https://substackcdn.com/image/fetch/$s_!S_Wk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 1272w, https://substackcdn.com/image/fetch/$s_!S_Wk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a35d17d-8537-4051-bac6-b3c11cf5f6df_1080x733.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h2><strong>11. Scalability in System Design</strong></h2><p>Scalability is the ability of a system to handle increasing loads efficiently. It ensures that an application can support more users, data, and transactions without degrading performance.</p><h3>11.1 Vertical Scaling (Scaling Up)</h3><ul><li><p>Involves adding more resources (CPU, RAM) to an existing server.</p></li><li><p><strong>Pros</strong>: Simple to implement.</p></li><li><p><strong>Cons</strong>: Expensive and has hardware limitations.</p></li></ul><p><strong>Example</strong>: Upgrading a database server to a more powerful machine.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Bpjb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Bpjb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 424w, https://substackcdn.com/image/fetch/$s_!Bpjb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 848w, https://substackcdn.com/image/fetch/$s_!Bpjb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 1272w, https://substackcdn.com/image/fetch/$s_!Bpjb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Bpjb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png" width="1080" height="661" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:661,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:317073,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c3676aa-6f54-49e8-84e9-831518f6e6eb_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Bpjb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 424w, https://substackcdn.com/image/fetch/$s_!Bpjb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 848w, https://substackcdn.com/image/fetch/$s_!Bpjb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 1272w, https://substackcdn.com/image/fetch/$s_!Bpjb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23093beb-a865-48aa-8d03-1d2acf203d01_1080x661.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>11.2 Horizontal Scaling (Scaling Out)</h3><ul><li><p>Involves adding more servers to distribute the workload.</p></li><li><p><strong>Pros</strong>: More cost-effective and provides high availability.</p></li><li><p><strong>Cons</strong>: Requires load balancing and distributed data management.</p></li></ul><p><strong>Example</strong>: Adding multiple servers to handle web traffic for an e-commerce site.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pkzy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pkzy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 424w, https://substackcdn.com/image/fetch/$s_!pkzy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 848w, https://substackcdn.com/image/fetch/$s_!pkzy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 1272w, https://substackcdn.com/image/fetch/$s_!pkzy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pkzy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png" width="1080" height="667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:667,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:240813,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a67034d-b308-48fb-a27c-feb956fb4591_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pkzy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 424w, https://substackcdn.com/image/fetch/$s_!pkzy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 848w, https://substackcdn.com/image/fetch/$s_!pkzy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 1272w, https://substackcdn.com/image/fetch/$s_!pkzy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f0183e8-7577-40aa-ac36-9625cb509081_1080x667.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>11.3 Distributed Systems for Scalability</h3><ul><li><p><strong>Databases</strong>: Using Sharding, replication, and distributed SQL engines.</p></li><li><p><strong>Microservices</strong>: Dividing an application into independent services to allow better scaling.</p></li><li><p><strong>CDN (Content Delivery Network)</strong>: Caching static content across multiple locations globally.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!knHG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!knHG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!knHG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!knHG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!knHG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!knHG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png" width="1080" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:168060,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!knHG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!knHG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!knHG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!knHG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc17e71da-d6fc-42fb-86f5-43b99b1c40a7_1080x1350.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h2><strong>12. System Design for High Availability and Fault Tolerance</strong></h2><p>High availability ensures that a system remains operational even during failures. Fault tolerance is the ability of a system to recover from hardware/software failures.</p><h3>12.1 Redundancy and Failover Mechanisms</h3><ul><li><p><strong>Active-Passive Setup</strong>: One server is active, and a standby server takes over during failure.</p></li><li><p><strong>Active-Active Setup</strong>: Multiple servers handle traffic simultaneously for better fault tolerance.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ieu8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ieu8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 424w, https://substackcdn.com/image/fetch/$s_!Ieu8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 848w, https://substackcdn.com/image/fetch/$s_!Ieu8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 1272w, https://substackcdn.com/image/fetch/$s_!Ieu8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ieu8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png" width="1080" height="989" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/652211bb-0337-4cef-a520-7c28733b285c_1080x989.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:989,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:134696,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16f952ef-7b22-4583-acc5-2f7410883f21_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ieu8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 424w, https://substackcdn.com/image/fetch/$s_!Ieu8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 848w, https://substackcdn.com/image/fetch/$s_!Ieu8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 1272w, https://substackcdn.com/image/fetch/$s_!Ieu8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F652211bb-0337-4cef-a520-7c28733b285c_1080x989.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>12.2 Data Replication Strategies</h3><ul><li><p><strong>Master-Slave Replication</strong>: The master database handles writes, while replicas handle read requests.</p></li><li><p><strong>Multi-Master Replication</strong>: Multiple databases handle both read and write operations.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CGxj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CGxj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 424w, https://substackcdn.com/image/fetch/$s_!CGxj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 848w, https://substackcdn.com/image/fetch/$s_!CGxj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 1272w, https://substackcdn.com/image/fetch/$s_!CGxj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CGxj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png" width="1080" height="646" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:646,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:128401,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11df3d39-17dd-4015-8cb0-595aabf52766_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CGxj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 424w, https://substackcdn.com/image/fetch/$s_!CGxj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 848w, https://substackcdn.com/image/fetch/$s_!CGxj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 1272w, https://substackcdn.com/image/fetch/$s_!CGxj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe047a4-3d7c-46fd-b279-8db0d545150c_1080x646.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h3>12.3 Disaster Recovery</h3><ul><li><p><strong>Backups</strong>: Regular snapshots of critical data.</p></li><li><p><strong>Geo-Redundancy</strong>: Deploying services in multiple geographical regions to ensure reliability.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FVyV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FVyV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 424w, https://substackcdn.com/image/fetch/$s_!FVyV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 848w, https://substackcdn.com/image/fetch/$s_!FVyV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 1272w, https://substackcdn.com/image/fetch/$s_!FVyV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FVyV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png" width="1080" height="863" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:863,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:229926,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.interviewcafe.io/i/161363126?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ed332d1-3782-4b37-abee-76cc0a7e5ac6_1080x1350.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FVyV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 424w, https://substackcdn.com/image/fetch/$s_!FVyV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 848w, https://substackcdn.com/image/fetch/$s_!FVyV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 1272w, https://substackcdn.com/image/fetch/$s_!FVyV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc46304cd-e705-4a96-99d1-881ed9a5ba82_1080x863.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h2><strong>13. System Design Interview Preparation</strong></h2><p>System design interviews are crucial for software engineers aiming for top tech companies.</p><h3>13.1 Key Concepts to Focus On</h3><ul><li><p>Scalability, load balancing, and caching strategies.</p></li><li><p>Database design and replication techniques.</p></li><li><p>Security, authentication, and API design best practices.</p></li></ul><h3>13.2 Approach to Solving System Design Problems</h3><ul><li><p><strong>Step 1</strong>: Clarify requirements and constraints.</p></li><li><p><strong>Step 2</strong>: Define high-level architecture.</p></li><li><p><strong>Step 3</strong>: Identify key components (APIs, databases, caching, etc.).</p></li><li><p><strong>Step 4</strong>: Optimize for scalability, performance, and security.</p></li></ul><h3>13.3 Common System Design Problems</h3><ul><li><p>Design a URL shortening service (like <a href="http://Bit.ly">Bit.ly</a>).</p></li><li><p>Design a messaging system (like WhatsApp).</p></li><li><p>Design a video streaming platform (like YouTube).</p></li></ul><h2><strong>14. Tools and Technologies for System Design</strong></h2><p>Various tools and technologies aid in designing scalable and efficient systems.</p><h3>14.1 Databases</h3><ul><li><p>SQL: MySQL, PostgreSQL</p></li><li><p>NoSQL: MongoDB, Cassandra</p></li></ul><h3>14.2 Load Balancing and Caching</h3><ul><li><p>Load Balancers: Nginx, HAProxy</p></li><li><p>Caching: Redis, Memcached</p></li></ul><h3>14.3 Message Queues and Event Processing</h3><ul><li><p>Apache Kafka, RabbitMQ, Amazon SQS</p></li></ul><h3>14.4 Cloud Computing Services</h3><ul><li><p>AWS, Google Cloud, Microsoft Azure</p></li></ul><h2><strong>15. Conclusion</strong></h2><p>System design is a fundamental aspect of software development, enabling applications to scale, perform efficiently, and remain secure.</p><p>Whether designing a small application or a large distributed system, understanding key components like architecture, databases, load balancing, and caching is crucial.</p><p>For aspiring engineers, mastering system design concepts is essential for building real-world applications and succeeding in technical interviews.</p><p>By following best practices and staying updated with emerging trends, developers can design highly scalable and fault-tolerant systems that cater to millions of users.</p><h2><strong>FAQs</strong></h2><h3>1. What is the difference between system design and software architecture?</h3><p>System design focuses on how components interact within a system, while software architecture defines the overall structure and principles guiding software development.</p><h3>2. Why is system design important in software engineering?</h3><p>It ensures scalability, performance, security, and maintainability, making applications robust and efficient.</p><h3>3. What are some real-world applications of system design?</h3><p>Popular applications include social media platforms, e-commerce websites, ride-sharing apps, and cloud-based services.</p><h3>4. What is the best way to learn system design?</h3><p>Start with fundamental concepts, study case studies of real-world systems, and practice designing applications through mock interviews.</p><h3>5. What are some common mistakes in system design?</h3><p>Overcomplicating architecture, ignoring scalability, poor database choices, and neglecting security considerations.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25&quot;,&quot;text&quot;:&quot;Crack Java Interviews Like a Pro!&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://topmate.io/iamsantoshmishra/1490067?coupon_code=CRACKJAVA25"><span>Crack Java Interviews Like a Pro!</span></a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.interviewcafe.io/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading InterviewCafe&#8217;s Newsletter! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Unlock Your Path to DSA Mastery! 📚]]></title><description><![CDATA[Master DSA with step-by-step solutions & visual guides.]]></description><link>https://blog.interviewcafe.io/p/unlock-your-path-to-dsa-mastery</link><guid isPermaLink="false">https://blog.interviewcafe.io/p/unlock-your-path-to-dsa-mastery</guid><dc:creator><![CDATA[Santosh Kumar Mishra]]></dc:creator><pubDate>Sun, 25 Aug 2024 01:35:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!MKRx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Introducing <em>The Art of Data Structures and Algorithms: The Ultimate Quick Reference Guide</em> &#8211; your go-to resource for mastering DSA concepts with ease and confidence!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MKRx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MKRx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 424w, https://substackcdn.com/image/fetch/$s_!MKRx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 848w, https://substackcdn.com/image/fetch/$s_!MKRx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 1272w, https://substackcdn.com/image/fetch/$s_!MKRx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MKRx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png" width="1200" height="1500" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fd61c5db-a962-4934-b50f-68786079c527_1200x1500.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1329031,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MKRx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 424w, https://substackcdn.com/image/fetch/$s_!MKRx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 848w, https://substackcdn.com/image/fetch/$s_!MKRx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 1272w, https://substackcdn.com/image/fetch/$s_!MKRx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd61c5db-a962-4934-b50f-68786079c527_1200x1500.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>&#128273; <strong>What&#8217;s Inside?</strong></p><ul><li><p><strong>Quality Content</strong>: High-quality, in-depth explanations paired with detailed graphics.</p></li><li><p><strong>Engaging Visuals</strong>: 391 pages of colored content designed to make learning enjoyable.</p></li><li><p><strong>Expert Coverage</strong>: Topics include Arrays, Linked Lists, Stacks, Queues, Trees, Graphs, Dynamic Programming, and more!</p></li></ul><p><strong>Comprehensive Approach</strong>: From brute force to optimized solutions, get clear explanations with visual aids and step-by-step dry runs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NCkw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NCkw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 424w, https://substackcdn.com/image/fetch/$s_!NCkw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 848w, https://substackcdn.com/image/fetch/$s_!NCkw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 1272w, https://substackcdn.com/image/fetch/$s_!NCkw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NCkw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png" width="1200" height="1500" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:298450,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NCkw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 424w, https://substackcdn.com/image/fetch/$s_!NCkw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 848w, https://substackcdn.com/image/fetch/$s_!NCkw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 1272w, https://substackcdn.com/image/fetch/$s_!NCkw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ee43bf3-e7aa-40a4-89b1-d00534914d6a_1200x1500.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>&#127919; <strong>Who is this Book For?</strong></p><ul><li><p>College Students &#129489;&#8205;&#127891;</p></li><li><p>Job Seekers &#128188;</p></li><li><p>Competitive Exam Aspirants &#128216;</p></li><li><p>Anyone preparing for coding interviews!</p><p></p></li></ul><p>&#128161; <strong>Why Buy This Book?</strong><br>&#9989; One-Time Purchase, Lifetime Access<br>&#9989; Instant PDF Download &#8211; Study Anytime, Anywhere<br>&#9989; Perfect for Beginners and Advanced Learners<br>&#9989; Expertly Designed by Industry Professionals<br>&#9989; Aesthetic Graphics for an Engaging Study Experience</p><div><hr></div><p>&#127881; <strong>Special Offer Just for You!</strong><br>As a thank you for being part of our community, enjoy an exclusive discount on this must-have guide!</p><p><strong>Use code "Welcome10"</strong> at checkout to get a <strong>special discount</strong> on your purchase.</p><p>Don&#8217;t miss out on the opportunity to level up your DSA skills and ace those interviews with confidence.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1136750&quot;,&quot;text&quot;:&quot;Grab Your Copy Now!&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://topmate.io/iamsantoshmishra/1136750"><span>Grab Your Copy Now!</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MW3M!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MW3M!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 424w, https://substackcdn.com/image/fetch/$s_!MW3M!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 848w, https://substackcdn.com/image/fetch/$s_!MW3M!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 1272w, https://substackcdn.com/image/fetch/$s_!MW3M!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MW3M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png" width="1200" height="1500" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/efae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:418051,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MW3M!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 424w, https://substackcdn.com/image/fetch/$s_!MW3M!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 848w, https://substackcdn.com/image/fetch/$s_!MW3M!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 1272w, https://substackcdn.com/image/fetch/$s_!MW3M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefae4467-9db0-4049-8f74-3d6e1b89c0e6_1200x1500.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/iamsantoshmishra/1136750&quot;,&quot;text&quot;:&quot;Grab Your Copy Now!&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://topmate.io/iamsantoshmishra/1136750"><span>Grab Your Copy Now!</span></a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.interviewcafe.io/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading InterviewCafe&#8217;s Newsletter! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>