<?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 Jibril Isah on Medium]]></title>
        <description><![CDATA[Stories by Jibril Isah on Medium]]></description>
        <link>https://medium.com/@jibrilisah1?source=rss-97387c6b55c9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UcnhG3q23zj4Aqbo</url>
            <title>Stories by Jibril Isah on Medium</title>
            <link>https://medium.com/@jibrilisah1?source=rss-97387c6b55c9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:55:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jibrilisah1/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: A path to finding bugs and Fixing them hands-on.]]></title>
            <link>https://medium.com/@jibrilisah1/postmortem-a-path-to-finding-bugs-and-fixing-them-hands-on-77c2c4d46fe4?source=rss-97387c6b55c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/77c2c4d46fe4</guid>
            <dc:creator><![CDATA[Jibril Isah]]></dc:creator>
            <pubDate>Mon, 15 May 2023 00:31:36 GMT</pubDate>
            <atom:updated>2023-05-15T00:31:36.017Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*6i45FiKluiZcUoYDHf7kTg.jpeg" /><figcaption>EiProcusimages</figcaption></figure><p>On the 17th of April a very beautiful and promising day. I delivered a web application to a client about three days ago and the client loved the job and I got a bonus :). I used just one server at the time and didn’t expect high traffic immediately after it was launched. Then high traffic was noticed and I decided to add more servers and use a load balancer to help distribute website traffic across multiple servers. This ensures high website availability and performance during periods of high traffic volume.</p><p>Happily I sat down on my desk to do another seamless job 😀 and was so confident the job would be done in just less than 30 minutes. I decided to use Nginx as a load balancer. I installed the loaded balancer and configured it to send traffic to all available servers. Done!</p><p>I called and said it was ready. Then I learnt a very important lesson — to always test during production no matter how little the change was.</p><p>Then a few minutes later at exactly 9.00 Am GMT, boom! I received a call that the website was not working properly, that it is giving an error :(.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*SXWGvoFTTEzaU_GtScn0HQ.png" /><figcaption>Flexicloud.in</figcaption></figure><p>My smiling face changed. I had to start debugging.</p><p>This is this summary of the Postmortem:</p><p>Duration of the outage: This happened for 4 hours, its started at about 9:00 AM GMT and ended at 1:00 PM GMT.</p><p>Impact: The web application was down, not loading at all. The server was running but it gave an error — a 502 error code response.</p><p>At 9:10 AM GMT: I began an investigation to get the root cause. I started by search Google for the meaning of the error displayed on the web page. Checked to see if the server were Ok, and they were all running. I did change some configuration and restated nginx.</p><p>At 10:00 AM GMT: I discovered that the changes made were not resolving the issue and began to investigate other potential causes.</p><p>When it was 11:00 AM GMT it seems to be taking much time so I escalated the issue to the my team engineers for further investigation.</p><p>11:45 AM GMT: The my team engineers determined that the root cause was a misconfiguration of the load balancer.</p><p>12:30 PM GMT: The root cause was fixed.</p><p>12:45 PM GMT: The web application was restored, and the site was accessible without any problem.</p><p>12:54 PM GMT: The correct script was pushed to github.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*9MXtqnfh07pqG0x3tNdibw.png" /><figcaption><a href="https://steamcommunity.com/games/679860/announcements/detail/2191508890589592730/?l=polish">https://steamcommunity.com/games/679860/announcements/detail/2191508890589592730/?l=polish</a></figcaption></figure><p><strong>Root cause and resolution:</strong> The root cause of the problem was a misconfiguration of the load balancer which resulted in traffic of the web servers. The loader balancer was not properly routing traffic to all available web servers, causing some servers to be overwhelmed while other servers were not utilized.</p><p>To resolve the issue, the load balancer was reconfigured to properly distribute traffic to all available servers and an additional monitoring (Datadog) was implemented to ensure earlier awareness of such problems in future. .</p><p><strong>Corrective and preventive measures:</strong></p><ul><li>To implement an automated alert system to notify on-call engineers of such misconfigurations or load balancer issues in future.</li><li>An implementation of a regular load balancer checks to detect misconfigurations earlier.</li><li>To conduct a check on the load balancing system to identify potential areas that may need improvement.</li></ul><p><strong>Tasks to address the issues:</strong></p><ul><li>Running services analysis of all components of the site before taking it into production.</li><li>Conduct a postmortem analysis to identify areas for improvement.</li><li>Schedule a regular load balancer configuration check.</li></ul><p>This was my first Postmortem. So get ready to get your hands dirty. There is no software engineering without debugging. Get used to it. Cheerio!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77c2c4d46fe4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working path on a web]]></title>
            <link>https://medium.com/@jibrilisah1/working-path-on-a-web-ab9e0cfc95ea?source=rss-97387c6b55c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab9e0cfc95ea</guid>
            <dc:creator><![CDATA[Jibril Isah]]></dc:creator>
            <pubDate>Mon, 17 Apr 2023 00:26:57 GMT</pubDate>
            <atom:updated>2023-04-17T00:26:57.985Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Working path on a web</strong></p><p>What happens on a web browser when you type <a href="http://www.google.com/">https://www.google.com</a> and hit enter?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*14fAavcLhXd2YBUMbyEoVQ.jpeg" /><figcaption>Behind the scene of the web browser.</figcaption></figure><p>It only takes a device, internet service, a click, and a few seconds for a web page to appear, but on the client side, it still looks like a mystery how this works.</p><p>I know you wonder how this mechanism works; this article takes you through a brief tour of the concepts of what really happens behind the scenes. The following concepts are key to understanding what happens when you type a URL on your browser and hit enter:</p><p><strong>DNS request</strong></p><p>Domain Name System acronym (DNS). The DNS helps users connect to websites using names instead of internet protocol (IP) addresses. DNS is the phone book of the internet, through which we access information online through domain names, like “google.com”. Web browsers interact through IP addresses. The DNS acts as a translator that converts domain names to IP addresses, so browsers can load internet resources. There is a unique IP address that each device connected to the internet has, which other machines (e.g., servers) can identify it with. DNS eliminates the need for humans to memorize IP addresses like 192.168.0.1 (IPv4), etc.</p><p>This process is achieved with certain DNS servers like DNS Resolver, which receives all queries or requests from the client via a browser. Secondly, the root server is responsible for translating human-readable hostnames into IP addresses. Then, a top-level domain (TLD) server takes care of the specific IP address of its hosts, i.e., the “.com” or .ng portion of the hostname. Finally, the authoritative name server, which provides the exact definition the specific hostname translates to, if it has access to the requested record, returns the IP address for the requested hostname back to the DNS resolver that initiated the request. Note that if the hostname is already in the local cache, then DNS Resolver returns the request to the browser or application. Therefore, DNS lookup chains should be avoided; this helps reduce CPU consumption, and queries can be resolved faster, saving time.</p><p><strong>TCP/IP</strong></p><p>TCP/IP stands for Transmission Control Protocol/Internet Protocol. These are two different communication protocols that make up the internet, each with separate functions. TCP/IP’s basic function is to take care of the information sent and received in the form of packets between sources and destinations. TCP establishes how communication is carried out over a network and how data is sent in the form of packets. IP is responsible for determining the routes that the packets need to take in order to make it to their intended destination. Before this data is sent out, its IP address is used to determine where it should go (the destination).</p><p>These protocols use the Open System Interconnected (OSI) model. This type of communication model is where a client (machine) gets service from another machine (server) in a network. So, when a URL is entered on a browser, a request is sent to the server using IP to build a connection. The server receives the request and sends a message accepting the request to establish a connection (called the handshake process). After a successful handshake process, all transmission is done through the TCP protocol to ensure reliability and orderliness. The TCP is used for a request by the browser (client) to access the webpage, for example “google.com”, On receiving the request, the server then transmits the HTML code for the homepage of the URL back to the browser via the same protocol (TCP). Upon receiving this HTML code, the browser uses it to display a representation of the webpage on your screen; also, components such as images that are necessary for displaying it are also requested via the TCP/IP protocol.</p><p><strong>Firewall</strong></p><p>A firewall is a software or hardware device that limits unauthorized access to and from private networks. It serves as a barrier between the secured internal network and the most vulnerable networks, such as the internet. Decisions regarding whether to allow traffic or not are based on customized security rules, such as IP address restrictions, the number and frequency of requests made, or even the type of content requested. Although load balancers also act as firewalls, which we will discuss later, installing a separate firewall can provide additional security and protection against a single point of failure.</p><p>If the request coming in meets or doesn’t meet the security rules set by the firewall on the Google server, the browser allows access or blocks access to the website.</p><p><strong>HTTPS</strong></p><p>Hypertext Transfer Protocol, with an acronym (HTTPS). This is the most commonly used application protocol used by the World Wide Web (www). We use HTTP when our web browser and server need to communicate. It is a text-based protocol, where once a connection is established, the client (a browser) sends a request message to the server, which then responds with its own message. HTTP is a pull-based protocol, meaning the client pulls information from the server instead of the other way around. As for HTTPS, it works just like HTTP, but with an added layer of security provided by SSL, which is an encryption. The letter S in HTTPS stands for ‘security.</p><p><strong>SSL</strong></p><p>In today’s digital world, security is essential, which is why we employ Secure Socket Layer (SSL) as an extra safety measure. SSL is a protocol that enables servers and browsers to make sure they are passing private information to each other. An SSL certificate — a small data file — encrypts the link between the web server and the browser so no one else can access it. It’s especially handy when dealing with confidential information like credit card numbers, as even if someone’s listening in, it can’t be deciphered. When a website has an SSL certificate, you’ll see that the URL has a padlock sign and <a href="https://www.google.com/">https://www.google.com</a> instead of just ‘http://’ without the ‘s’. Showing that your privacy is safe.</p><p><strong>Load balancer</strong></p><p>Google likely has their servers spread out over multiple data centers to share the workload. They use a load balancer to achieve this, which evenly distributes incoming network traffic among the servers, keeping any single server from getting overloaded. When a client (or browser) sends a request to access the Google.com homepage, the load balancer would receive the request and forward it to one of the Google servers in the network, particularly one with a lower workload, depending on the type of load balancing algorithm used. Additionally, the load balancer runs checks on each of the servers to make sure they are all in working order.</p><p><strong>Web Server</strong></p><p>A web server is a system of hardware and software that responds to requests for static content (HTML pages, images, and plain text files that don’t change) via HTTP and HTTPS. Examples are Nginx or Apache. When a client requests a web page from a web server, the server processes the request and sends back the relevant response. For instance, when visiting Google.com, Google’s server would first receive the request from the load balancer, which would then forward it to the browser. The web server will then process this request and generate a response with all the necessary HTML, CSS, and JavaScript files needed for rendering the webpage for the user.</p><p><strong>Application Server</strong></p><p>Many sites require dynamic content, which is interactive and changes each time a visitor accesses it. That’s where an application server comes in. It’s the program that is responsible for managing applications, user information, and communicating with the database server. Working together with the web server, the application server can serve dynamic applications using static content from the web server. For example, Google uses a load balancer to send your query to the web server, which then passes it on to the application server for processing and the generation of search results. If more complicated queries require additional data, then the application server will request it from a database before sending a response back to your browser.</p><p><strong>Database</strong></p><p>When using client-server computing, an essential element is the database server. This is a combination of hardware and software that runs a database, which is essentially a collection of data. There are two main kinds of databases: relational and non-relational. Popular varieties of relational databases include PostgreSQL, MySQL, SQLite, and MariaDB.</p><p><strong>Conclusion</strong></p><p>These steps discussed above explain what happens within milliseconds when we try to access a URL on our device without noticing.</p><p>I’ve just submitted this post as part of the ALX Africa Software Engineering program. I hope you enjoyed learning more about what happens when you type “google.com” in your browser! If you’d like to connect with me one-on-one, please shoot me a DM on Twitter,I’ve just submitted this post as part of the ALX Africa Software Engineering program. I hope you enjoyed learning more about what happens when you type “google.com” in your browser! If you’d like to connect with me one-on-one, please shoot me a DM or follow me on <a href="https://twitter.com/NBEE2">Twitter</a>. I would love to hear from you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab9e0cfc95ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>