<?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 Inyangpsalms on Medium]]></title>
        <description><![CDATA[Stories by Inyangpsalms on Medium]]></description>
        <link>https://medium.com/@inyangpsalms?source=rss-1a11e6c65c6f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EoPB3Y51zroPzL9z.jpg</url>
            <title>Stories by Inyangpsalms on Medium</title>
            <link>https://medium.com/@inyangpsalms?source=rss-1a11e6c65c6f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 09:15:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@inyangpsalms/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[Understanding Microservices Architecture]]></title>
            <link>https://medium.com/@inyangpsalms/understanding-microservices-architecture-c3aa786f2795?source=rss-1a11e6c65c6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3aa786f2795</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Inyangpsalms]]></dc:creator>
            <pubDate>Wed, 14 Jun 2023 08:10:19 GMT</pubDate>
            <atom:updated>2023-06-14T08:10:19.291Z</atom:updated>
            <content:encoded><![CDATA[<p>…everything just got smaller, easier</p><figure><img alt="Microservice Architecture Diagram, showing client, API Gateway and Microservice Management and orchestration" src="https://cdn-images-1.medium.com/max/987/1*BicliTTLme6W9DBVjj8CjA.png" /></figure><p>When we hear of microservice architecture, we think that we may just be building services that are actually smaller than what it was before, well we are just in the right direction, but let us just get a little bookish about it</p><blockquote>Microservices are an architectural style used in software development to build applications as a collection of small, loosely coupled, and independently deployable services. In a microservices architecture, an application is decomposed into multiple small services, each responsible for a specific business capability or functionality.</blockquote><p>Microservices make building applications very easy as it decouples the functionalities of the system int smaller independent services, meaning each service is self-sufficient and only needs the other service where there is a functionality that is not within its own space.</p><h3>Microservice Architecture Versus Monolithic Architecture</h3><p>Monolithic Architecture is a pattern that builds systems in self-contained units, where there is no decoupling of application functionalities. Let us briefly compare Monolithic Architecture and Microservice Architecture</p><p><strong>Codebase:</strong> The codebase for monolithic applications are actually shared and within the same repository, unlike Microservice the codebase is not shared and can be contained in different repositories</p><p><strong>Resources:</strong> All the application resources are shared, example are databases, caching layers, file systems which increases dependencies and potential conflicts. Microservices are self-contained, they are independent of other applications, only connecting to other services when there is need to share certain resources and data</p><p><strong>Technology Stack:</strong> A monolithic architecture usually employs a single technology stack or framework for the entire application. This allows for consistency but may limit the flexibility to adopt different technologies or programming languages for specific components.<br>Microservice applications can employ a variety of frameworks as each service is independent of the other, this increases the efficiency and flexibility of the team</p><p><strong>Deployment: </strong>Monolithic applications, along with all its components and dependencies, are deployed together as a single unit. This typically involves deploying the application on a single server or a cluster of servers. Microservices are not deployed as a single unit,microservice can be developed, deployed, and scaled independently of other services. This allows for faster development cycles and enables teams to work on different services concurrently.</p><p><strong>Conclusion</strong></p><p>Monolithic architecture has been a traditional approach for building applications and is still widely used, especially for smaller or less complex applications. It offers simplicity in development, testing, and deployment since all components are tightly integrated. However, as applications grow in size and complexity, monolithic architectures can become harder to maintain, scale, and evolve due to the lack of modularity and the challenges of managing a large codebase.</p><p>Microservices offer several benefits, including improved agility, scalability, maintainability, and the ability to adopt new technologies. However, they also introduce additional complexities, such as managing inter-service communication, data consistency across services, and deployment and monitoring of a larger number of services.</p><p>Overall, microservices provide a way to build complex applications by breaking them down into smaller, manageable components that can be developed and maintained independently, enabling greater flexibility and scalability in software development.</p><p>In my next Article I will be writing on how to build microservices using Java and Spring Boot or with Golang Gin Framework, use the comment section and let me know which you prefer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3aa786f2795" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Structures and Algorithms — part II]]></title>
            <link>https://medium.com/@inyangpsalms/data-structures-and-algorithms-part-ii-d08550f34cd4?source=rss-1a11e6c65c6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d08550f34cd4</guid>
            <dc:creator><![CDATA[Inyangpsalms]]></dc:creator>
            <pubDate>Wed, 03 Aug 2022 14:30:37 GMT</pubDate>
            <atom:updated>2022-08-03T14:32:19.807Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Structures and Algorithms — part II</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*PHDAaATAPAYBO6KkJt8cbg.png" /></figure><h3>Linear Data Structures in-depth</h3><p>In my previous article I had briefly explained what data structures are, and the different types of data structures, if you have not read my initial article on data structures and algorithms, you can read it <a href="https://medium.com/@inyangpsalms/data-structures-and-algorithms-part-1-d1e96a4b820f">here</a>.</p><h4>What Are Linear Data Structures</h4><p>Linear data structures are data structures where elements are arranged in sequential order, each element is connected to the previous element and the next element. Linear data structures are traversed on a single level and in a single run. They are easy to implement as computer memory is also sequential. There are a few examples of linear data structures that we will discuss in this article and how to declare them and initialize them using popular languages, Java and GoLang.</p><h4>Arrays</h4><p>An array is a linear data structure where similar elements are stored next to each other, and each element is accessed directly using an index number.</p><p>For instance, if we want to store the marks scored by a student in 10 subjects, then there’s no need to define individual variables for each subject. Rather, we can define an array which will store the data elements at adjoining memory locations.</p><h4>Array declaration and initialization in Java and GoLang</h4><p>Assuming we have marks scored by students in 10 subjects, creating individual variables is not the optimal solution, in such case we can create and array and store the the marks</p><p><strong><em>Java Syntax</em></strong></p><blockquote>&lt;Datatype&gt; [] &lt;arrayName&gt; = new &lt;DataType&gt;[Array Size];</blockquote><blockquote>The above syntax for our assumed problem will be:</blockquote><blockquote>int [] studentsScore = new int[10];</blockquote><p>To Initialize the array we can pass elements by calling the index numbers with the syntax</p><blockquote>&lt;arrayName&gt; [indexNumber] = &lt;value&gt;;</blockquote><blockquote>studentScore [0] = 15;</blockquote><blockquote>studentScore [1] = 10;</blockquote><p>that will continue till we exhaust the records we have.</p><p><strong><em>GoLang Syntax</em></strong></p><p><strong>Approach 1: </strong><em>Var &lt;arrayName&gt;[Size] &lt;type&gt;= element</em></p><p><strong>Approach 2(Shorthand Method):</strong> <em>&lt;arrayName&gt; := [length]Type{item1, item2, item3,…itemN}</em></p><h4>Summary</h4><p>In this article we have discussed Linear data structures,arrays as an example of Linear data structures and how to declare and initialize arrays in popular languages like Java and GoLang. In my next article we will actually get to work with optimizing problem solutions using arrays as data structure and further implementing algorithms that makes efficient use of arrays. This series or articles is to help software developers appreciate data structures without the complexity of the theory, but helping them quickly learn and apply.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d08550f34cd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Structures and Algorithms — Part 1]]></title>
            <link>https://medium.com/@inyangpsalms/data-structures-and-algorithms-part-1-d1e96a4b820f?source=rss-1a11e6c65c6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1e96a4b820f</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[data-structures]]></category>
            <dc:creator><![CDATA[Inyangpsalms]]></dc:creator>
            <pubDate>Fri, 22 Jul 2022 00:35:52 GMT</pubDate>
            <atom:updated>2022-07-22T00:35:52.027Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Structures and Algorithms — Part 1</h3><p>… the blood vein of every effective program</p><blockquote><strong>The programmer’s primary weapon in the never-ending battle against slow system is to change the intramodular structure. Our first response should be to reorganize the modules’ data structures.</strong> — <a href="https://quotlr.com/author/fred-brooks">Fred Brooks</a></blockquote><h3>What Are Data Structures?</h3><p>Data structures as complex as we often make of it, are simply ways used to store data on order to enhance effective manipulation, organization and retrieval of the stored data. Depending on the data to be captured or based on the approach of the project you can use a different data structure to increase your efficiency. Popular data structures are, but not limited to arrays, Linked List, Stacks, Queues, Graphs, Maps etc.</p><h3>Types of Data Structures</h3><p>With the wide range of data structures within our reach, all of such data structures can be divided into 2 (two) main categories:</p><ol><li>Linear Data Structures: Here elements are arranged in a sequential order, and are easy to implement; but where there is complexity it increases the operational complexity of linear data structures. Examples are Arrays, Stacks, Queues, Linked List.</li><li>Non- Linear Data Structures: Elements here are arranged in hierarchical order, which increases the connection between elements; non-linear data structures are further divided into tree-based and graph-based structures</li></ol><p>in subsequent articles we will discuss in depth these data structures and also implement them with a high level language of choice.</p><blockquote>An algorithm must be seen to be believed. — <a href="https://www.brainyquote.com/authors/donald-knuth-quotes">Donald Knuth</a></blockquote><h3>WHAT IS AN ALGORITHM?</h3><p>An algorithm is a set of well-defined instructions to solve a particular problem. It takes a set of input(s) and produces the desired output within a finite period of time.</p><h3>Qualities of A Good Algorithm</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*PHDAaATAPAYBO6KkJt8cbg.png" /></figure><ul><li>Input(s) and output should be defined precisely.</li><li>Each step in the algorithm should be clear and unambiguous.</li><li>Algorithms should be most effective among many different ways to solve a problem.</li><li>An algorithm shouldn’t include computer code. Instead, the algorithm should be written in such a way that it can be used in different programming languages.</li><li>An algorithm should be finite.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*PHDAaATAPAYBO6KkJt8cbg.png" /></figure><h3>Summary</h3><p>Data structures and algorithms are very important in software engineering and requires practice and in depth study to understand and apply in real world applications.</p><p>In my next article we will explore each data structure in details and go ahead to implement algorithms with these data structures, to show its practical application in real world scenarios.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1e96a4b820f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Fundamentals. Part 2]]></title>
            <link>https://medium.com/@inyangpsalms/linux-fundamentals-part-2-ad7824ac213?source=rss-1a11e6c65c6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad7824ac213</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Inyangpsalms]]></dc:creator>
            <pubDate>Mon, 02 May 2022 17:08:18 GMT</pubDate>
            <atom:updated>2022-05-02T17:08:18.140Z</atom:updated>
            <content:encoded><![CDATA[<p>Your Backbone Just Got Stronger</p><p>So Today I will be adding some more commands that will help you in your basic understanding of the Linux Terminal, if you have not read my first article on linux Fundamentals, you can read it <a href="https://medium.com/@inyangpsalms/linux-terminal-fundamentals-part-1-adb0145433d3">here</a>.</p><h3>Creating Files</h3><p>To create a file from the Linux Terminal you use the “touch” command, after which you append the filename and the extension, and as with all commands you execute by tapping enter. The general syntax for the “touch” command will be</p><p><em>$ touch &lt;filename&gt;.&lt;file_extension&gt;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*llwg-__D7Gdk0xfHRe9-vg.png" /></figure><p>so we open the terminal, you can search from the list of application or use the Ctrl + Alt + T combination. Then we navigate to the directory we want to create the file and execute the command. For me I want to create a single HTML file called “index.html”</p><p>$ cd Desktop (Assuming I am in the root Directory)</p><p>$ touch index.html</p><figure><img alt="Ubuntu Desktop Showing Terminal and Created index.html file" src="https://cdn-images-1.medium.com/max/1024/1*SeUBloO1jI95bj5injrGRw.png" /></figure><p>so we have I have my index.html file available on my desktop. You should have yours too :)</p><p>To open the file we have just created, using a text editor we use the application name and attach the file name to it, for me I will use “gedit”</p><p>$ gedit index.html (assuming your are still in the same directory), if you are not, then you will likely have to specify the path to the file or navigate to that directory.</p><p>$ gedit index.html</p><figure><img alt="Ubuntu Desktop showing Terminal and opened document using the gedit command." src="https://cdn-images-1.medium.com/max/1024/1*JOitVrOv2piJNEW4v3VcNg.png" /></figure><h3>Copying Files</h3><p>To copy files within the Linux terminal you use the “cp” command, the general syntax will be :</p><p>$ cp &lt;filename&gt; &lt;Destination Directory&gt;</p><p>I will copy my index.html file to my Documents Directory</p><p>(Assuming I am withing the Desktop) so I specify the root (~) then navigate down into the Documents directory</p><p>$ cp index.html ~/Documents</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*IDSN6KTPYwtHvKECrZhz8Q.png" /></figure><p>after which I navigate to the Documents Directory, then run the “ls” command to list all file within that directory, which you can see the the “index.html” file.</p><h3>Renaming Files</h3><p>Renaming files on the Linux Terminal can be a bit of a trick it uses the “mv” command which is actually moving files from one directory to another; to rename files you use the “mv” command without specifying the destination directory, rather you specify the new name of the file. The general syntax will be</p><p>$ mv &lt;file_name&gt; &lt;new file_name&gt;</p><p>$ mv index.html psalms.html</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*I31Hg-dpMtolj8d75e_wsA.png" /></figure><p>So I succesfully renamed the file “index.html” to “psalms.html”, if you have done same, Kudos :)</p><p>So today we did a walkthrough of how we can create files, copy, and rename them. In my next article we will explore some more commands and get a proper understanding of the linux file system and permissions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad7824ac213" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Terminal Fundamentals. Part 1]]></title>
            <link>https://medium.com/@inyangpsalms/linux-terminal-fundamentals-part-1-adb0145433d3?source=rss-1a11e6c65c6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/adb0145433d3</guid>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[ubuntu-desktop]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Inyangpsalms]]></dc:creator>
            <pubDate>Fri, 22 Apr 2022 11:35:56 GMT</pubDate>
            <atom:updated>2022-04-22T11:35:56.784Z</atom:updated>
            <content:encoded><![CDATA[<p>The backbone to your linux journey</p><p>As a developer I have met many who are totally unaware of the existence of another operating system, save the Windows Operating System. Those who have an idea of the Linux Operating System tend to shy away from it because most of the key things that can be handled on GUI(Graphical User Interface) are mostly done using the terminal (not that Linux-Based systems do not have GUIs)</p><p>So in this article, I am going to take a beginner through the linux terminal fundamentals; to increase their confidence in using the linux terminal.</p><p>I assume that you have a linux operating system set up on either a virtual machine or as your main operating system</p><p>For this section I will bring up the most basic file and directory management commands; such as listing files, creating directories, navigating into directories etc. So let us begin</p><p>To access the terminal you can click on the menu button on your linux operating system home desktop enviroment, search for Termina and double-click to open, or alternatively you can use the shortcut</p><p>Ctrl + Alt + T (This will open the terminal from anywhere)</p><p>Creating Directories</p><p>The command for Creating a directory (folder if you would) is “mkdir” (make directory) and then you tap the enter key to execute the command. The “mkdir” command takes the syntax order as below:</p><p>$ mkdir &lt;directory name&gt;</p><figure><img alt="A screenshot of the linux terminal and the “mkdir” command" src="https://cdn-images-1.medium.com/max/740/1*HezmPidkA6BDtoAO_rSdMA.png" /></figure><p>The “ls” command is used to list files and directories within the current working directory, the “ls” command has other options that can be further used to tweak its functionalities, but for this article we will deal with only the basics</p><p>$ ls</p><figure><img alt="Linux Terminal showing the ls command implementation" src="https://cdn-images-1.medium.com/max/739/1*VR6NdLePdC8ew5MGeaIbGw.png" /></figure><p>The “mkdir” and the “ls” commands are used for creating and listing files and directories within the current working directory of the user, to further navigate into the directories we use the “cd” command which means (change directory). The syntax for the “cd” command is thus:</p><p>$ cd &lt;directory name&gt; or cd &lt;path to directory&gt;</p><p>let’s say we have a directory called Videos and we have another directory called MarvelDcMovies, to reference the MarvelDcMovies we have to specify the path to the directory which will look like this (assuming we are in the home directory)</p><p>$ cd Videos/MarvelDcMovies</p><p>Say we were not in the home directory we can reference the home directory using this symbol “~” so the command above will be written as from any directory, so as to reach the home directory and access the directory we are looking for.</p><p>$ cd ~/Videos/MarvelDcMovies</p><figure><img alt="Linux Terminal Showing the cd command" src="https://cdn-images-1.medium.com/max/738/1*88Et3C7Tx2Qfee0m_FvKUg.png" /></figure><p>Today we have basically just scratched the surface of the Linux terminal, in my next article we will take the next steps like creating files, copying, renaming files and much more on the linux terminal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adb0145433d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>