Posts

Showing posts from May, 2025

Javascript Quiz links

 Javascript Quiz links 1. this keyword behaviour - non-strict mode https://chatgpt.com/share/68335fb8-36fc-8007-b818-3d36e2b3d1bf 2. this keyword behaviour - strict mode https://chatgpt.com/share/6834c111-f2d8-8007-b0a4-c7cd70a707bd 3.  lexical environments, closures, and scoping https://chatgpt.com/share/68458dd9-d800-8007-8742-790434178f63 4. Promises, Promise combinators (all, allSettled, race and any), async await https://chatgpt.com/share/684d1476-9568-8007-9426-5b49d08ce628 5: serialization & JSON.stringify https://chatgpt.com/share/684d14e9-6e5c-8007-ae75-afdfbe66a07a

System design for Global level application - For beginners

Basic System design for Global level application 1. Client and Server Roles in System Design Client : The client is typically a user's device (mobile app, browser, etc.) that sends a request to get some data or perform some action. Server : This is a machine (computer) that runs 24/7 and listens for client requests, processes them, and returns a response. Think of it like ordering food online (client) and the restaurant kitchen preparing and delivering it (server). 2. Public IP Address For a server to be accessed over the internet, it needs a public IP address . This makes it globally accessible . Example: Just like your phone has a unique number, servers have IPs. 3. Domain Names Instead of IP IP addresses are hard to remember (like 142.250.78.206 ), so we use domain names like amazon.com . These names are easier for humans to remember and use. 4. What is a DNS Server? DNS (Domain Name System) is like a phonebook of the internet . It con...