<?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 Jokanola Adedipupo(Dipo) on Medium]]></title>
        <description><![CDATA[Stories by Jokanola Adedipupo(Dipo) on Medium]]></description>
        <link>https://medium.com/@jokanolaadedipupo?source=rss-37f00ff362d3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PiDQ1-27cET_HurDiSUggg.jpeg</url>
            <title>Stories by Jokanola Adedipupo(Dipo) on Medium</title>
            <link>https://medium.com/@jokanolaadedipupo?source=rss-37f00ff362d3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:21:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jokanolaadedipupo/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[Using Node.js to write from JSON to CSV]]></title>
            <link>https://medium.com/@jokanolaadedipupo/using-node-js-to-write-from-json-to-csv-b1cc7c92939d?source=rss-37f00ff362d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1cc7c92939d</guid>
            <category><![CDATA[json]]></category>
            <category><![CDATA[fs-module]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Jokanola Adedipupo(Dipo)]]></dc:creator>
            <pubDate>Thu, 17 Aug 2023 10:59:18 GMT</pubDate>
            <atom:updated>2023-08-17T11:00:47.235Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Photo by Fiver" src="https://cdn-images-1.medium.com/max/1024/1*FNCpY2eRFVRqcuVRge4vQA.jpeg" /><figcaption>Photo by Fiver</figcaption></figure><p>In the world of modern web development, data exchange and transformation are essential tasks. One common scenario is converting data from JSON (JavaScript Object Notation) to CSV (Comma-Separated Values), a format widely used for spreadsheets and data analysis. Node.js, a powerful and versatile runtime environment, provides an excellent platform for achieving this transformation seamlessly. In this article, we will delve into the process of using Node.js to convert JSON data to CSV, empowering developers with a valuable tool for data manipulation and interchange.</p><p><strong>Step 1: Setting Up the Project</strong></p><p><em>Begin by creating a new directory for your project and initializing a Node.js project with </em><em>npm init.</em></p><p><strong>Step 2: Installing Dependencies</strong></p><pre>npm install axios</pre><p><strong>Step 3: Writing the Conversion Logic Create a JavaScript file (e.g., index.js) and import the required modules:</strong></p><pre>import {appendFileSync} from &#39;fs&#39;;<br>import axios from &#39;axios&#39;;</pre><p>The fs. appendFileSync() method is used to synchronously append the given data to a file. A new file is created if it does not exist. The optional options parameter can be used to modify the behavior of the operation. However, to be able to use <strong>import</strong> instead of <strong>require, </strong>update your package.json <strong>“type”: “module”</strong> as seen below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*Oku7MAJ2TswO_bg3X1CJsA.png" /><figcaption>package.json</figcaption></figure><p>Now, your index.js looks like this</p><pre>import { appendFileSync } from &#39;fs&#39;;<br>import axios from &#39;axios&#39;;<br><br>// The Users function takes user information and appends it to a CSV file.<br>const Users = (id, name, username, email, address) =&gt; {<br>    const csv = `${id},${name},${username},${email},${address}\n`; // Construct a CSV row<br>    try {<br>        appendFileSync(&quot;./contacts.csv&quot;, csv); // Append the CSV row to the file<br>    } catch (error) {<br>        console.log(error);<br>    }<br>};<br><br>// Fetch JSON data from a URL using Axios and directly process it<br>const fetchAndProcessData = async () =&gt; {<br>    try {<br>        const jsonData = await axios.get(&quot;https://jsonplaceholder.typicode.com/users&quot;);<br>        const data = jsonData?.data; // Extract the data property from the response<br>        <br>        data.forEach(contact =&gt; {<br>            const { id, name, username, email, address } = contact; // Destructure contact properties<br>            const { street, city, zipcode } = address; // Destructure address properties<br>            const fullAddress = `${street},${city},${zipcode}`; // Combine address properties<br>            Users(id, name, username, email, fullAddress); // Call Users function to append to CSV<br>        });<br>        <br>        console.log(&#39;CSV creation successful!&#39;);<br>    } catch (error) {<br>        console.log(&#39;Error fetching or processing data:&#39;, error);<br>    }<br>};<br><br>// Start the application by calling the fetchAndProcessData function<br>fetchAndProcessData();</pre><p><strong>Summary and Explanation :</strong></p><p>Node.js, the Axios library, and the ‘fs’ module to fetch JSON data from a remote API, process it, and then append selected information to a CSV file. Here’s a step-by-step explanation of the provided code:</p><ol><li><strong><em>Importing Dependencies</em></strong><em>: The code begins by importing the necessary modules: </em><em>appendFileSync from the &#39;fs&#39; (file system) module, and the Axios library for making HTTP requests.</em></li><li><strong><em>Users Function for CSV Append: </em></strong><em>The </em><em>Users function is defined to take specific user information (id, name, username, email, and address) and construct a CSV row using template literals. This function appends the constructed CSV row to a CSV file named &quot;contacts.csv&quot; using the </em><em>appendFileSync function. If any error occurs during the file append process, the error is logged to the console.</em></li><li><strong><em>Fetching and Processing Data:</em></strong><em> The </em><em>fetchAndProcessData function is defined. It is an asynchronous function declared with </em><em>async. Inside a </em><em>try...catch block, the function performs the following steps:<br> <br></em><strong><em>a.</em></strong><em> The Axios library is used to perform an HTTP GET request to the URL “</em><a href="https://jsonplaceholder.typicode.com/users"><em>https://jsonplaceholder.typicode.com/users</em></a><em>&quot;, which retrieves JSON data from the provided API. The response is stored in the </em><em>jsonData variable.<br></em><strong>b. </strong><em>The </em><em>data property is extracted from the response object using optional chaining (</em><em>?.) and assigned to the </em><em>data variable. This contains an array of user data objects.<br></em><strong>c.</strong> <em>The </em><em>forEach loop iterates through each </em><em>contact object in the </em><em>data array. The contact&#39;s properties (id, name, username, email, and address) are destructured.<br></em><strong>d.</strong> <em>The contact’s address properties (street, city, and zip code) are further destructured and then combined into the </em><em>fullAddress string.<br></em><strong>e.</strong> <em>The </em><em>Users function is called within the loop, passing the destructured properties and the full address. This appends the user information as a CSV row to the &quot;contacts.csv&quot; file.</em></li><li><strong><em>Logging Results and Errors:</em></strong><em> After processing all contacts, the code logs ‘CSV creation successful!’ to the console, indicating that the CSV file has been successfully created with the appended data. If any errors occur during data fetching or processing, they are caught in the </em><em>catch block and an error message along with the specific error is logged to the console.</em></li><li><strong><em>Starting the Application:</em></strong><em> The application is initiated by calling the </em><em>fetchAndProcessData function at the end of the script. This triggers the fetching of JSON data, processing of each contact, and appending to the CSV file.</em></li></ol><p><strong>Step 4: Running the Script</strong></p><pre>node index.js</pre><p>If all goes well, you should see <strong>“CSV creation successful!” </strong>logged on your console and a new file added <strong>“contacts.csv” </strong>to you current working directory with the data from the JSON placeholder API, you can go ahead to open the csv file on your computer and there you go, hopefully you find this helpful and interesting. Do well to leave a clap and comments. Thank you. Hasta la vista.😎</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1cc7c92939d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Security with AWS — Introduction]]></title>
            <link>https://medium.com/@jokanolaadedipupo/cloud-security-with-aws-introduction-160a9f31cb43?source=rss-37f00ff362d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/160a9f31cb43</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Jokanola Adedipupo(Dipo)]]></dc:creator>
            <pubDate>Wed, 06 Apr 2022 22:02:14 GMT</pubDate>
            <atom:updated>2022-04-06T22:02:14.159Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cloud Security with AWS — Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*MzWOUubdztWiZZbPwGOxFg.jpeg" /><figcaption>Credit : <a href="https://dehler-security-siegen.de/fileadmin/_processed_/8/f/csm__DSC7015_37fb030573.jpg">csm__DSC7015_37fb030573.jpg</a></figcaption></figure><p>With practically every business running on some kind of a cloud network and database, securing the cloud has never been more important. Cloud security is vital, as you will want to be sure that your data is safe while stored in the cloud. A number of high-profile hacking cases mean that this issue is topical for many business owners, but the reality is that your data is much safer in the cloud, and security is an extremely high priority for all cloud storage services. Cloud security is important for both business and personal users. Everyone wants to know that their information is safe and secure and businesses have legal obligations to keep client data secure, with certain sectors having more stringent rules about data storage.</p><p>We have to describe the various security mechanisms we offer on the AWS Cloud:</p><p>1. <strong>Shared responsibility model — </strong>As the name implies, responsibilities are shared, there’s a part the AWS(provider will take care and there’s a part customer will take care. It’s no different than securing a house. The builder constructed the house with four walls and a door. It’s their responsibility to make sure the walls are strong and the doors are solid. It’s your responsibility, the homeowner, to close and lock the doors. The shared responsibility model divides into customer responsibilities (commonly referred to as “security in the cloud”) and AWS responsibilities (commonly referred to as “security of the cloud”). check the image below ;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gEokJzwuna1U-bl4NhQdFQ.png" /><figcaption>Credit: Aws cloud essentials</figcaption></figure><p>2. <strong>User permissions and access — </strong>User Permissions designate the type of access given to users that enables them to access specific resources.<br> i. <strong><em>AWS Identity and Access Management(IAM)</em></strong> — enables you to manage access to AWS services and resources securely. IAM gives you the flexibility to configure access based on your company’s specific operational and security needs. You do this by using a combination of IAM features,</p><ul><li>IAM users, groups, and roles</li><li>IAM policies</li><li>Multi-factor authentication</li></ul><p><strong>AWS account root user — </strong>When you first create an AWS account, you begin with an identity known as the <strong>root user</strong>. The root user is accessed by signing in with the email address and password that you used to create your AWS account.</p><p><strong>IAM users — </strong>An <strong>IAM user</strong> is an identity that you create in AWS. It represents the person or application that interacts with AWS services and resources. It consists of a name and credentials. By default, when you create a new IAM user in AWS, it has no permissions associated with it. To allow the IAM user to perform specific actions in AWS, such as launching an Amazon EC2 instance or creating an Amazon S3 bucket, you must grant the IAM user the necessary permissions.</p><p><strong>IAM policies — </strong>An <strong>IAM policy</strong> is a document that allows or denies permissions to AWS services and resources.IAM policies enable you to customize users’ levels of access to resources. For example, you can allow users to access all of the Amazon S3 buckets within your AWS account, or only a specific bucket.</p><p><strong>IAM groups — </strong>An <strong>IAM group</strong> is a collection of IAM users. When you assign an IAM policy to a group, all users in the group are granted permissions specified by the policy.</p><p><strong>IAM roles — </strong>An<strong> IAM role </strong>is an identity that you can assume to gain temporary access to permissions. Before an IAM user, application, or service can assume an IAM role, they must be granted permissions to switch to the role. When someone assumes an IAM role, they abandon all previous permissions that they had under a previous role and assume the permissions of the new role.</p><p><strong>Multi-factor authentication — Y</strong>ou must have signed in to a website that required you to provide multiple pieces of information to verify your identity? You might have needed to provide your password and then a second form of authentication, such as a random code sent to your phone. This is an example of <strong>multi-factor authentication</strong>. In IAM, multi-factor authentication (MFA) provides an extra layer of security for your AWS account.</p><p>3. <strong>AWS Organizations — </strong>Suppose that your company has multiple AWS accounts. You can use <strong>AWS Organizations </strong>to consolidate and manage multiple AWS accounts within a central location. When you create an organization, AWS Organizations automatically creates a <strong>root</strong>, which is the parent container for all the accounts in your organization. In AWS Organizations, you can centrally control permissions for the accounts in your organization by using <strong>service control policies (SCPs)</strong>. SCPs enable you to place restrictions on the AWS services, resources, and individual API actions that users and roles in each account can access. In AWS Organizations, you can group accounts into organizational units (OUs) to make it easier to manage accounts with similar business or security requirements. When you apply a policy to an OU, all the accounts in the OU automatically inherit the permissions specified in the policy.</p><p>4. <strong>Compliance — </strong>For every industry, there are specific standards that need to be upheld, and you will be audited or inspected to ensure that you have met those standards.</p><p><strong>AWS Artifact</strong> : Depending on your company’s industry, you may need to uphold specific standards. An audit or inspection will ensure that the company has met those standards.</p><p><a href="https://aws.amazon.com/artifact"><strong>AWS Artifact</strong></a> is a service that provides on-demand access to AWS security and compliance reports and select online agreements. AWS Artifact consists of two main sections: AWS Artifact Agreements and AWS Artifact Reports.</p><p>5. <strong>Denial-of-service attacks — </strong>A <strong>denial-of-service (DoS) attack</strong> is a deliberate attempt to make a website or application unavailable to users.</p><p>For example, an attacker might flood a website or application with excessive network traffic until the targeted website or application becomes overloaded and is no longer able to respond. If the website or application becomes unavailable, this denies service to users who are trying to make legitimate requests.</p><p>One of the ways to combat DDos attack is using the <strong>ELB(Elastic Load Balancer)</strong>.</p><p><strong>Elastic Load Balancing</strong> — is the AWS service that automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances.</p><p>A load balancer acts as a single point of contact for all incoming web traffic to your Auto Scaling group. This means that as you add or remove Amazon EC2 instances in response to the amount of incoming traffic, these requests route to the load balancer first. Then, the requests spread across multiple resources that will handle them. For example, if you have multiple Amazon EC2 instances, Elastic Load Balancing distributes the workload across the multiple instances so that no single instance has to carry the bulk of it.</p><p>Although Elastic Load Balancing and Amazon EC2 Auto Scaling are separate services, they work together to help ensure that applications running in Amazon EC2 can provide high performance and availability.</p><p><strong>AWS Shield<br></strong>AWS Shield is a service that protects applications against DDoS attacks. AWS Shield provides two levels of protection: Standard and Advanced.</p><p><strong>AWS Shield Standard</strong> automatically protects all AWS customers at no cost. It protects your AWS resources from the most common, frequently occurring types of DDoS attacks. As network traffic comes into your applications, AWS Shield Standard uses a variety of analysis techniques to detect malicious traffic in real time and automatically mitigates it.</p><p><strong>AWS Shield Advanced</strong> is a paid service that provides detailed attack diagnostics and the ability to detect and mitigate sophisticated DDoS attacks. It also integrates with other services such as Amazon CloudFront, Amazon Route 53, and Elastic Load Balancing. Additionally, you can integrate AWS Shield with AWS WAF by writing custom rules to mitigate complex DDoS attacks.</p><h3><strong>Summary</strong></h3><p>First things first, AWS follows a shared responsibility model. AWS is responsible for security of the cloud, and you are responsible for security in the cloud.</p><p>With IAM, you have users, groups, roles, and policies. Users log in with a username and password and by default they have no permissions. Groups are groupings of users and roles are identities that you can assume to gain access to temporary credentials and permissions for a configurable amount of time. In order to give permissions to an identity, you need to create policies that either explicitly allow or deny a specific action in AWS. With IAM also comes identity federation.Be sure that you turn on multi-factor authentication for users, but especially for your root user which has all the permissions by default and cannot be restricted.</p><p>With AWS, it’s likely you’ll have multiple accounts. Accounts are commonly used to isolate workloads, environments, teams, or applications. AWS Organizations helps you manage multiple accounts in a hierarchical fashion. We then discussed compliance. AWS uses third-party auditors to prove its adherence to a wide variety of compliance programs.</p><p>Finally we talked about distributed denial-of-service attacks, or DDoS attacks, and how to combat them with AWS using tools like ELB, security groups, AWS Shield.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=160a9f31cb43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monolithic Applications and Microservices]]></title>
            <link>https://medium.com/@jokanolaadedipupo/monolithic-applications-and-microservices-2ae69e1c6d31?source=rss-37f00ff362d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ae69e1c6d31</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Jokanola Adedipupo(Dipo)]]></dc:creator>
            <pubDate>Thu, 24 Mar 2022 14:23:11 GMT</pubDate>
            <atom:updated>2022-03-25T07:44:13.295Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XAJidwRcNhYQ3WHb8_5vNg.jpeg" /><figcaption><a href="https://ncube.com/blog/microservices-vs-monolithic-which-architecture-suits-best-for-your-project">monolithic-vs-microservice.jpg</a></figcaption></figure><p>Applications are made of multiple components. The components communicate with each other to transmit data, fulfill requests, and keep the application running.</p><p>How to organize code is the first thing that comes to mind when creating a new product. In this context, you’ve probably heard of the monolithic vs. microservice architecture debate. While monolith apps have been around for a long time, microservices are considered to be a relatively novel way of designing a software system. In fact, a whole range of technologies appeared within the philosophy of DevOps that brought us the ability to build scalable, distributed solutions based on microservices. In this article, I’ll be talking about two approaches so you can pick out one that is right for your needs.</p><h3><strong>Monolithic Architecture</strong></h3><p>Suppose that you have an application with tightly coupled components. These components might include databases, servers, the user interface, business logic, and so on. This type of architecture can be considered a <strong>monolithic application</strong>. In a monolithic app, all functions are managed and served in one place. Of course, an app has its inner structure consisting of a database, client-side interface, business logic, but it still remains an indivisible unit. Its components don’t require API to communicate.</p><p><strong>Pros<br></strong> i.<strong> </strong>Higher performance ; they don’t involve API for communication between components.<br>ii. As a single unit, It is easier to debug and test since you can do automated testing without considering different run-time environments as with microservices.<br>iii. Deployment is very simple. It’s down to using a script that loads your module and launches the application.<br>iv. There are much less cross-cutting concerns like login, caching, memory management, and other with one application in place.</p><p><strong>Cons<br></strong>i. Tight coupling. Monolithic applications are characterized by tightly coupling processes, so their code base tends to become convoluted as it grows, so it becomes harder to isolate services for independent scaling and code support.<br>ii. Low flexibility. Each element is dependent on the others, so any change affects the whole network. As such, changes are time-consuming and need to be carefully coordinated. Also, each small update comes with redeployment.<br>iii. Scaling confines. Monolith apps can only scale as a whole. Scaling components individually is impossible.</p><h3><strong>Microsevices</strong></h3><p>In a microservices approach, application components are loosely coupled. In this case, if a single component fails, the other components continue to work because they are communicating with each other. The loose coupling prevents the entire application from failing. In a microservice architecture, business logic is broken down into lightweight, single-purpose self-sufficient services. As such, the infrastructure is akin to collection modules. Each service within this type of architecture is responsible for a specific business goal. In essence, the microservice architecture looks like a Lego construction, which can be decomposed into a number of modules. The interaction between the components of the system ensured by means of API.</p><h4><strong>Pros</strong></h4><p>i. <strong>Autonomy</strong>. You can build cross-functional, independent teams for each business goal. The features they deploy won’t affect other services.<br>ii. <strong>Agility</strong>. Microservices let you select and use different languages and storage technologies for different functions. To top it off, microservices can function on any device, both in Cloud and on-premise.<br>iii. <strong>Scalability</strong>. As opposed to monolith architecture, you don’t need to scale the entire system — it’s enough to alter only one element of the system.<br>iv. <strong>High reliability</strong>. Because microservices are autonomous, a failure or damage in one module don’t affect others.<br>v. Modules are reusable and can be reprofiled for other tasks.<br>vi. Continuous delivery is made simple. You can work on specific elements of the system without disrupting the whole system.</p><h4>Cons</h4><p>i. Designing distributed systems can be challenging. A great deal of effort goes into designing the connections inside the distributed system.<br>ii. Microservice architecture requires more resources and usually takes more time than monolithic architecture.<br>iii. There are more Cross-Cutting Concerns with microservices — logging, caching needs to be taken care of in every service.<br>iv. Complex deployment. The number of elements increases its operational complexity. Thus, deployment becomes harder because developers need to manage numerous autonomous services and interactions between them.<br>v. The more complex the structure is, the more difficult testing will be. In particular, testing of the interactions between the services.</p><h3><strong>Summary</strong></h3><p>Monolithic Architecture a traditional approach to software development in which the entire system function is based on a single application as a single, autonomous unit.In this approach to application architecture, if a single component fails, other components fail, and possibly the entire application fails. To help maintain application availability when a single component fails, you can design your application through a <strong>microservices</strong> approach.</p><h3>When to go with a monolithic architecture?</h3><p>In some cases, a monolithic approach is a time-tested strategy:</p><ul><li>you plan to build a small app.</li><li>you don’t plan to grow your team. In this case, designing and managing a complex system is not the best way to go.</li><li>you’re at the ideation stage. If you are at the first stage of SDLC, your product is likely to grow over time. A monolithic architecture allows for fast iterating.</li><li>you are building an MVP. At this stage, your goal is to gather feedback from first users as soon as possible and monolith apps are the quickest way.</li></ul><h3>When to go with microservices?</h3><p>Plenty of companies switched to the microservice architecture after their customer demand increased significantly. Among them are Amazon, PayPal, Spotify, and many more.</p><ul><li>you want to build a large-scale solution.</li><li>you have a lot of time on your hands since microservice architecture requires thorough planning.</li><li>scalability is critical for your project and you plan to grow your development team.</li><li>you need to use different languages for different elements like C++ for backend and Rails for the user interface.</li><li>You want to build multiple independent teams that would work on different functions of your solution.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ae69e1c6d31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Load Balancing — Overview]]></title>
            <link>https://medium.com/@jokanolaadedipupo/load-balancing-44e667baaa2e?source=rss-37f00ff362d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/44e667baaa2e</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Jokanola Adedipupo(Dipo)]]></dc:creator>
            <pubDate>Thu, 24 Mar 2022 11:34:33 GMT</pubDate>
            <atom:updated>2022-03-25T07:43:24.702Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*jTsr36pqDlP4U_6BQpSFEg.jpeg" /><figcaption><a href="https://corporate-entrepreneurs.com/wp-content/uploads/2019/01/iStock-531467162-2-e1547140558406.jpg">iStock-531467162–2-e1547140558406.jpg</a></figcaption></figure><p>Load Balancing distributes the workload across the multiple instances so that no single instance has to carry the bulk of it.</p><h3>Need for Load Balancing</h3><p>As the technology advances, it is common for high traffic websites to cater to millions of requests from various clients or users to return the appropriate images, texts etc. In order to make this process cost-effective, quick and reliable, modern computing adds more servers. Here the role of load balancing comes into play.</p><p>It has the capacity to route request from clients in all servers in a fast and efficient manner. In order to improve the performance, a Load balancer ensures that no servers are working overload. If a server goes faulty, the <strong>load balancer redirects traffic to the rest of the servers online until a new server is added</strong>. Hence the requirement of load balancing can be summarized into three points. They are:</p><p>• It helps to distribute requests from the clients or network load easily and efficiently among different servers.</p><p>• Saves time by ensuring reliability and availability by sending client requests only to online servers</p><p>• It has the capability to add or reduce the number of servers according to the need.</p><p>Load balancing plays an important role in the organization to keep the productivity high. So, it is very important for businesses to choose the right tools that will help in balancing the load better. <a href="http://apachebooster.com/kb/different-types-of-load-balancing-algorithm-techniques/">Load balancing</a> is required in the following scenarios:</p><p>1. When the network server is overworked due to the expansion of business in terms of employees. The issue of overloading network server arises in such cases. In this particular case, a load balancer is needed to handle the increased traffic by redirecting it to better performing servers or to other servers that have spare capacity. This responsibility of load balancing is quite similar to that of a<strong> “Traffic Cop”</strong> that enables the smooth running of servers.</p><p>2. When traffic increases without the increase of network users. During high traffic, different servers can get affected at various times in the same day. Load balancers come to rescue by ensuring that new sessions are added to servers with enough space, thus giving the overloaded servers a chance to deal with their backlog effectively.</p><p>3. Load balancers are inevitable to balance the load among servers distributed globally. To perform this <strong>Global Server Load Balancing (GSLB)</strong>, “Geo” functionality solution is necessary for its set up.</p><p>4. Load balancers can be of help for the problem arising in the virtual machine configured to a single server. If the server fails, a High Availability load balancing solution can move the matter from one server to the other.</p><p>Load balancing is an important aspect of computing. It is needed to improve the workload distribution among several computing resources like CPU (Central Processing Unit), Computer clusters, network links, Cloud environment, etc. It is needed and is used in other areas like telecommunications, database, etc.</p><h3><strong>Summary</strong></h3><p>As the name suggests, it means efficiently balancing network traffic among backend servers which can also be called a server pool or server farm. It distributes the network traffic between network interfaces on a network socket. The main goal of load balancing is to maximize the use of resources, reduce the response time, and to diminish the overload of a single resource. Load balancing can improve the reliability and availability if multiple components are used in the process instead of a single one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44e667baaa2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud  Computing   — An Overview for Beginners]]></title>
            <link>https://medium.com/@jokanolaadedipupo/cloud-computing-an-overview-for-beginners-c0eecb0e4df8?source=rss-37f00ff362d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0eecb0e4df8</guid>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Jokanola Adedipupo(Dipo)]]></dc:creator>
            <pubDate>Wed, 09 Mar 2022 18:07:58 GMT</pubDate>
            <atom:updated>2022-03-10T09:58:44.119Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cloud Computing 🌧 — An Overview for Beginners</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nKlA32I1ioVLkTvZ4NN3jQ.jpeg" /><figcaption><a href="https://www.pegasustechnologies.com/wp-content/uploads/2020/10/iStock_000089735461_Full-scaled.jpg">iStock_000089735461_Full-scaled.jpg</a></figcaption></figure><p>So we can all actually agree that cloud has been a “thing” for while to the very extent it became a marketing buzzword.</p><p>Simply put, the cloud is <strong>the Internet</strong>—more specifically, it&#39;s all of the things you can access remotely over the Internet. When something is in the cloud, it means it&#39;s stored on Internet servers instead of your computer&#39;s hard drive.</p><p><strong>What is Cloud Computing?</strong></p><p>Cloud computing means <em>“on-demand delivery of IT resources or computing services — including servers, storage, databases, networking, software, analytics, and intelligence — over the internet,(with pay-as-you-go-pricing)”</em>.</p><p>It means as a business owner you get access to various resources your business needs base on the demand. let’s explore the Client-Server Model.</p><p><strong>Client-Server Model</strong></p><p>Example<br><em> When a bank customer accesses online banking services with a web browser (the client), the client initiates a request to the bank’s web server. The customer’s login credentials may be stored in a database, and the webserver accesses the database server as a client. An application server interprets the returned data by applying the bank’s business logic and provides the output to the webserver. Finally, the webserver returns the result to the client web browser for display. In each step of this sequence of client-server message exchanges, a computer processes a request and returns data. This is the request-response messaging pattern. When all the requests are met, the sequence is complete and the web browser presents the data to the customer. This example illustrates a design pattern applicable to the client–server model: separation of concerns.</em></p><p><strong>Deployment models for Cloud Computing</strong></p><p>Cloud deployment refers to the enablement of SaaS (software as a service), PaaS (platform as a service) or IaaS (infrastructure as a service) solutions that may be accessed on demand by end users or consumers. A cloud deployment model refers to the type of cloud computing architecture a cloud solution will be implemented on. Cloud deployment includes all of the required installation and configuration steps that must be implemented before user provisioning can occur.</p><p>i. Cloud-based Deployment <br>ii. On-premises based Deployement<br>iii. Hybrid-based Deployment</p><p><strong>Cloud-based Deployment<br></strong>i. Run all parts of the application in the cloud.<br>ii. migrate the existing applications to cloud.<br>iii. Design and build new applications in the cloud.</p><p><strong>On-premises based Deployement<br></strong>i. Deployment resources by using virtualisation and resource management tools.<br>ii. Increase resource utilisation by using application management and virtualisation technologies.</p><p><strong>Hybrid-based Deployment<br></strong>i. Connect cloud-based resources to on-premises infrastructure.<br>ii. Integrate cloud-based resources with legacy IT applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0eecb0e4df8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>