<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Faith Jackson on Medium]]></title>
        <description><![CDATA[Stories by Faith Jackson on Medium]]></description>
        <link>https://medium.com/@undisputedfaith?source=rss-0c747024b89f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QI013_c0VCbj4R_O</url>
            <title>Stories by Faith Jackson on Medium</title>
            <link>https://medium.com/@undisputedfaith?source=rss-0c747024b89f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 23:16:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@undisputedfaith/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What Happens When You Type `https://www.google.com` in Your Browser and Press Enter?]]></title>
            <link>https://medium.com/@undisputedfaith/what-happens-when-you-type-https-www-google-com-in-your-browser-and-press-enter-5c94dd30b4d2?source=rss-0c747024b89f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c94dd30b4d2</guid>
            <dc:creator><![CDATA[Faith Jackson]]></dc:creator>
            <pubDate>Sun, 21 Jul 2024 17:59:11 GMT</pubDate>
            <atom:updated>2024-07-21T17:59:11.546Z</atom:updated>
            <content:encoded><![CDATA[<p>What Happens When You Type `https://www.google.com` in Your Browser and Press Enter?</p><p>Have you ever wondered about the complex series of events that occur in the background when you type a URL into your browser and hit Enter? This seemingly simple action triggers a sophisticated sequence of steps involving multiple layers of the internet architecture. Let’s break down what happens when you visit `https://www.google.com`.<br>1. DNS Request<br>Domain Name System (DNS) is like the internet’s phone book. When you type `www.google.com` into your browser, the first step is to convert this human-readable domain name into an IP address, which is a numerical label assigned to each device connected to a network.<br> <br>1. Browser Cache: The browser first checks its cache to see if it has recently visited `www.google.com` and already knows the IP address.<br>2. OS Cache: If not found in the browser cache, the operating system’s cache is checked.<br>3. Router Cache: The request then moves to the local router’s cache.<br>4. ISP Cache: If the router doesn’t have it, the request goes to the ISP’s (Internet Service Provider) cache.<br>5. Recursive DNS Server: If none of the caches have the IP address, a recursive DNS server is queried, which will go through the DNS hierarchy (root servers, TLD servers, authoritative DNS servers) to find the IP address.<br> <br>2. TCP/IP<br>Once the IP address of `www.google.com` is found, your browser initiates a connection to the server using the same Transmission Control Protocol (TCP) over the Internet Protocol (IP). Here’s a simplified breakdown:<br> <br>1. TCP Handshake: A three-way handshake is performed to establish a connection:<br> - SYN: Your browser sends a SYN (synchronize) packet to the Google server.<br> - SYN-ACK: The server responds with a SYN-ACK (synchronize-acknowledgment) packet.<br> - ACK: Your browser sends an ACK (acknowledgment) packet back to the server.<br> <br>3. Firewall<br>Firewalls are security systems that monitor and control incoming and outgoing network traffic. They are placed at various points in the network (on your local machine, at your ISP, and at the destination server) to ensure that the traffic is safe and follows the defined security rules.<br> <br>4. HTTPS/SSL<br>Since you are accessing a secure website (`https://`), Secure Sockets Layer (SSL)/Transport Layer Security (TLS) is used to encrypt the data sent between your browser and the Google server.<br> <br>1. SSL Handshake: This involves:<br> - Server Authentication: The server sends its SSL certificate to the browser, which the browser verifies against trusted Certificate Authorities (CAs).<br> - Session Keys: Once verified, both the browser and server generate session keys for encrypting the data.</p><p>5. Load Balancer<br>Google uses load balancers to distribute incoming traffic across multiple servers. The load balancer ensures efficient use of resources and high availability by:<br>1. Distributing Requests: Forwarding your request to one of the least busy servers in the server farm.<br>2. Failover: Redirecting traffic from failed or underperforming servers to healthy ones.<br> <br>6. Web Server<br>Your request reaches the **web server**, which is responsible for handling HTTP(S) requests. Popular web servers include Apache, Nginx, and Microsoft IIS.<br> <br>7. Application Server<br> <br>The web server forwards the request to an application server where the core application logic resides. Google uses custom-built servers and highly optimized software for this purpose. The application server processes your request, interacts with databases if necessary, and generates the appropriate response.<br> <br>8. Database<br>To serve dynamic content, the application server may need to query a **database**. Databases store data in an organized manner and can quickly retrieve information requested by the application server. Google uses a combination of SQL (e.g., MySQL) and NoSQL (e.g., Bigtable) databases.<br> <br>9. Response<br>Finally, the response, typically in the form of an HTML document, is sent back through the same path (application server -&gt; web server -&gt; load balancer -&gt; your browser). Your browser then renders the HTML, CSS, and JavaScript to display the Google homepage.</p><p>By the time you see the Google homepage, a multitude of systems and protocols have worked seamlessly together to deliver the content to you in milliseconds. This intricate process showcases the efficiency and complexity of modern web architecture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c94dd30b4d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>