<?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"><channel><title><![CDATA[3AM Code]]></title><description><![CDATA[3AM Code]]></description><link>https://blog.spriyanshu.in</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1761955936475/403e03b3-1ee4-434c-aafe-7a45190ecf8e.png</url><title>3AM Code</title><link>https://blog.spriyanshu.in</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 15:03:26 GMT</lastBuildDate><atom:link href="https://blog.spriyanshu.in/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Cracking the LLD Interview]]></title><description><![CDATA[🎯 What Even Is Low-Level Design?
Low-Level Design (LLD) is where your big ideas transform into actual code that:

Builds without errors

Remains adaptable to change

Scales gracefully


Think of it as crafting detailed Lego instructions rather than ...]]></description><link>https://blog.spriyanshu.in/cracking-the-lld-interview</link><guid isPermaLink="true">https://blog.spriyanshu.in/cracking-the-lld-interview</guid><category><![CDATA[LLD Interview Preparation]]></category><category><![CDATA[low level design]]></category><category><![CDATA[system design interview]]></category><category><![CDATA[system design interview preparation]]></category><category><![CDATA[SOLID principles]]></category><category><![CDATA[design patterns]]></category><category><![CDATA[UML Diagrams]]></category><category><![CDATA[low level design interview questions]]></category><dc:creator><![CDATA[Priyanshu singh]]></dc:creator><pubDate>Sat, 07 Jun 2025 11:16:26 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-what-even-is-low-level-design">🎯 What Even <em>Is</em> Low-Level Design?</h2>
<p>Low-Level Design (LLD) is where your big ideas transform into actual code that:</p>
<ul>
<li><p><strong>Builds without errors</strong></p>
</li>
<li><p><strong>Remains adaptable to change</strong></p>
</li>
<li><p><strong>Scales gracefully</strong></p>
</li>
</ul>
<p>Think of it as crafting detailed Lego instructions rather than dumping all the bricks in a pile and hoping they fit together.</p>
<h2 id="heading-your-lld-survival-kit-prerequisites">🎒 Your LLD Survival Kit (Prerequisites)</h2>
<p>Before diving deep, ensure you're equipped with the essentials:</p>
<ul>
<li><p><strong>Programming Proficiency:</strong> Be comfortable with at least one object-oriented language like Java, C++, or Python.</p>
</li>
<li><p>Object-Oriented Programming (OOP) Basics</p>
</li>
<li><p>SOLID Principles</p>
</li>
<li><p>Design Patterns</p>
</li>
<li><p>Unified Modeling Language (UML) diagrams</p>
</li>
</ul>
<h2 id="heading-object-oriented-programming-oop-basics">🧱 Object-Oriented Programming (OOP) Basics</h2>
<p>OOP is the backbone of LLD. Key concepts include:</p>
<ul>
<li><p><strong>Classes &amp; Objects:</strong> Blueprints and their instances.</p>
</li>
<li><p><strong>Encapsulation:</strong> Bundling data with methods.</p>
</li>
<li><p><strong>Inheritance:</strong> Deriving new classes from existing ones.</p>
</li>
<li><p><strong>Polymorphism:</strong> Methods behaving differently based on the object.</p>
</li>
</ul>
<h2 id="heading-solid-principles">🛡️ SOLID Principles</h2>
<p>These five principles are your coding superhero team:</p>
<ol>
<li><p><strong>Single Responsibility Principle (SRP):</strong> A class should have only one reason to change.</p>
</li>
<li><p><strong>Open/Closed Principle (OCP):</strong> Software entities should be open for extension but closed for modification.</p>
</li>
<li><p><strong>Liskov Substitution Principle (LSP):</strong> Subtypes must be substitutable for their base types.</p>
</li>
<li><p><strong>Interface Segregation Principle (ISP):</strong> Clients should not be forced to depend on interfaces they do not use.</p>
</li>
<li><p><strong>Dependency Inversion Principle (DIP):</strong> Depend on abstractions, not on concretions.</p>
</li>
</ol>
<h2 id="heading-handy-design-patterns-to-know">🛠️ Handy Design Patterns to Know</h2>
<p>Design patterns are tried-and-tested solutions to common problems:</p>
<ul>
<li><p><strong>Factory:</strong> Create objects without specifying the exact class.</p>
</li>
<li><p><strong>Observer:</strong> Notify multiple objects about state changes.</p>
</li>
<li><p><strong>Strategy:</strong> Define a family of algorithms and make them interchangeable.</p>
</li>
<li><p><strong>Decorator:</strong> Add responsibilities to objects dynamically.</p>
</li>
<li><p><strong>Singleton:</strong> Ensure a class has only one instance.</p>
</li>
</ul>
<h2 id="heading-uml-visualizing-your-design">📊 UML: Visualizing Your Design</h2>
<p>Unified Modeling Language (UML) diagrams are your blueprint for system design:</p>
<ul>
<li><p><strong>Class Diagrams:</strong> Show classes and relationships.</p>
</li>
<li><p><strong>Sequence Diagrams:</strong> Detail object interactions over time.</p>
</li>
<li><p><strong>Activity Diagrams:</strong> Represent workflows.</p>
</li>
</ul>
<h2 id="heading-ready-to-level-up">🚀 Ready to Level Up?</h2>
<p>This is just the beginning. In the upcoming articles, we'll tackle 20 of the most frequently asked LLD interview questions, dissecting each with clarity and precision.</p>
<p>Stay tuned, and let's crack the LLD interview together!</p>
<hr />
<p><em>#LowLevelDesign #SystemDesign #SoftwareArchitecture #CleanCode #DevMemes #CodingLife #TechTips #SoftwareEngineering #SOLID #OOP</em></p>
]]></content:encoded></item><item><title><![CDATA[🔐 Connect SSL with Cloudflare and Use It on Hashnode]]></title><description><![CDATA[Want your Hashnode blog to run on HTTPS with your custom domain? Here's how to set it up using Cloudflare for free SSL.
✅ Step 1: Add Domain to Cloudflare

Go to Cloudflare.com and create an account or log in.

Click “Add a site” and enter your domai...]]></description><link>https://blog.spriyanshu.in/connect-ssl-with-cloudflare-and-use-it-on-hashnode</link><guid isPermaLink="true">https://blog.spriyanshu.in/connect-ssl-with-cloudflare-and-use-it-on-hashnode</guid><dc:creator><![CDATA[Priyanshu singh]]></dc:creator><pubDate>Sun, 25 May 2025 21:03:27 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1748206818865/bbd9e14b-ea61-45e4-9a8a-46d630b3477a.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Want your Hashnode blog to run on <strong>HTTPS</strong> with your <strong>custom domain</strong>? Here's how to set it up using <strong>Cloudflare</strong> for free SSL.</p>
<h3 id="heading-step-1-add-domain-to-cloudflare">✅ Step 1: Add Domain to Cloudflare</h3>
<ol>
<li><p>Go to <a target="_blank" href="http://Cloudflare.com">Cloudflare.com</a> <a target="_blank" href="https://www.cloudflare.com/">and <strong>create a</strong></a><strong>n account</strong> or log in.</p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/">Click <strong>“Add a s</strong></a><strong>ite”</strong> and enter your domain (e.g., <a target="_blank" href="http://yourdomain.com"><code>yourdomain.com</code></a><a target="_blank" href="https://www.cloudflare.com/">).</a></p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/">Clo</a>udflare will fetch your DNS records.</p>
</li>
<li><p>Choose the <strong>Fre</strong><a target="_blank" href="https://www.cloudflare.com/"><strong>e plan</strong> and con</a>tinue.</p>
</li>
</ol>
<h3 id="heading-step-2-update-your-domains-nhttpswwwcloudflarecomameservers">✅ Step 2: Update Y<a target="_blank" href="https://www.cloudflare.com/">our Domain's N</a>ameservers</h3>
<ol>
<li><p>Cloudflare <a target="_blank" href="https://www.cloudflare.com/">will give you</a> two <strong>nameservers</strong>.</p>
</li>
<li><p>Go to your d<a target="_blank" href="https://www.cloudflare.com/">omain registra</a>r (e.g., GoDaddy, Namecheap).</p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/">Replace your</a> existing nameservers with the <strong>Cloudflare one</strong><a target="_blank" href="https://www.cloudflare.com/"><strong>s</strong>.</a></p>
</li>
</ol>
<h3 id="heading-stephttpswwwcloudflarecom-3-configure-dns-for-hashnode"><a target="_blank" href="https://www.cloudflare.com/">✅ Step</a> 3: Configure DNS for Hashnode</h3>
<ol>
<li><p>Go to the Cloudfl<a target="_blank" href="https://www.cloudflare.com/">are <strong>DNS</strong> tab.</a></p>
</li>
<li><p>Add a <strong>CNAME record</strong>:</p>
<ul>
<li><p><strong>N</strong><a target="_blank" href="https://www.cloudflare.com/"><strong>ame:</strong> <code>blog</code> (or</a> your subdomain)</p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/"><strong>Target:</strong></a> <a target="_blank" href="http://hashnode.network"><code>hashnode.network</code></a></p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/"><strong>Proxy sta</strong></a><strong>tus:</strong> <strong>DNS only</strong> (gray <a target="_blank" href="https://www.cloudflare.com/">cloud)</a></p>
</li>
</ul>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/">Wa</a>it for the DNS <a target="_blank" href="https://www.cloudflare.com/">to propagate</a> (~5–10 minutes).</p>
</li>
</ol>
<h3 id="heading-step-4-connect-dohttpswwwcloudflarecommain-in-hashnode">✅ Step <a target="_blank" href="https://www.cloudflare.com/">4: Connect Do</a>main in Hashnode</h3>
<ol>
<li><p>Go to your Hashno<a target="_blank" href="https://www.cloudflare.com/">de dashboard →</a> <strong>Blog Dashboard</strong> → <strong>Domain</strong>.</p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/">Enter your</a> domain or subdomain (e.g., <a target="_blank" href="http://blog.yourdomain.com"><code>blog.yourdomain.com</code></a><a target="_blank" href="https://www.cloudflare.com/">).</a></p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/">Hashnode</a> will verify it automatically.</p>
</li>
<li><p>Once connected, <a target="_blank" href="https://www.cloudflare.com/">it will handl</a>e <strong>SSL</strong> automatically.</p>
</li>
</ol>
<h3 id="heading-optional-enabhttpswwwcloudflarecomle-full-ssl-mode-in-cloudflare">🔒 <a target="_blank" href="https://www.cloudflare.com/">Optional: Enab</a>le Full SSL Mode in Cloudflare</h3>
<ol>
<li><p>Go to <a target="_blank" href="https://www.cloudflare.com/">Cloudflare → <strong>S</strong></a><strong>SL/TLS</strong> tab.</p>
</li>
<li><p>Choose <strong>“Full”</strong> or <strong>“Full</strong> <a target="_blank" href="https://www.cloudflare.com/"><strong>(Strict)”</strong> mod</a>e.</p>
</li>
</ol>
<p>And you're done! 🎉<br />Your custom domain is now secured with <strong>free SSL via</strong> <a target="_blank" href="https://www.cloudflare.com/"><strong>Cloudflare</strong></a> and points to your <strong>Hashnode blog</strong>.</p>
]]></content:encoded></item><item><title><![CDATA[How to Build a Video Chat App: Types, Cost, & Must-Have Features]]></title><description><![CDATA[Text-based chat paved the way for improved human interactions where users can instantly exchange messages from anywhere in the world. But, words can only say so much—video chatting has taken this new way of communicating to another level.
Recent adva...]]></description><link>https://blog.spriyanshu.in/how-to-build-a-video-chat-app-types-cost-must-have-features</link><guid isPermaLink="true">https://blog.spriyanshu.in/how-to-build-a-video-chat-app-types-cost-must-have-features</guid><dc:creator><![CDATA[Priyanshu singh]]></dc:creator><pubDate>Tue, 20 Dec 2022 11:02:24 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1748116446030/3c988ea4-bcfe-497f-a4fd-aab322e7d2d6.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Text-based chat paved the way for improved human interactions where users can instantly exchange messages from anywhere in the world. But, words can only say so much—video chatting has taken this new way of communicating to another level.</p>
<p>Recent advancements in real-time audio and video chat technology have enabled apps to incorporate these elements to become the most convenient connection methods.</p>
<p>In this article, we'll take a 1,000 ft view of the video chat app market and its most popular apps, cover must-have features and the underlying tech you'll need to create them, and outline your integration options and their advantages.</p>
<h2 id="heading-overview-of-the-video-chat-market">Overview of the Video Chat Market</h2>
<p>As we mentioned, the pandemic was a boon to the video chat app market---and as demand rose, its worth did, too. The industry was evaluated at $4.21B in 2020 and expanded to a whopping $6.28B by the start of 2022. Popular video confer</p>
]]></content:encoded></item></channel></rss>