<?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 Deshani Rathnayake on Medium]]></title>
        <description><![CDATA[Stories by Deshani Rathnayake on Medium]]></description>
        <link>https://medium.com/@drathnayake131?source=rss-5fee6bc2aac5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nHdkCBWJnuTezGvRT1H1wQ.jpeg</url>
            <title>Stories by Deshani Rathnayake on Medium</title>
            <link>https://medium.com/@drathnayake131?source=rss-5fee6bc2aac5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:34:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@drathnayake131/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[Virtualization in Distributed Systems]]></title>
            <link>https://medium.com/@drathnayake131/virtualization-in-distributed-systems-c4491fa24fa3?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4491fa24fa3</guid>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Tue, 21 Nov 2023 14:37:03 GMT</pubDate>
            <atom:updated>2023-11-21T14:37:03.339Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/790/0*SnmYI7H-hrAEi2OJ.png" /></figure><h3>What Is Virtualization Technology?</h3><p>At its core, it is the process of creating a virtual version of existing physical hardware. It makes virtual machines (VMs) used to compute and allows businesses to run multiple services like operating systems and applications on one physical server. Relying on software, virtualization stimulates hardware performance and provides scales for organizations.<br>The overall result is a better use of the hardware capacity, and therefore, greater return on the investments.</p><h3>What Are Virtual Machines?</h3><p>Now that you are aware of <strong>what virtualization is used for</strong>, it is time to mention what a virtual machine is. A VM is typically a software container that consists of an application and OS. VMs function independently from one another, and putting them on one computer makes it possible for you to run multiple services on a physical server, also known as a host. However, to coordinate them with the hardware, you need a lightweight layer of software known as a hypervisor.</p><h3>What Does Virtualization Technology Do?</h3><p>The primary task of the Hypervisors is to split the resources into multiple parts so you can run multiple functions on a single computer and use the resources at maximum capacity.<br>Users will have access to the particular machine only to run the application. These machines are called guest machines or virtual machines. Virtual machine functions work as a single source to all your files. The files can be stored on an exclusive computer and access from multiple locations.<br>When a user sends an instruction to increase the resource, the system calculates the usage and applies the changes accordingly. Resource allocation on the system occurs at native speed.</p><h3>Different virtualization products</h3><p>There are a number of different virtualization products available, each with its own features and benefits. Some of the most popular virtualization products include:</p><ul><li>VMware vSphere: VMware vSphere is a suite of virtualization products that includes a hypervisor, management tools, and other components. vSphere is one of the most popular virtualization products on the market and is used by businesses of all sizes.</li><li>Microsoft Hyper-V: Microsoft Hyper-V is a hypervisor that is included in the Windows Server operating system. Hyper-V is a good option for businesses that are already using Windows Server.</li><li>Citrix XenServer: Citrix XenServer is a free and open-source hypervisor. XenServer is a good option for businesses that are looking for a low-cost virtualization solution.</li></ul><h3>Benefits of Virtualization Technology</h3><h4>1. Resource Management</h4><p>In most cases, when the regular system is utilized to run a program to perform a specific task, the machine is underused. IT departments generally prefer running applications on dedicated devices to avoid reliability issues. You have to invest more money into getting a dedicated computer, operating system, quality hardware to boost the performance. It adds more expense to the company.</p><h4>2. Easy Management</h4><p>The virtual machine has an easy-to-manage interface, allowing the IT team to allocate resources, apply policies, and moderate uses remotely. Create an automated function to deploy resources on the system whenever it is needed.<br>IT departments can make changes to virtual machines anytime without needing to go through a lengthy implementation process. Managing virtual machines is time-saving and offers more flexibility to users.</p><h4>3. Minimal Downtime</h4><p>Running redundant physical service is very expensive. Generally, downtime occurs on a network when an operating system or application crashes due to heavy use. In such circumstances, the IT team can run multiple virtual machines to tackle the situation. Unexpected downtime can halt the entire system and disrupts users’ productivity.</p><h4>4. Faster Upgrade</h4><p>Buying, installing, and configuration of hardware components is a time-consuming process. There will be a situation when you have to go through a system upgrade to meet growing users’ demands. On virtual machines, your hardware is already in place, ready to serve your growing demand. Allocating resources to another application through a virtual machine is significantly faster. You can choose to have an automated function on the entire system with the help of specializing management software.</p><h3>Challenges of Virtualization</h3><h4>1. Discovering New Vms</h4><p>Your IT team might have to put extra effort into discovering and adding new Virtual machines into an existing network. The process becomes tiresome when you have to add credentials to each VM.<br>Some network management tools offer a one-click discovery solution to virtual machines. You can take the help of vCenter and Hypervisor to set up VMs using the auto-detection method. Also, you have the option to auto-discover and create multiple credentials using the inbuild tools.</p><h4>2. VM Sprawl</h4><p>VM sprawl affects the performance of your system and can reduce the processing speed of applications running on the system. The situation occurs when the number of VMs goes beyond what you can handle from a design system. Additionally, Unused VMs may consume more CPU and Memory space resulting in a slowdown. You should also be aware of the security loopholes when the system is not running at standard provisions.</p><h4>3. Resource Allocation</h4><p>Virtual machines offer easy upgrades when you have resources available on the system. Therefore, while setting up the VMs, you should choose the help based on future requirements. Understand how your network is growing and how you will fulfill the growing demand.<br>Calculate the need accurately to avoid wasting the resource on VM. Over allocation or under allocation of hardware will affect the performance of your system. Proper distribution enables you to reduce the expense incurred on more resources.<br>Moreover, the VM system must be regularly monitored to optimize network storage and remove unwanted applications to keep your system clean.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4491fa24fa3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Architecture Of Distributed Systems?]]></title>
            <link>https://medium.com/@drathnayake131/what-is-a-distributed-system-70344955b932?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/70344955b932</guid>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Tue, 21 Nov 2023 14:13:14 GMT</pubDate>
            <atom:updated>2023-11-21T14:15:08.227Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*v94mk787o0q7pyGM.png" /></figure><blockquote>A distributed system is essentially a network of autonomous computer systems that, although physically distant, are connected to a <a href="https://www.bairesdev.com/blog/iot-edge-computing/">centralized computer network</a> driven by distributed system software. Autonomous computers are responsible for sharing the requested resources and files over a communication network and performing the tasks assigned by the centralized computer network.</blockquote><p>The key components of a distributed system are:</p><ul><li><strong>Primary system controller:</strong> This is the controller that tracks everything in a distributed system and facilitates server request dispatch and management across the system.</li><li><strong>Secondary controller:</strong> The secondary controller acts as a process or communication controller that regulates and manages the flow of server requests and the system’s translation load.</li><li><strong>User-interface client: </strong>Managing the user end of the distributed system, a user-interface client provides important system information related to control and maintenance.</li><li><strong>System datastore: </strong>Each distributed system comes with one data store that is used to share data across the system. The data can be stored on one machine or distributed among devices.</li><li><strong>Relational database: </strong>A relational database stores all the data and allows multiple users in the system to use the same information simultaneously.</li></ul><h3>There are several advantages to using distributed computing systems. Here are some of the most important pros you should know:</h3><p><strong>Scalability</strong></p><p>Distributed computing systems are highly scalable, enabling horizontal <a href="https://www.bairesdev.com/blog/software-development-services-scalable-architecture/">scaling</a>. You can add more computers to the network and operate the system through multiple nodes. In other words, scalability makes it easier to cater to increasing computational workloads, consumer demands, and expectations.</p><p><strong>Redundancy</strong></p><p>In distributed systems, we often come across the concept of redundancy, which allows the system to duplicate critical components, resulting in a significant increase in reliability and resilience. With redundancy, distributed systems can make backups and operate when a few computational nodes fail to function.</p><p><strong>Fault tolerance</strong></p><p>Distributed systems are <a href="https://www.bairesdev.com/blog/technology-resiliency-is-critical/">fault-tolerant</a> by design. This is because these scaled-out systems typically still function even if one of the nodes goes down. The computational workload is equally distributed among the remaining functional nodes.</p><p><strong>Load balancing</strong></p><p>Adding a load balancer device or load balancing algorithm to the distributed system makes it easier to prevent system overload. The load-balancing algorithm seeks the least busy machine and distributes the workload accordingly.</p><h3>Challenges of Distributed Systems</h3><p>What are some of the key challenges of distributed systems? Here are the issues you may encounter when working with these systems.</p><ul><li><strong>Network latency: </strong>There can be significant latency in communication. This is because the system is distributed and involves several components working together to manage different requests. This can cause performance issues across the system.</li><li><strong>Distributed coordination: </strong>A distributed system needs to coordinate among the nodes. Such extensive coordination can be quite challenging, given how distributed the entire system is.</li><li><strong>Security: </strong>The distributed nature of the system makes it vulnerable to data breaches and external security threats. This is one reason why centralized systems are sometimes preferred over distributed systems.</li><li><strong>Openness: </strong>Since a distributed system uses components with multiple data models, standards, protocols, and formats, achieving effective and seamless communication and exchange of data between the components without manual intervention is quite challenging. This is especially true if we consider the sheer amount of data processed through the system.</li></ul><h3>Key Concepts in Distributed Architecture</h3><p>Here are some of the concepts that are important for the seamless functioning of a distributed architecture:</p><h3>Nodes and Clusters</h3><p>A node is a single or multiprocessor network that possesses memory and I/O functions driven by an operating system. A cluster, on the other hand, is a group of two or more nodes or computers that function simultaneously or in parallel in order to complete the assigned task.</p><p>A computer cluster makes it possible to process a large workload by distributing the individual tasks among the nodes in the cluster, leveraging the combined processing power to boost performance. Cluster computing ensures high availability, load balancing, scaling, and high performance.</p><h3>Data Replication and Sharding</h3><p>Data replication and sharding are two ways data is distributed across multiple nodes. <a href="https://www.bairesdev.com/blog/5-things-to-know-about-data-fabric/">Data replication</a> is essentially keeping a copy of the same data on multiple servers to significantly minimize loss of data. Sharding, also called horizontal partitioning, distributes large database management systems into smaller components to facilitate faster data management.</p><p>With these data distribution tactics, it’s more feasible to resolve scalability issues, ensure high availability, speed up query response time, create more write bandwidth, and conduct horizontal scaling. Data replication allows a reduction in latency, increases availability, and helps scale out the number of servers.</p><h3>Load Balancing</h3><p>An effective distributed system relies heavily on load balancing. This key concept of distributed architecture facilitates the optimal distribution of traffic across the nodes in a cluster, resulting in performance optimization without causing any system overload.</p><p>With load balancing, the system can simply eliminate the need to assign a disproportionate amount of work to a single node. Load balancing is enabled by adding a load balancer and a load balancing algorithm that periodically checks the health of each node in the cluster.</p><p>If a node has failed, the load balancer will promptly reroute incoming traffic to the functional nodes.</p><h3>Fault Tolerance and Failover Strategies</h3><p>Since a distributed system needs several components to function properly, it should be highly fault tolerant. After all, multiple components in a system can result in multiple faults, causing significant performance degradation. A fault-tolerant distributed system is readily available, reliable, safe, and maintainable.</p><p>Fault tolerance in distributed systems is ensured through phases like fault detection, fault diagnosis, evidence generation, assessment, and recovery. The high system availability in a distributed computing architecture is maintained through failover strategies.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70344955b932" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design Patterns…]]></title>
            <link>https://medium.com/@drathnayake131/design-patterns-83db0609d850?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/83db0609d850</guid>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Tue, 21 Nov 2023 14:00:41 GMT</pubDate>
            <atom:updated>2023-11-21T14:00:41.956Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0Yahwiec-wW_jqK2.jpg" /></figure><h3>What are software design patterns and what are their different uses?</h3><p>In software engineering, design patterns are proven general solutions to common software design problems that have been identified and documented by experienced software developers. Design patterns are not finished designs that can be directly translated into code. They provide developers with a set of guidelines and best practices to follow when designing software systems.</p><p>Design patterns help implement software design principles such as clean code by providing tools to improve code readability for coders, avoid the expensive acquisition of resources by recycling existing objects and increase the efficiency of the overall development process, with direct support in multiple programming languages.</p><p>There are many different design patterns, each with its own specific purpose and implementation details. The most commonly used types of design patterns are divided into 3 categories:</p><ul><li>Creational design patterns</li><li>Structural design patterns</li><li>Behavioral design patterns</li></ul><h3>Why design patterns are important elements in software development?</h3><p>Design patterns are important because they provide a common language for developers to communicate with each other. They provide a set of solutions to common problems which can be used to ensure that code is written in a consistent manner. They also make it easier for developers to understand code written by others and make debugging and maintenance easier within the development process.</p><p><strong>let’s explore the top 7 design patterns:</strong></p><ul><li><a href="https://www.educative.io/blog/the-7-most-important-software-design-patterns#singleton">1. Singleton</a></li><li><a href="https://www.educative.io/blog/the-7-most-important-software-design-patterns#factory">2. Factory Method</a></li><li><a href="https://www.educative.io/blog/the-7-most-important-software-design-patterns#strategy">3. Strategy</a></li><li><a href="https://www.educative.io/blog/the-7-most-important-software-design-patterns#observer">4. Observer</a></li><li><a href="https://www.educative.io/blog/the-7-most-important-software-design-patterns#builder">5. Builder</a></li><li><a href="https://www.educative.io/blog/the-7-most-important-software-design-patterns#adapter">6. Adapter</a></li><li><a href="https://www.educative.io/blog/the-7-most-important-software-design-patterns#state">7. State</a></li></ul><h3>Singleton</h3><p>The singleton pattern is used to limit creation of a class to only one object. This is beneficial when one (and only one) object is needed to coordinate actions across the system. There are several examples of where only a single instance of a class should exist, including caches, thread pools, and registries.</p><h3>Factory Method</h3><p>A normal factory produces goods; a software factory produces objects. And not just that — it does so without specifying the exact class of the object to be created.</p><h3>Strategy</h3><p>The strategy pattern allows grouping related algorithms under an abstraction, which allows switching out one algorithm or policy for another without modifying the client.</p><p>Instead of directly implementing a single algorithm, the code receives runtime instructions specifying which of the group of algorithms to run.</p><h3>Observer</h3><p>This pattern is a one-to-many dependency between objects so that when one object changes state, all its dependents are notified. This is typically done by calling one of their methods.</p><h3>Builder</h3><p>As the name implies, a builder pattern is used to build objects. Sometimes, the objects we create can be complex, made up of several sub-objects or require an elaborate construction process. The exercise of creating complex types can be simplified by using the builder pattern. A composite or an aggregate object is what a builder generally builds.</p><h3>Adapter</h3><p>This allows incompatible classes to work together by converting the interface of one class into another. Think of it as a sort of translator: when two heads of states who don’t speak a common language meet, usually an interpreter sits between the two and translates the conversation, thus enabling communication.</p><h3>State</h3><p>The state pattern encapsulates the various states a machine can be in, and allows an object to alter its behavior when its internal state changes. The machine or the context, as it is called in pattern-speak, can have actions taken on it that propel it into different states.</p><p>Without the use of the pattern, the code becomes inflexible and littered with if-else conditionals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83db0609d850" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design Patterns in Software Development]]></title>
            <link>https://medium.com/@drathnayake131/design-patterns-in-software-development-8b54d2fd2cd0?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b54d2fd2cd0</guid>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Thu, 31 Aug 2023 04:35:43 GMT</pubDate>
            <atom:updated>2023-08-31T04:35:43.419Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*0QwB1F7Xf03-6NYZ.jpg" /></figure><p><em>Introduction:</em></p><p>Ever felt like your code could use a bit of magic to make it cleaner and more efficient? That’s where design patterns come in! Think of them as secret tricks that experienced developers use to solve common coding problems. Don’t worry, we’re here to explain them in the simplest way possible, so you can start using them like a pro.</p><p><strong>Section 1: What’s a Design Pattern Anyway?</strong></p><p><em>Pattern Magic 101: Understanding the Basics</em> Let’s start with the basics. Design patterns are like blueprints for solving coding puzzles. They’re tried-and-true solutions that smart developers have figured out, so you don’t have to reinvent the wheel every time you write code.</p><p><strong>Section 2: Building Your Coding Toolbox</strong></p><p><em>Pattern 1: The Singleton Wizard</em> Meet the Singleton pattern — your first coding spell. Imagine having a magical wand that conjures up just one instance of an object. No duplicates, no mess. It’s like having a pet dragon that follows your commands perfectly.</p><p><em>Pattern 2: The Factory Enchanter</em> Picture yourself as a master potion maker. The Factory pattern is like your recipe book for creating different potions (objects). Just follow the instructions, and poof! You have exactly what you need without mixing up the wrong ingredients.</p><p><strong>Section 3: Organizing Your Code Spells</strong></p><p><em>Pattern 3: The Facade Magician</em> Ever seen a magician pull a rabbit out of a hat? The Facade pattern is your hat of tricks. It wraps up complex stuff with a simple bow, so you can use it without knowing the complex magic happening behind the scenes.</p><p><em>Pattern 4: The Observer Sorcerer</em> Imagine you’re at a party, and whenever the music changes, everyone switches partners. The Observer pattern lets your code objects do just that — they keep an eye on each other and dance together, no matter the changes.</p><p><strong>Section 4: Making Your Code Dance</strong></p><p><em>Pattern 5: The Strategy Maestro</em> Think of coding like a dance floor with different dance styles. The Strategy pattern lets you switch dance styles (algorithms) whenever you want. Cha-cha-cha today, waltz tomorrow — all without missing a beat.</p><p><em>Pattern 6: The Command Conjurer</em> Pretend you have a magical scroll that turns your words into actions. The Command pattern is that scroll. It takes your requests and turns them into spells that your code understands and follows.</p><p><strong>Conclusion: You’re the Coding Magician</strong></p><p>As we wrap up this enchanting journey, remember that design patterns are your secret spells for better coding. They’re like having a treasure chest of solutions at your fingertips. Whether you’re creating one-of-a-kind objects, simplifying tricky stuff, or orchestrating a code symphony, these patterns will make your code shine like never before.</p><p>So, grab your coding wand and start using these patterns to create software that’s pure magic! Happy coding, wizard! 🧙‍♂️🔮</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b54d2fd2cd0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AMAZON WEB SERVICES(AWS)]]></title>
            <link>https://medium.com/@drathnayake131/amazon-web-services-aws-7b84f952d641?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b84f952d641</guid>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Sun, 18 Sep 2022 15:19:53 GMT</pubDate>
            <atom:updated>2022-09-18T15:23:18.119Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Introduction to AWS (Amazon Web Services)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xlPecqhiWLKUgRMW.png" /></figure><blockquote>Before we directly dive into the topic of AWS, let us first get an overview of Cloud Computing as today, across all sectors, cloud computing has become an important part of businesses. Then, I will be covering various essential services of AWS and also talk about various advantages and disadvantages of using AWS in this blog.</blockquote><h3>Brief Overview of Cloud Computing</h3><p>Cloud computing refers to storing and accessing data remotely from a set of decentralized IT resources over the internet. Hence, if you are using the resources of the cloud, your data and information are not compulsory to be stored on the hard disk of your PC, rather it can be remotely accessed from a remote server.</p><h3>What is AWS (Amazon Web Services)?</h3><p>In simple terms, AWS is considered a cloud provider which means that AWS provides various cloud-based IT resources to its cloud consumers. AWS is an easy-to-use platform which is provided by Amazon. At present, AWS is one of the leading cloud service providers all around the world.</p><p>Being a cloud provider, AWS is able to provide 175 fully-featured services from different data centers all around the world. It offers low pricing with optimum innovation in the field of cloud computing. Additionally, it provides pay-as-you-go pricing which means, you will be paying only for the resources that you use with AWS.</p><h3>How does AWS work?</h3><p>There are a variety of services provided by AWS AWS which can be configured as per the requirement of the users. Based on the demand and requirements, the users can have a look at the geographical locations for the individual server with the configuration options provided in that particular location. Here in this blog, I will be discussing some of the services of the AWS.</p><h3>Some of the services of AWS</h3><p>AWS offers its user a variety of services. These services can be used for developing various global cloud-based products. With that being said, now, let’s have a look at some of the services of AWS.</p><h3>Amazon EC2</h3><p>Amazon Elastic Compute Cloud (Amazon EC2) is a service that allows individuals to run various application programs in the computing environment. It is an AWS service that provides scalable computing capacity, allowing us to scale up or down as per the change in requirement and minimizes the need to forecast the traffic.</p><h3>Amazon S3</h3><p>Amazon Simple Storage Service (Amazon S3) is one of the services of AWS which allows individuals to store and protect various data and information. Here, using Amazon S3, individuals can easily organize their data and also configure the access as per their requirements. Amazon S3 storing of data and information of any volume to be stored and accessible at any time and from any parts of the world.</p><h3>AWS CodePipeline</h3><p>AWS CodePipeline is a fully managed continuous delivery service that allows individuals to automate the release pipelines for fast and reliable applications and infrastructure updates. CodePipeline automates the build, test, and deploy phases of your release process whenever a code change occurs, based on the type of release which individuals define. This allows individuals to deliver features and updates quickly and reliably.</p><h3>AWS Lambda</h3><p>AWS Lambda is an AWS service that allows individuals to run functions in the cloud without provisioning or managing servers. Additionally, while using AWS Lambda, the individuals have to pay the amount only as the defined function executes. Hence, using Lambda, the code can be executed without an application or backend service.</p><h3>AWS Elastic Beanstalk</h3><p>AWS Elastic Beanstalk is used for deploying the application which is developed using Java, .net, Python, PHP, Node.js, Docker having servers such as Nginx, Apache, etc. Using AWS Elastic Beanstalk, individuals can deploy their applications without worrying about the infrastructure. Hence, this service can be fruitful for developers who are willing to deploy their applications without configuring the infrastructure. Furthermore, the individuals will be paying for the AWS resources which are required to store and run the applications.</p><h3>AWS IAM</h3><p>AWS Identity Access Management(IAM) is an AWS service that allows individuals to manage access to various AWS services and resources securely. Hence, with the implementation of AWS IAM, individuals can create and manage various users and groups. Additionally, the users and groups which are created are provided various permissions to allow and deny access to AWS resources. IAM is a service that does not require any type of additional charge.</p><h3>Amazon RDS</h3><p>Amazon Relational Database Service (Amazon RDS) allows the individual to efficiently set up and operate relational databases in the cloud. Additionally, these relational databases are scalable as per the requirements of its user. Some of the database engines which are provided by Amazon RDS are Oracle Database, Amazon Aurora, PostgreSQL, MySQL, MariaDB, and SQL server. Furthermore, individuals can also use AWS Database Migration Service in order to migrate the database to Amazon RDS.</p><h3>Amazon CloudWatch</h3><p>Amazon CloudWatch is a service that can be used to monitor the AWS resources that are required for the applications at the run time. It can be used to display the metrics which is being used from each AWS service. Furthermore, alarms can also be generated when a threshold is breached with the help of Amazon CloudWatch.</p><h3>Amazon Rekognition</h3><p>Amazon Rekoginiton can be used to analyze the image and video in the application of an individual. One of the advantages of Amazon Rekognition is that it does not require machine learning expertise for its implementation. Using Amazon Rekognition various objects, people, text, scenes, from the image and video, can be identified.</p><h3>AWS Database Migration Service</h3><p>AWS Database Migration Service allows its users to migrate their database to the cloud securely and efficiently. Furthermore, AWS Database Migration Service also allows users to migrate from one database to another database. For example, MySQL database to Oracle database.</p><h3>AWS Server Migration Service</h3><p>AWS Server Migration Service (SMS) facilitates its user to efficiently and securely migrate thousands of on-premise servers to AWS. Using, AWS Server Migration Service (SMS) individuals can automate, schedule, and track incremental replications of live server volumes which makes coordinate large-scale server migrations much easier.</p><h3>Amazon Route 53</h3><p>Amazon Route 53 is an AWS service that provides DNS service for individuals due to which a separate DNS account is not required. Amazon Route 53 can be used to perform three functions mainly. They are domain registration, DNS routing, and health checking. This service provides developers and businesses a reliable and cost-effective way for routing end users to Internet applications.</p><h3>Advantages of AWS</h3><ul><li>AWS enables organizations to use programming models, operating systems, databases, and architectures which are already known to its user.</li><li>Amazon Web Services can be very cost-efficient as the individual who is using the cloud services will have to pay only for what you use.</li><li>Expenses for creating, implementing, and maintaining data centers is not required while using AWS.</li><li>Users are facilitated with scale-up and down the allocated resources as per the demand for the resources.</li><li>AWS offers fast deployment which allows individuals to obtain optimum user satisfaction.</li><li>AWS allows us to deploy the application in different regions with just a few clicks</li></ul><h3>Disadvantages of AWS</h3><ul><li>While using the services of AWS, an individual is required to pay for obtaining immediate assistance.</li><li>The resources of AWS can differ from region to region as all the services of AWS are not provided to all the regions.</li><li>Some issues such as files vanishing and the problem of server not syncing may arise while working with AWS.</li><li>Without internet access, the data present in the cloud cannot be accessed.</li></ul><h3>Conclusion</h3><p>There is a popular saying among us i.e. “Every dark side has a bright side and every dark side has a bright side”. Hence, as discussed in the blog there are both advantages and disadvantages of using AWS. Furthermore, I have also elaborated on some of the services of AWS, with which, the initial cost of the business can be reduced. Additionally, while using AWS, one will only be paying for the services which we use for deploying the application.</p><h3>References</h3><p><a href="https://aws.amazon.com/what-is-aws/">https://aws.amazon.com/what-is-aws/</a></p><p><a href="https://aws.amazon.com/what-is-cloud-computing/?nc1=f_cc">https://aws.amazon.com/what-is-cloud-computing/?nc1=f_cc</a></p><p><a href="https://aws.amazon.com/">https://aws.amazon.com/</a></p><p><a href="https://www.guru99.com/what-is-aws.html">https://www.guru99.com/what-is-aws.html</a></p><p><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html">https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html</a></p><p><a href="https://aws.amazon.com/lambda/">https://aws.amazon.com/lambda/</a></p><p><a href="https://docs.aws.amazon.com/lambda/index.html">https://docs.aws.amazon.com/lambda/index.html</a></p><p><a href="https://aws.amazon.com/elasticbeanstalk/">https://aws.amazon.com/elasticbeanstalk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b84f952d641" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keys In DBMS]]></title>
            <link>https://medium.com/@drathnayake131/keys-in-dbms-7c707a29c77c?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c707a29c77c</guid>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 13:18:23 GMT</pubDate>
            <atom:updated>2022-09-03T13:26:39.967Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*-xWB0ia6BL8t9mmp6ZTJhg.png" /></figure><h3>What are Keys in DBMS?</h3><p><strong>KEYS in DBMS</strong> is an attribute or set of attributes which helps you to identify a row(tuple) in a relation(table). They allow you to find the relation between two tables. Keys help you uniquely identify a row in a table by a combination of one or more columns in that table. Key is also helpful for finding unique record or row from the table. Database key is also helpful for finding unique record or row from the table.</p><h3>Why we need a Key?</h3><p>Here are some reasons for using sql key in the DBMS system.</p><ul><li>Keys help you to identify any row of data in a table. In a real-world application, a table could contain thousands of records. Moreover, the records could be duplicated. Keys in RDBMS ensure that you can uniquely identify a table record despite these challenges.</li><li>Allows you to establish a relationship between and identify the relation between tables</li><li>Help you to enforce identity and integrity in the relationship.</li></ul><h3>Types of Keys in DBMS</h3><p>There are broadly seven types of keys in DBMS. All these types of keys in SQL must be implemented appropriately for the relevant database to negate redundancy. Correct identification will lead to database accuracy, improving results in a limited time. Let’s explore these DBMS keys to learn more about what are keys in SQL.</p><ol><li>Primary Key</li><li>Candidate Key</li><li>Super Key</li><li>Foreign Key</li><li>Composite Key</li><li>Alternate Key</li><li>Unique Key</li></ol><p>Let’s look at each of them separately.</p><h3>1. Primary Key</h3><p>If you’re wondering what is primary key in DBMS, primary key is a column of a table or a set of columns that helps to identify every record present in that table uniquely. There can be only one primary Key in a table. Also, the primary Key cannot have the same values repeating for any row. Every value of the primary key must be different with no repetitions. Amid many details, a primary key is the most significant one to understand what are keys and what is primary key in DBMS.</p><p>The PRIMARY KEY (PK) constraint put on a column or set of columns will not allow them to have any null values or any duplicates. One table can have only one primary key constraint. Any value in the primary key cannot be changed by any foreign keys (explained below) which refer to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*m5Y_gU8ta5g8HlmVXn3ZTw.png" /></figure><h3>2. Super Key</h3><p>Super Key is the set of all the keys which help to identify rows in a table uniquely. This means that all those columns of a table than capable of identifying the other columns of that table uniquely will all be considered super keys.</p><p>Super Key is the superset of a candidate key (explained below). The Primary Key of a table is picked from the super key set to be made the table’s identity attribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*pYhEGh3VEzV4LeTIJsdPag.png" /></figure><h3>3. Candidate Key</h3><p>Candidate keys are those attributes that uniquely identify rows of a table. The Primary Key of a table is selected from one of the candidate keys. So, candidate keys have the same properties as the primary keys explained above. There can be more than one candidate keys in a table.</p><p>There can be more candidate keys than just one for any table, but they can never be empty. Every candidate key carries unique information and value. Besides these characteristics, a combination of attributes also works as a set of candidate keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*xfi9hd9QkutEABkv9VlsoA.png" /></figure><h3>4. Alternate Key</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*OHknRQlVzElE_HEcRnyvRg.png" /></figure><p>As stated above, a table can have multiple choices for a primary key; however, it can choose only one. So, all the keys which did not become the primary Key are called alternate keys.</p><h3>5. Foreign Key</h3><p>Foreign Key is used to establish relationships between two tables. A foreign key will require each value in a column or set of columns to match the Primary Key of the referential table. Foreign keys help to maintain data and referential integrity.</p><p>Foreign keys are essential for maintaining a difference between two entities that might be linked with the same information but do not share similar information. In such cases, the tables are linked to maintaining a connection but do not entirely work as a replacement for each other. For instance, any individual working for the marketing department might have marketing department information in its employee table, but that does not mean the table can be similar to the department table held by the marketing department.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*605k0Pi2bN5wOAY1dpwETA.png" /></figure><h3>6. Composite Key</h3><p>A composite Key is a set of two or more attributes that help identify each tuple in a table uniquely. The attributes in the set may not be unique when considered separately. However, when taken all together, they will ensure uniqueness. The ‘concatenated key’ is another name for a composite key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*VGodO3mBJuMBVIYUUUX3tQ.png" /></figure><h3>7. Unique Key</h3><p>Unique Key is a column or set of columns that uniquely identify each record in a table. All values will have to be unique in this Key. A unique Key differs from a primary key because it can have only one null value, whereas a primary Key cannot have any null values.</p><p>Among the seven types of keys available in the DBMS, a few other types of keys in SQL are also accessible. The key type is called Artificial Keys. An artificial has no relevance or meaning to the business but is often used to tackle conflicting data management situations. For example, if there is no attribute that comprises all required primary key properties or if the primary keys are complex.</p><h3>Conclusion</h3><ol><li>Keys in DBMS are nothing but a way to uniquely identify each table’s record.</li><li>Learned about the super key and how to find candidate keys from it. We pick one key from a set of candidate keys as a primary key and name all other keys as alternate keys.</li><li>If that primary key contains 2 or more attributes, then it’s called a composite key.</li><li>Unique key, which allows the value of the attributes to be unique (accepting one value as null if required), and</li><li>Surrogate key, which is nothing but a unique identifier of an object or entity and is different at different locations.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c707a29c77c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Evaluation of DBMS]]></title>
            <link>https://medium.com/@drathnayake131/evaluation-of-dbms-6ac433318168?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ac433318168</guid>
            <category><![CDATA[dbms]]></category>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Wed, 20 Jul 2022 12:54:03 GMT</pubDate>
            <atom:updated>2022-07-20T12:54:03.980Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*cSyEl2_9WYRpA15ZWj1plw.jpeg" /></figure><p>DBMS is a collection of data that enable users to Add, remove , retrieve, and manipulate data into a database. DBMS normally manipulates the info on its own. data formatting, field names, record structure and file structure. It additionally defines rules to validate and manipulate this information.</p><p>There are several types of database management systems available in the world. Each type has its features and can be used for varied purposes. The large number of DBMS makes it delicate to choose the DBMS that should be enforced to slove the problem. To choose the most suitable DBMS, we need to estimate from various systems. We perform a structured approach to estimate the database systems.</p><blockquote><strong>The major compoments of DBMS</strong></blockquote><h4>1. Data Manager :</h4><p>The data manager is that the central package part of the software. it’s generally remarked because the info system. one among the functions of the information manager is to convert operations within the user’s queries returning directly via the question processor or indirectly via associate computer programme from the user’s logical read to a physical filing system. the information manager is liable for interfacing with the filing system as show. additionally, the tasks of imposing constraints to keep up the consistency and integrity of the information, yet as its security, are performed by the information manager. it’s additionally the responsibility of the information. Manager to supply the synchronization within the synchronous operations performed by coinciding users and to keep up the backup and recovery operations.</p><h4>2. Query Processor :</h4><p>As query process includes bound activities for query retrieval. Initially, the given user queries get translated in high-level info languages like SQL. It gets translated into expressions that may be any used at the physical level of the filing system. After this, the particular analysis of the queries and a range of queary -optimizing transformations and takes place. so before process a queary, a system must translate the queary into a human-readable and comprehendible language. Consequently, SQL or Structured source language is that the best appropriate selection for humans. But, it’s not absolutely appropriate for the inner illustration of the queary to the system. relative pure mathematics is like minded for the inner illustration of a queary. the interpretation method in question process is comparable to the program of a queary. once a user executes any queary, for generating the inner sort of the queary, the program within the system checks the syntax of the queary, verifies the name of the relation within the info, the tuple, and eventually the specified attribute worth. The program creates a tree of the queary, referred to as ‘parse-tree.’ Further, translate it into the shape of relative pure mathematics. With this, it equally replaces all the employment of the views once employed in the queary.</p><h4>3. Data Dictionary :</h4><p>A data dictionary means the data stored in a database. in understandable terms, it provides information and insights about the database, it means, a data dictionary is a documentation for all the data assets in a database. Traditional data dictionaries generally only make sense to engineering, operations or IT, leaving business people in the dark. The problem cannot be solve with a traditional data dictionary . But the modern data dictionary is a store of all the characteristics of the mean, median, missing values, etc.</p><h4>4. Disk Manager :</h4><p>The Disk manager is a part of a operating system of host computer. It controlls and manage all the physical input and outputs. Disk manager transfer the data and pages according to the request of file manager. so that the latter need not be concerned with the physical characteristics of the underlying storage media.</p><h4>5. File Manager :</h4><p>The File Manager is a software that use to create, remove , modify files. It also responsible for manage the access and security of the software and resources it used.These functions are provided with the help of Device Manager. The File Manager has big responsibilities itself. File manager handles the memory space of the disk. It starts and maintains the list of structures and indices delineated within the internal schema that’s wont to show info keep on disk. Therefore, the file manager doesn’t directly manage the input of data and physical output. It passes the requests on to the acceptable access strategies, that either write data or browse knowledge from into the system cache or buffer.</p><h4>6. Data Definition Language Compiler :</h4><p>DDL is a standardized language with commands. DDL statements Add or create data, modify data delete data. DDL is additionally use for generic sense to see any language that describe data.</p><p>DDL includes Structured query language (SQL) to maintain database. It additionally includes statements to change objects and impose or drop bound constraints on tables, like the following:</p><p>UNIQUE<br>PRIMARY<br>FOREIGN KEY<br>CHECK</p><h4>7. Telecommunication System :</h4><p>People who use the computer systems, use telecommunication system for sending and receiving process. in here these messages are sending through an independent software system called a telecommunication system or a communication control program. Examples of these programs are CICS, IDMS-DC, TALK MASTER, and IERCOMM.</p><p>The telecommunication system is not a part of the database. but the DBMS works closely with the system, User communicate with the data base directly or indirectly via a user interface and an application program. Messages are sending through the telecommunication system to the sutable task and feedback are sent back to the user.</p><h4>8. Data Files :</h4><p>A data file is a kind of file that filed with data and information. data file is read only and cannot be executed. For example its like a web site and a text file are considered data files. Programs can trust on data files to collect data and informations within it. The data file can contain the settings of a program might contain the settings of a program that tell the program the way to show information.</p><h4>9. Access Aids :</h4><p>For the improving process of a DBMS, a set of access aids in the form of indexes are usually provided in a data base system. Commands are provided to build and destroy additional temporary indexes.</p><p>Three components that make up database accessibility: connectivity, interoperability and interfaces.</p><ul><li>Connectivity — the required components that allow client connections into a database.</li><li>Interoperability — the structuring of the components (hardware, software, data standards etc) that allow them to interact and share information across and between systems.</li><li>Interfaces — the capabilities that provide the systems capacity to support the various application environments being developed upon the database.</li></ul><p>These components operate within the constraints, protocols, and processes defined by the Security Domain in the areas of access, connections, and interoperability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ac433318168" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Database Management System Vs File System]]></title>
            <link>https://medium.com/@drathnayake131/database-management-system-vs-file-system-ac0db51530cb?source=rss-5fee6bc2aac5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac0db51530cb</guid>
            <category><![CDATA[dbms-vs-file-system]]></category>
            <dc:creator><![CDATA[Deshani Rathnayake]]></dc:creator>
            <pubDate>Fri, 08 Jul 2022 11:38:19 GMT</pubDate>
            <atom:updated>2022-07-11T05:28:04.061Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*KHd2XOwsbCMFdhSOayb1ow.jpeg" /></figure><blockquote>A Filing system could be a Software package that Organizes and Manages files on storage media, whereas a Database Management system could be a software package that permits you to access, create and administer databases.</blockquote><blockquote>What is File System?</blockquote><p>A File process System could be a methodology or a tool that facilitates storing, accessing and modifying information from various files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c9nreSwOARnYzPZMd9WOFA.jpeg" /></figure><p>All information is hold on within the style of files. All files area unit classified and sorted consequently. The file names area unit closely associated with each other and area unit organized in such how that they’re simply accessible.</p><p>Files like.txt, .jpg, and .docx, similarly as structured datatypes like .xml and .json, could also be utilized by a file process system. For organizing or a lot of advanced administration wants, files is placed in several system directories.</p><p>Examples of file systems embrace storage media like arduous disks, pendrives, etc, that will contain information like music files, videos, documents and what not.</p><h4>Examples-</h4><p>hard disk, pendrive, etc.</p><blockquote>What is Database Management System ?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zkbyXAD5EgU5yQbPfstVlA.png" /></figure><p>A direction System or just package, could be a assortment of programs that permits users to form and maintain a information. it’s a general purpose computer code that facilitates the method of process, constructing and manipulating databases for numerous applications. It ensures the database’s safety and security. It additionally ensures knowledge consistency once there square measure multiple users.</p><h4>Examples</h4><p>Oracle, MySQL, MS SQL Server, DB2, Microsoft Access, etc.</p><h3>File System Vs DBMS…</h3><p>Main difference is file system helps to collect data into hard disk or something like that. Database Management System helps to store, add, remove and manipulate data easily.</p><p>The filing system may be a assortment of information and for any management with it, the user must write the procedures, whereas software system may be a assortment of information and user needn’t write the procedures for handling the info. study what’s the distinction between a filing system and software system from the table given.</p><h4>Difference Between File System Vs DBMS</h4><ol><li>Control data redundancy in DBMS and redundancy cannot control in file.</li><li>Security is high in DBMS, but in file system its hard to protect data.</li><li>Unknown access are not allowed in DBMS, but in file system cannot do that.</li><li>DBMS has data backup, but in file system cannot backup deleted data.</li><li>DBMS is easy to update , add or remove data than File system.</li><li>In DBMS, cost is higher than Managing File system.</li><li>DBMS is complex to handle than File system.</li><li>In DBMS data consistency is higher than File System</li><li>If the faliure of one file, will not affect others in the file system, but in the DBMS faliure of one data can affect others.</li><li>In file system, data are isolated, but in DBMS data can be shared.</li></ol><p>In Files in a lot of formats, include information be it a textual content document with characters represented through numbers or a image or some thing else. The technique of storing those is a document system, the maximum not unusualplace of which can be File Allocation Table (FAT) document systems. Rather than in reality arbitrary information, databases put in force nicely established data, permit querying to quick restrict or kind information, in addition to offer extra security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac0db51530cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>