<?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 Calistus Onyekachukwu  on Medium]]></title>
        <description><![CDATA[Stories by Calistus Onyekachukwu  on Medium]]></description>
        <link>https://medium.com/@kachically89?source=rss-92d180670112------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WR92Kpd5Q58U6aNZ</url>
            <title>Stories by Calistus Onyekachukwu  on Medium</title>
            <link>https://medium.com/@kachically89?source=rss-92d180670112------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:10:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kachically89/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[COMPARING BETWEEN TWO FRONTEND TECHNOLOGIES]]></title>
            <link>https://medium.com/@kachically89/comparing-between-two-frontend-technologies-77322ab514f9?source=rss-92d180670112------2</link>
            <guid isPermaLink="false">https://medium.com/p/77322ab514f9</guid>
            <dc:creator><![CDATA[Calistus Onyekachukwu ]]></dc:creator>
            <pubDate>Sat, 29 Jun 2024 19:37:13 GMT</pubDate>
            <atom:updated>2024-06-29T19:37:13.771Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>React vs. Next.js: Frontend Powerhouses Compared</strong></p><p>ReactJS and Next.js are both powerful tools in the frontend developer’s arsenal, but they serve different purposes. Here’s a breakdown of their key differences:</p><p><strong>ReactJS: The Versatile Building Block</strong></p><p><strong>Reactjs is</strong> an open-source JavaScript library for building user interfaces. It Focuses on Creating reusable UI components and managing their state. It has the following strengths and weaknesses.</p><ul><li><strong>Strengths:</strong></li><li><strong>Flexibility:</strong> React allows you to build a wide range of web applications, from single-page applications (SPAs) to complex web interfaces.</li><li><strong>Component-based architecture:</strong> Promotes code reusability, maintainability, and easier collaboration.</li><li><strong>Large community and ecosystem:</strong> Abundant learning resources, libraries, and tools available.</li><li><strong>Weaknesses:</strong></li><li><strong>Lower-level abstraction:</strong> Requires more manual setup and configuration compared to higher-level frameworks.</li><li><strong>Renders on the client-side (by default):</strong> Can lead to slower initial page loads for complex applications.</li></ul><p><strong>Next.js: The React Framework with Built-in Benefits</strong></p><p><strong>Nextjs is</strong> a React framework built on top of ReactJS, offering additional features and functionalities. It Focuses on Simplifying common development tasks for React applications, including routing, data fetching, and server-side rendering (SSR). It has the following strength and weaknes:</p><ul><li><strong>Strengths:</strong></li><li><strong>Faster initial page loads:</strong> Offers features like SSR and static site generation (SSG) to improve performance.</li><li><strong>Enhanced developer experience:</strong> Provides built-in tools for routing, data fetching, and image optimization, streamlining development.</li><li><strong>SEO benefits:</strong> SSR and SSG can improve a website’s search engine optimization (SEO).</li><li><strong>Weaknesses:</strong></li><li><strong>Steeper learning curve:</strong> Requires knowledge of ReactJS and additional Next.js concepts.</li><li><strong>Less flexibility:</strong> Opinionated framework structure might not suit every project’s needs.</li></ul><p><strong>When to use Reactjs and Nextjs</strong></p><ul><li><strong>Choose ReactJS if:</strong></li><li>You need maximum flexibility and control over your application’s architecture.</li><li>You’re building a simple SPA or a small-scale web application.</li><li>You’re comfortable with setting up and managing your own build process.</li><li><strong>Choose Next.js if:</strong></li><li>You want to leverage built-in features for routing, data fetching, and performance optimization.</li><li>You’re building a complex SEO-focused web application.</li><li>You prioritize developer experience and faster development cycles.</li></ul><p>In Summary<strong>, </strong>Think of ReactJS as the building blocks — fundamental components you can arrange to create any structure. Next.js provides pre-built structures and functionalities on top of those blocks, making development faster and more efficient for specific use cases.</p><p>I’m thrilled to be joining the HNG internship and diving into real-world ReactJS projects! The component-based architecture of React is particularly exciting, as it allows for clean, reusable code — a perfect fit for building complex applications.</p><p><a href="https://hng.tech/internship">https://hng.tech/internship</a></p><p><a href="https://hng.tech/premium">HNG Premium</a></p><blockquote>HAPPY READING!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77322ab514f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Incident Postmortem Report: Network Failure in Nigeria That Affected My ALX Learning.]]></title>
            <link>https://medium.com/@kachically89/my-first-incident-postmortem-report-network-failure-in-nigeria-that-affected-my-alx-learning-d9f5b32ee9f9?source=rss-92d180670112------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9f5b32ee9f9</guid>
            <dc:creator><![CDATA[Calistus Onyekachukwu ]]></dc:creator>
            <pubDate>Sun, 12 May 2024 16:59:25 GMT</pubDate>
            <atom:updated>2024-05-12T16:59:25.642Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*CuG-VUaEiGJMs6guBk3PFQ.jpeg" /><figcaption>You don’t have access to the Internet</figcaption></figure><p><strong>Duration of the outage:</strong></p><p>- Start: around 14/03/2024, 12:30 PM</p><p>- End: around 16/03/2024, 8:00 PM</p><p><strong>Impact:</strong> The incident had several adverse effects on my learning and project work:</p><ul><li><strong>Disrupted Learning:</strong> The inability to access my learning dashboard prevented me from participating in scheduled activities, accessing course materials, and interacting with instructors and classmates, ultimately impacting my learning progress.</li><li><strong>Delayed Project Work:</strong> As the network failure coincided with a critical phase of my project, the disruption in connectivity hindered my ability to conduct research, communicate with collaborators, and make progress on project tasks, resulting in delays and setbacks.</li></ul><p><strong>Root cause:</strong></p><ul><li>The root cause of the network failure was as a result the breakage of the undersea cable of cable network</li></ul><p><strong>Background:</strong> The incident occurred on March 14th, at approximately 12:30 PM, when a widespread network failure impacted all data networks in Nigeria. As a result, users across the country, including myself, were denied access to various online platforms and services, including my learning dashboard because of undersea cable of the cable networks. The outage persisted for approximately two days, until March 16th when services were restored.</p><p><strong>Incident Description:</strong> The network failure had a significant impact on my ability to access essential online resources, particularly my ALX learning dashboard, which I rely on for accessing course materials, projects, and collaboration with peers. Additionally, as I was concurrently working on a project that required online research and collaboration, the outage severely disrupted my workflow and productivity.</p><p><strong>Impact:</strong> The incident had several adverse effects on my learning and project work:</p><ol><li><strong>Disrupted Learning:</strong> The inability to access my learning dashboard prevented me from participating in scheduled activities, accessing course materials, and interacting with instructors and classmates, ultimately impacting my learning progress.</li><li><strong>Delayed Project Work:</strong> As the network failure coincided with a critical phase of my project, the disruption in connectivity hindered my ability to conduct research, communicate with collaborators, and make progress on project tasks, resulting in delays and setbacks.</li></ol><p><strong>Root Cause Analysis:</strong> Upon investigation, the following factors contributed to the severity and duration of the incident:</p><ol><li><strong>Infrastructure Vulnerabilities:</strong> Nigeria’s telecommunications infrastructure faces challenges such as inadequate maintenance, aging equipment, and insufficient redundancy, making it susceptible to failures during periods of high demand or adverse conditions.</li><li><strong>External Factors:</strong> The network failure may have been exacerbated by external factors such as severe weather conditions, power outages, or technical issues with upstream providers, further complicating efforts to restore services.</li><li><strong>Lack of Communication:</strong> Limited communication and transparency from service providers regarding the cause and resolution of the outage exacerbated user frustration and uncertainty during the incident.</li></ol><h4><strong>Lessons Learned:</strong></h4><ol><li><strong>Diversify Access Channels:</strong> Explore alternative methods for accessing critical resources, such as offline materials or mobile data connections, to mitigate the impact of network failures on learning and project work.</li><li><strong>Proactive Communication:</strong> Improve communication channels between service providers and users during incidents, providing timely updates, status reports, and estimated restoration times to manage expectations and alleviate concerns.</li><li><strong>Enhance Infrastructure Resilience:</strong> Advocate for investments in infrastructure upgrades, redundancy measures, and disaster recovery plans to enhance the resilience and reliability of telecommunications networks in Nigeria.</li></ol><h4><strong>Recommendations:</strong></h4><ol><li><strong>Advocate for Policy Changes:</strong> Advocate for regulatory reforms and policies aimed at improving the resilience and reliability of Nigeria’s telecommunications infrastructure, including incentives for infrastructure investments and performance standards for service providers.</li><li><strong>Collaborate with Stakeholders:</strong> Foster collaboration between government agencies, service providers, and industry stakeholders to address systemic challenges and develop comprehensive solutions for improving network resilience and performance.</li><li><strong>Emergency Preparedness:</strong> Develop and implement emergency preparedness plans and protocols to effectively respond to future network failures or disruptions, including clear escalation procedures, communication strategies, and coordination mechanisms.</li></ol><p><strong>Conclusion:</strong> The network failure incident in Nigeria underscored the critical importance of reliable connectivity for learning, work, and daily activities in today’s digital age. By conducting a thorough postmortem analysis, identifying root causes, and implementing recommendations, we can work towards building more resilient telecommunications infrastructure and better preparedness for future incidents, ultimately ensuring uninterrupted access to essential services and resources for all users.</p><p><strong>Author:</strong><br> Ugwuoke Calistus Onyekachukwu<br> 12th May 12, 2024</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9f5b32ee9f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHAT HAPPENS WHEN YOU TYPE www.google.com YOUR BROWSER AND PRESS ENTER]]></title>
            <link>https://medium.com/@kachically89/what-happens-when-you-type-www-google-com-your-browser-and-press-enter-f9f27f893326?source=rss-92d180670112------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9f27f893326</guid>
            <dc:creator><![CDATA[Calistus Onyekachukwu ]]></dc:creator>
            <pubDate>Sat, 13 Apr 2024 22:20:56 GMT</pubDate>
            <atom:updated>2024-04-13T22:20:56.495Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered what happens behind the scenes when you type a URL like “https://www.google.com&quot; into your browser and hit Enter? The journey of a web request is a fascinating one, involving multiple steps and technologies working seamlessly to deliver the webpage you requested. Don’t worry, I will break everything down as much as possible for you to appreciate it.</p><p>Just so we are on the same page, I want to presume you know what a browser is but if you don’t, that’s also fine. A browser is basically an app that you use to access the web. Common examples include: Chrome, Firefox, Safari, Edge, etc.</p><p>Let’s dive into the intricate process:</p><p><strong>A BRIEF EXPLANATION OF WHAT HAPPENS WHEN YOU TYPE A URL IN A BROWSER</strong></p><p>1. <strong>URL Parsing</strong>: The browser parses the URL to extract the protocol (HTTP or HTTPS), domain name (www.google.com), and any additional path or parameters.</p><p>2. <strong>DNS Lookup</strong>: The browser needs to find the IP address of the server hosting the website. It sends a DNS (Domain Name System) query to a DNS server, which returns the corresponding IP address for the domain name. This step allows your browser to know where to send the request.</p><p>3. <strong>Initiating a TCP Connection</strong>: Once the IP address is obtained, the browser establishes a TCP (Transmission Control Protocol) connection with the server. TCP ensures reliable and ordered delivery of data between the client (your browser) and the server.</p><p>4. <strong>TLS Handshake (if HTTPS):</strong> If the URL begins with “https://”, indicating a secure connection, the browser initiates a TLS (Transport Layer Security) handshake with the server. This process involves negotiating encryption parameters, exchanging cryptographic keys, and verifying the server’s identity using digital certificates.</p><p>5. <strong>Sending HTTP Request</strong>: With the TCP connection established and, if necessary, the TLS handshake completed, the browser sends an HTTP GET request to the server. This request contains information such as the requested resource (e.g., “/”, “/index.html”), supported compression algorithms, and more.</p><p>6. <strong>Server Processing</strong>: Upon receiving the request, the server processes it by locating the requested resource, generating an appropriate response, and assembling the response headers and body.</p><p>7. <strong>Sending HTTP Response</strong>: The server sends back an HTTP response to the browser. This response includes a status code (e.g., 200 for success, 404 for not found), response headers (e.g., content type, cache-control), and the requested content (e.g., HTML, images, scripts).</p><p>8. <strong>Rendering the Page</strong>: Finally, the browser receives the response and begins rendering the webpage. It parses the HTML content, retrieves additional resources referenced in the HTML (e.g., CSS, JavaScript, images), and renders them according to the instructions provided.</p><p>9. <strong>Displaying the Page</strong>: Once all resources are retrieved and rendered, the browser displays the fully rendered webpage to the user, allowing interaction with the content.</p><p>This intricate series of steps happens within milliseconds, providing users with a seamless browsing experience. Understanding this process can help developers optimize website performance and troubleshoot issues when they arise. Next time you type a URL into your browser, remember the journey it takes to bring that webpage to your screen!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2mPFR5WAaUx4jIJDYWMpaw.png" /></figure><p>This above is a very summarized version of the sequence to give you an overview of what happens. Now let’s take each part and discuss in detail what actually happens.</p><p><strong>DNS REQUEST</strong></p><p>Anytime you use your browser to access any website or domain name, the browser stores information concerning that domain name (DNS record) in its cache.</p><p>So, anytime you type a domain name like “<a href="http://google.com/">google.com</a>” into your web browser, the browser first checks its cache to see if it has a recent copy of the DNS record for that domain.</p><p>If there is a recent copy of the DNS records for that domain, it will use the IP address in the cache to send a request to the server. This speeds up the process of resolving the domain name to an IP address because it avoids the need to send a request to the DNS server.</p><p>If the browser cache does not contain a recent copy of the DNS record, or if the DNS record has changed since the last time it was cached, the browser will send a request to the <strong>DNS server</strong> to resolve the domain name to an IP address.</p><p>This is also a whole process on its own, so let’s explore the various steps involved.</p><h4>DNS lookup process</h4><p>Here’s how the DNS lookup process works in more detail:</p><p>1. The browser sends a request to the local DNS resolver, which is usually provided by the internet service provider (ISP).</p><p>2. The local DNS resolver checks its cache to see if it has a recent copy of the DNS record for the domain. If it does, it sends the IP address back to the browser.</p><p>3. If the local DNS resolver does not have a recent copy of the DNS record, it sends a request to a root nameserver.</p><p>4. The root nameserver responds with the address of a top-level domain (TLD) nameserver, such as .com or .org.</p><p>5. The local DNS resolver sends a request to the TLD nameserver.</p><p>6. The TLD nameserver responds with the address of the authoritative nameserver for the domain.</p><p>7. The local DNS resolver sends a request to the authoritative nameserver.</p><p>8. The authoritative nameserver responds with the IP address for the domain.</p><p>9. The local DNS resolver sends the IP address back to the browser.</p><p>10. The browser sends a request to the server at the IP address to retrieve the webpage.</p><p>This process may involve additional steps if the DNS record is not found at any of the nameservers, or if the DNS record has been configured to use a service such as DNS load balancing or content delivery networks (CDN).</p><p>Once the IP address has been resolved, it is cached by the local DNS resolver and the browser so that future requests for the same domain name can be resolved more quickly.</p><p>The length of time that the DNS record is cached (the “TTL,” or Time To Live) is determined by the authoritative nameserver and can be configured by the domain owner.</p><h3>TCP/IP connection</h3><p>TCP (Transmission Control Protocol) and IP (Internet Protocol) are two of the main protocols that make up the internet.</p><p>They work together to establish a connection between a client and a server and facilitate the transmission of data between them.</p><p>When you enter “<a href="http://google.com/">google.com</a>” into a web browser, the browser uses TCP/IP to establish a connection with the server that hosts the website.</p><p>Here’s what happens in more detail:</p><p>1. The browser sends a request to the server using IP to establish a connection.</p><p>2. The server receives the request and sends back a message acknowledging the request to establish a connection. This is the handshake process.</p><p>3. Once the handshake is complete, the browser can send a request for the webpage it wants to access (in this case, the homepage of <a href="http://google.com/">google.com</a>). This request is sent using TCP, which ensures that the request is transmitted reliably and in the correct order.</p><p>4. The server receives the request and sends back the HTML code for the homepage of <a href="http://google.com/">google.com</a> to the browser. This response is also sent using TCP to ensure reliable transmission.</p><p>5. The browser receives the HTML code and uses it to render the webpage on your screen. Any resources (such as images) that the webpage needs are also requested and received using TCP/IP.</p><p><strong>FIREWALL</strong></p><p>A firewall is a security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. Its primary purpose is to protect a network from external threats, such as hackers and malware.</p><p>When you type a URL like “<a href="https://www.google.com/">google.com</a>” into your browser, the request that your browser makes to Google’s server passes through the firewall on its way. The firewall checks the incoming request to make sure it is allowed based on its security rules.</p><p>There are two main types of security rules that a firewall uses to check incoming requests:</p><p>1. Rules that allow or block <strong>traffic based on the source and destination</strong> of the request. For example, a firewall may be configured to block all traffic from certain countries or to allow only certain IP addresses to access the network.</p><p>2. Rules that allow or block <strong>traffic based on the type of traffic</strong>. For example, a firewall may be configured to block all traffic on certain ports (such as those used by malware) or to allow only certain types of traffic (such as HTTP or HTTPS).</p><p>If the incoming request meets the security rules set by the firewall in front of Google’s server, it is allowed through, and the browser is able to access the website.</p><p>However, if the request does not meet the security rules, it is blocked, and the browser is unable to access the website.</p><p><strong>HTTPS/SSL</strong></p><p>HTTPS (Hypertext Transfer Protocol Secure) is a secure version of the HTTP protocol used to transmit data on the internet. It is used to encrypt the data transmitted between your browser and Google’s server.</p><p>SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are encryption protocols that are used to secure the data transmitted over HTTPS.</p><p>When your browser establishes a connection with Google’s server using HTTPS, your browser and Google’s server first agree on the version of SSL/TLS to use and then create a secure, encrypted channel for transmitting the data.</p><p>Let me use an analogy to explain what is going on here.</p><p>HTTPS is like a locked box that is used to send messages over the internet. When you want to send a message using HTTPS, you put the message in the locked box and send it to the person you want to receive the message. Only the person you are sending the message to has the key to unlock the box and read the message.</p><p>SSL/TLS are like special codes that are used to lock and unlock the box. When you want to send a message using HTTPS, you and the person you are sending the message to agree on the code to use to lock and unlock the box. This way, only you and the person you are sending the message to know the code and can read the message.</p><p>When you type “<a href="https://www.google.com/">google.com</a>” into your browser, the browser is like the person sending the message. The server that hosts <a href="http://google.com/">google.com</a> is like the person receiving the message. The browser sends a request for the webpage using HTTPS, which is like putting the request in the locked box and sending it to the server. The server then sends the webpage back to the browser using HTTPS, which is like putting the webpage in the locked box and sending it back to the browser.</p><p><strong>LOAD BALANCER</strong></p><p>A load balancer is a device that distributes incoming network traffic across a group of servers or resources.</p><p>Its primary function is to ensure that the traffic is distributed evenly across the servers in order to avoid overloading any single server and to increase the overall capacity and reliability of the system.</p><p>A company like Google, which receives billions of website visitors a day, will need a lot of servers to serve all these users. Therefore, there will be a need for them to set up a load balancer to ensure that some of the servers are not overburdened while others are being underutilized.</p><p>In the case of a browser trying to access <a href="http://google.com/">google.com</a>, the load balancer would receive the incoming request from the browser and then forward it to one of the servers in the Google server network. The particular server chosen will depend on the type of load balancing algorithm implemented.</p><p><strong>WEB SERVER</strong></p><p>A web server is a computer program that is responsible for handling requests for web pages from clients (such as a browser trying to access <a href="http://google.com/">google.com</a>). When a client sends a request for a web page to a web server, the server processes the <strong>request</strong> and returns the appropriate <strong>response</strong> to the client.</p><p>This means that when trying to access <a href="http://google.com/">google.com</a>, Google’s server will receive a request from the load balancer.</p><p>The web server would then process the request and generate a response, which would typically include the HTML, CSS, and JavaScript files that make up the web page.</p><p>The web server would then send this response back to the load balancer, which would forward it on to the browser. The browser would then use the HTML, CSS, and JavaScript files to render the web page for the user.</p><p><strong>APPLICATION SERVER AND DATABASE</strong></p><p>Unlike the web server, the application server handles dynamic content. When using “<a href="http://google.com/">google.com</a>”, the application server will be responsible for generating the search results (which change based on the query you put into the search engine).</p><p>When you submit a search query to Google, the request is first sent to the load balancer, which forwards it to one of the web servers in the Google server network. The web server then sends the request to the application server, which processes the request and generates the search results.</p><p>Depending on the complexity of the search query, the application server may need to make a request to a <strong>database</strong> in order to retrieve the necessary data.</p><p>For example, if you are searching for a specific product on an e-commerce website, the application server may need to retrieve information about the product from a database.</p><p>Once the application server has obtained the necessary data, it sends it back to the web server, which includes it in the response that is sent back to the the browser. The browser then uses this information to display the search results to you.</p><p><strong>RENDERING THE PAGE</strong></p><p>When a browser receives a response from a web server, it processes the HTML, CSS, and JavaScript files that are included in the response in order to render the web page.</p><p>The rendering process involves interpreting the HTML and CSS code, rendering any images or other media that are included on the page, and executing any JavaScript code that is present on the page.</p><p>In your case, your browser would receive the response from the web server, which includes the HTML, CSS, and JavaScript files that make up the Google web page.</p><p>The browser would then use these files to render the page and display it to you. This process typically involves the following:</p><p>· displaying the text and images on the page in the appropriate positions</p><p>· formatting the text and layout according to the CSS styles</p><p>· executing any JavaScript code that is present on the page</p><p>Once the page has been fully rendered, you can now interact with it by clicking links, entering text, or interacting with other elements on the page.</p><p><strong>CONCLUSION</strong></p><p>This post is my submission to a task focused on technical writing as part of the ALX Africa Software Engineering program. I hope you enjoyed it and now appreciate exactly what happens when you type “<a href="https://www.google.com/">google.com</a>” into your browser.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9f27f893326" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>