<?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 Norris Selorm Bedzo on Medium]]></title>
        <description><![CDATA[Stories by Norris Selorm Bedzo on Medium]]></description>
        <link>https://medium.com/@bedzon?source=rss-8ce4b87b5c90------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GXb75_1hZOt_t1x5fdffxg@2x.jpeg</url>
            <title>Stories by Norris Selorm Bedzo on Medium</title>
            <link>https://medium.com/@bedzon?source=rss-8ce4b87b5c90------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:38:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bedzon/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[POSTMORTEM REPORT]]></title>
            <link>https://medium.com/@bedzon/postmortem-report-4052d1d359fb?source=rss-8ce4b87b5c90------2</link>
            <guid isPermaLink="false">https://medium.com/p/4052d1d359fb</guid>
            <category><![CDATA[postmortem]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Norris Selorm Bedzo]]></dc:creator>
            <pubDate>Mon, 07 Nov 2022 20:00:27 GMT</pubDate>
            <atom:updated>2022-11-07T20:00:27.085Z</atom:updated>
            <content:encoded><![CDATA[<p>Any software system will eventually fail, and that failure can come stem from a wide range of possible factors: bugs, traffic spikes, security issues, hardware failures, natural disasters, human error… Failing is normal and failing is actually a great opportunity to learn and improve. Any great Software Engineer must learn from his/her mistakes to make sure that they won’t happen again. Failing is fine, but failing twice because of the same issue is not.</p><p>A postmortem is a tool widely used in the tech industry. After any outage, the team(s) in charge of the system will write a summary that has 2 main goals:</p><ul><li>To provide the rest of the company’s employees easy access to information detailing the cause of the outage. Often outages can have a huge impact on a company, so managers and executives have to understand what happened and how it will impact their work.</li><li>And to ensure that the root cause(s) of the outage has been discovered and that measures are taken to make sure it will be fixed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*PgfgI96yEWs1WL3FW0RZ3A.gif" /><figcaption>postmortem gif</figcaption></figure><p>While the postmortem format can vary, you can use the requirements below to write one.</p><p><em>Requirements:</em></p><ol><li>Issue Summary (that is often what executives will read) must contain:</li></ol><p><em>~ Duration of the outage with start and end times (including timezone)</em></p><p><em>~ What was the impact (what service was down/slow? What were users experiencing? How many % of the users were affected?)</em></p><p><em>~ What was the root cause</em></p><p>2. Timeline (format bullet point, format: time - keep it short, 1 or 2 sentences) must contain:</p><p><em>~ When was the issue detected</em></p><p><em>~ How was the issue detected (monitoring alert, an engineer noticed something, a customer complained…)</em></p><p><em>~ Actions taken (what parts of the system were investigated, what were the assumption on the root cause of the issue)</em></p><p><em>~ Misleading investigation/debugging paths that were taken</em></p><p><em>~ Which team/individuals was the incident escalated to</em></p><p><em>~ How the incident was resolved</em></p><p>3. Root cause and resolution must contain:</p><p>~ Explain in detail what was causing the issue</p><p>~ Explain in detail how the issue was fixed</p><p>4. Corrective and preventative measures must contain:</p><p>~ What are the things that can be improved/fixed (broadly speaking)</p><p>5. A list of tasks to address the issue (be very specific, like a TODO, for example, patch the Nginx server, add monitoring on server memory…)</p><p>6. Be brief and straight to the point, between 400 to 600 words</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4052d1d359fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Happens When You Type google.com in Your Browser and Press Enter]]></title>
            <link>https://medium.com/@bedzon/what-happens-when-you-type-google-com-in-your-browser-and-press-enter-3e32e9f1f18b?source=rss-8ce4b87b5c90------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e32e9f1f18b</guid>
            <category><![CDATA[application-server]]></category>
            <category><![CDATA[https]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[web-server]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Norris Selorm Bedzo]]></dc:creator>
            <pubDate>Mon, 10 Oct 2022 00:52:38 GMT</pubDate>
            <atom:updated>2022-10-10T01:07:44.220Z</atom:updated>
            <content:encoded><![CDATA[<p>From the day computers were introduced till today, the working of the web remains to be a concept unknown to many. The web is a palace with so many agents waiting for your ruling command. Yes, you are the King here, just say your word and it will be done.</p><p>In this article, we are going to learn how the web operates. It is suitable for:</p><ul><li>A beginner who wants to understand the web architecture</li><li>A learner who wants to advance his understanding of the web</li><li>A master who wants a refresh of the concepts</li></ul><p>Brace yourself, this is a very inflated writeup.</p><h3>What is the web?</h3><p>According to <a href="https://en.wikipedia.org/wiki/World_Wide_Web">Wikipedia</a>, <em>The World Wide Web (WWW),</em> commonly known as the <em>Web</em>, is an information system where documents and other web resources are identified by Uniform Resource Locators, which may be interlinked by hyperlinks, and are accessible over the Internet.</p><p>Ever wondered what actually happens behind the scenes when you search for a website? most people don’t. This is mainly because, it seems almost automatic; you search for a website and press enter and in a flash the website is available. The truth is that so many background processes come to play. Let’s assume you search <a href="http://www.google.com/">www.google.com</a> and press enter; what actually happens before you see the website in your browser? Let’s find out 😊</p><p>Every website has its own Internet Protocol (IP) address, that identifies it on a network. It is impossible to memorize the addresses for each and every website you want to visit. This is where our good friend the DNS (Dynamic Name System) server comes to play. Its work is to bridge the gap between the words (in this case; <a href="http://www.google.com/">www.google.com</a>) and the IP addresses to get us to our destination.</p><p>So, when you type <a href="http://www.google.com/">www.google.com</a> and press enter the first thing that happens is that the DNS server will find the IP address and deliver it to the browser. Now that your browser knows the IP address it will connect to the server (the computer that hosts google.com). A server is a computer that has its own operating system and provides different services. The protocol used by the browser in communicating with the server(s) is usually Transmission Control Protocol (TCP).</p><ul><li><strong>Internet</strong> — the Internet is a vast network that connects computers all over the world.</li><li><strong>Internet Service Provider (ISP)</strong> — an organization that provides services for accessing, using, or participating in the Internet.</li><li><strong>Client</strong> — the <em>user-agent</em>; any tool that acts on behalf of the user. This role is primarily performed by the Web browser, but it may also be performed by programs used by engineers and Web developers to debug their applications.</li><li><strong>Client requests</strong> — queries sent to the server by the client.</li><li><strong>Resolver</strong> — a set of dynamic library routines used by applications that need to know machine names.</li><li><strong>Server</strong> — a piece of computer hardware or software that provides functionality for other programs or devices, called “clients”.</li><li><strong>Webserver</strong> — is computer software with underlying hardware that connects to the Internet and supports physical data interchange with other devices connected to the web.</li><li><strong>Domain Name System (DNS)</strong> — the hierarchical and decentralized naming system used to identify computers, services, and other resources reachable through the Internet or other Internet Protocol networks.</li><li><strong>Internet Protocol address (IP)</strong> — a numerical label such as 192.0.2.1 that is connected to a computer network that uses the Internet Protocol for communication. An IP address serves two main functions: network interface identification and location addressing.</li><li><strong>Transmission Control Protocol (TCP)</strong> — a <em>connection-oriented</em> protocol that means it establishes the connection before the communication that occurs between the computing devices in a network. This protocol is used with an IP protocol, so together, they are referred to as a TCP/IP.</li><li><strong>HyperText Transfer Protocol (HTTP)</strong> — a protocol for fetching resources such as HTML documents. It is the foundation of any data exchange on the Web and it is a <em>client-server protocol</em>, which means requests are initiated by the recipient, usually the Web browser.</li><li><strong>Load balancer</strong> — a device/program that acts as a reverse proxy and distributes network or application traffic across many servers.</li><li><strong>Application server</strong> — a type of server designed to install, operate and host-associated services and applications for the IT services, end-users and organizations.</li><li><strong>Database</strong> — is an organized collection of structured information, or data, typically stored electronically in a computer system.</li><li><strong>Firewall</strong> — a network security system that monitors and controls the incoming and outgoing network traffic based on predetermined security rules.</li></ul><p>With the evolution of domain names, DNS came along. DNS is like the Contacts app on our phone. DNS helps our browser find servers on the Internet. We can do a DNS lookup to find the IP address of the server based on the domain name, <a href="http://google.com/">google.com</a></p><h3>Breaking parts of URL</h3><p>Up to this far, we have been referring to our demo URL as <a href="http://google.com/">google.com</a> but in a real sense, it has a hidden part that is autocompleted by your search upon a request. The complete URL appears ass <a href="https://google.com/">https://google.com</a></p><p>Let’s take a closer look at the URL. https:// is the <strong>scheme</strong>. HTTPS stands for Hypertext Transfer Protocol Secure. This scheme tells the browser to make a connection to the server using Transport Layer Security (TLS). TLS is an encryption protocol to secure communications over the Internet. With HTTPS, the data exchanged between your browser and the server, like passwords, credit card info etc, is encrypted. You may have also seen ftp://, mailto://, or file://. These are other protocols that browsers know how to handle.</p><p>The next part, <a href="http://google.com/">google.com</a> is a <strong>domain</strong> of the site. It is the memorable name that points to 172.217.170.174 server.</p><p>Some URLs contain more content after the domain. Eg <a href="https://beta-scribbles.tech/about">https://beta-scribbles.tech/</a>hello-world</p><p>/hello-world is the path on the server to the requested resource. You can think of the path as a directory structure of files and other directories on your computer. It’s a way to organize your resources, whether they are static HTML, CSS, Javascript, image files, or dynamically generated content.</p><p>We now know that when you type <a href="http://google.com/">google.com</a> and press enter, the browser will look up the IP address of the domain. How will the process go about?</p><h3>How does the browser lookup an IP address for the domain?</h3><p>After you’ve typed the URL into your browser and pressed enter, the browser needs to figure out which server on the Internet to connect to. To do that, it needs to look up the IP address of the server hosting the website using the domain you typed in. It does this using a DNS lookup. You can read more about how DNS works <a href="https://aws.amazon.com/route53/what-is-dns/#:~:text=The%20Internet&#39;s%20DNS%20system%20works,These%20requests%20are%20called%20queries.">here</a>.</p><p>Because DNS is complex and has to be blazingly fast, DNS data is cached at different layers between your browser and various places across the Internet. Your browser checks its cache, the operating system cache, a local network cache at your router, and a DNS server cache on your corporate network or at your internet service provider (ISP). If the browser cannot find the IP address at any of those cache layers, the DNS server on your corporate network or at your ISP does a recursive DNS lookup. A recursive DNS lookup asks multiple DNS servers around the Internet, which in turn ask more DNS servers for the DNS record until it is found.</p><p>Once the browser gets the DNS record with the IP address, it’s time for it to find the server on the Internet and establish a connection. How is this connection established?</p><h3>How does the browser initiate a TCP connection with the server?</h3><p>Using the public Internet routing infrastructure, packets from a client browser request get routed through the router, the ISP, through an internet exchange to switch ISPs or networks, all using transmission control protocol (TCP) to find the server with the IP address to connect to at port 443. Once the browser has established a connection with the server, a Secure Socket Layer (SSL) certificate is generated to denote the domain as secured. The next step is to send the HTTP request to get the resource or the page. How is the request made?</p><h3>How does the browser send HTTP requests to the server?</h3><p>Now that the browser has a connection to the server, it follows the rules of communication for the HTTP(s) protocol. It starts with the browser sending an HTTP request to the server to request the contents of the page. The HTTP request contains a request line, headers (or metadata about the request), and a body. The request line contains information that the server can use to determine what the client (in this case, your browser) wants to do.</p><p>The request line contains the following:</p><ul><li>a request method, which is one of GET, POST, PUT, PATCH, DELETE, or a handful of other HTTP verbs</li><li>the path, pointing to the requested resources</li><li>the HTTP version to communicate with</li></ul><p>For a broader explanation, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Session">here</a>. So what happens after the server has received the client’s request?</p><h3>Server process request and sends a response to client</h3><p>The server takes the request and based on the info in the request line, headers, and body then decides how to process the request. It fetches the requested content from the available database.</p><p>The response contains the following:</p><ul><li>a status line, telling the client the status of the request</li><li>response headers, telling the browser how to handle the response</li><li>the requested resource at that path, either content like HTML, CSS, Javascript, or image files, or data</li></ul><p>Resources can be static files, either text (HTML files) or non-text data (images). Browsers aren’t always requesting static files, though. Often, these are dynamic resources generated at the time of the request and there is no file associated with the resource. The browser renders the content afterwards.</p><h3>How the browser renders content</h3><p>Once the browser has received the response from the server, it inspects the response headers for information on how to render the resource. The Content-Type header above tells the browser it received an HTML resource in the response body.</p><p>Sometimes, there is a lot of traffic of clients requests to servers (you are typing <a href="http://google.com/">google.com</a>, other people are typing so much more). To improve the efficiency of servers and reduce loading time, a load balancer is used.</p><h3>Introduction to load balancer</h3><p>A load balancer intelligently distributes traffic from clients across multiple servers without the clients having to understand how many servers are in use or how they are configured. Because the load balancer sits between the clients and the servers it can enhance the user experience by providing additional security, performance, resilience and simplifying scaling your website.</p><p>Load balancers perform many functions in addition to just splitting traffic across servers, among them are: HTTP reverse proxy, Traffic and routing optimisation algorithms, Image caching (reducing web server load), Content caching</p><p>Your request to view <a href="http://google.com/">google.com</a> will be equally balanced with all other available requests from other clients. The load balancer will allocate a server for you.</p><p>Now that you know how requests are balanced using a load balancer, let’s see something else. How can you prevent unauthorized access to your website?</p><h3>Introduction to firewall</h3><p>A firewall is a security device — computer hardware or software — that can help protect your network by filtering traffic and blocking outsiders from gaining unauthorized access to the private data on your computer.</p><p>Not only does a firewall block unwanted traffic, but it can also help block malicious software from infecting your computer.</p><p>Firewalls can provide different levels of protection. The key is determining how much protection you need.</p><p>The image below is a summary of the whole process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkCOt96x715grWgXGYvZmQ.png" /></figure><h3>Conclusion</h3><p>You have learned about the web architecture, how the pieces communicate together to receive clients requests, establish connections between servers and clients, balance requests between servers, how resources are served to clients by servers, and finally, you were introduced to the concept of a firewall.</p><p>Hopefully after reading this article, you now know what happens “behind closed doors” when you search for a website and press enter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e32e9f1f18b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>