<?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 Prapa on Medium]]></title>
        <description><![CDATA[Stories by Prapa on Medium]]></description>
        <link>https://medium.com/@prabakar.sp?source=rss-9b4ea883dbf3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Prapa on Medium</title>
            <link>https://medium.com/@prabakar.sp?source=rss-9b4ea883dbf3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:29:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prabakar.sp/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[Four Life Lessons from My Grandma’s Life]]></title>
            <link>https://medium.com/@prabakar.sp/four-lessons-from-my-grandmas-life-d6a61e41102b?source=rss-9b4ea883dbf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6a61e41102b</guid>
            <category><![CDATA[courage]]></category>
            <category><![CDATA[resilience]]></category>
            <category><![CDATA[root-cause-analysis]]></category>
            <dc:creator><![CDATA[Prapa]]></dc:creator>
            <pubDate>Sat, 02 Dec 2023 06:05:03 GMT</pubDate>
            <atom:updated>2023-12-02T21:20:32.225Z</atom:updated>
            <content:encoded><![CDATA[<p>My grandma typically carries herself with a stoic expression and exudes great courage. I’ve never observed her in tears, and I spent more time with my grandma than with my immediate family in India. She did not complete any formal education. She usually taught her life as a story.</p><p>In the quiet village where my grandma was born one among 5 siblings, a tight-knit family bound by the simplicity of their rural surroundings. It was an era where norms differed significantly from the present, especially when it came to matters of marriage. At the age of thirteen, my grandma found herself stepping into a new chapter of life as a bride. In those days, such early marriages were not uncommon in India. The challenges she faced were not the trials of modern times but the harsh realities of a bygone era. Soon after her marriage, she experienced the joy of expecting her first child, only to endure the heart-wrenching loss of the infant to a bout of chickenpox in the year 1948. This tragedy cast a shadow over the beginnings of her family. Their residence was encircled by unethical people. My grandpa, a towering presence, provided a shield of protection for my grandmother. The people surrounding them desired to seize their land, including their possessions, and force them out of their homes. One day, one of my grandpa’s brothers took a stick and struck him from behind, which caused a severe head injury. He managed to handle the situation and was admitted to the hospital. He recovered after three months and back to normal life. A decade elapsed, with my grandma carrying my mother as a fetus. A small beacon of hope in my grandma’s life. However, joy was fleeting, as my grandpa’s health deteriorated due to the lingering effects of his head injury. He exerted immense effort on the farm and bore a heavy burden on his head. Before my mother entered the world, Grandpa had passed away.</p><p>Left a widow, my grandmother needs to handle everything herself with an infant. It gave unlimited freedom to Grandpa’s brothers. They were start throwing stones, sometimes putting fire on the home, and breaking the walls of grandma’s home. In her solitude, she reached out to her brother for support. It reduced a little bit of noise to continue her life. Grandma’s brother came to the home and stayed for three years. She decided to build a home and successfully finished construction. Grandma’s brother got married and moved to a new place, and she gave him bullock carts and also some money to start his new life.</p><p>My mother was still a five-year-old baby. My grandma’s troubles seemed insurmountable. She decided to fix the problems permanently. She went to the nearest town and informed to police station. Unfortunately, they only accept written complaints. She was not having any formal education to write compliant. Meanwhile, my mother was craving for food, and grandma took her to a restaurant to get some food. One of Grandma’s cousin saw both and asked Grandma “What made you come such a long distance with the kid?”. Grandma explained the problem and Grandma cousin was crying there. He took them to an attorney’s office and wrote a formal complaint and both back home.</p><p>The inspector and two police officers arrived at the residence. Meanwhile, the villains had fled, leaving only the wife behind. An officer went to the villains’ home and inquired, “Where is your husband?” She replied, “He went to the farm, and he is not here.” The police officer declared, “Your husband needs to report to the police station within the next 2 hours.”</p><p>Police officers escorted the mother and grandmother to the station. Within one hour, all the villains had arrived at the station. The officer sternly addressed them, “Are you human? Is this the right way to treat a woman who is living alone with kid?. You are now the guardians of the family. If there is any trouble caused to the family, by anybody, including you, you will be jailed forever.”</p><p>The honest officer had given a solution to the problem. My mother and grandma lived peacefully in the same place. This incident imparted four valuable lessons to me:</p><ol><li><strong>Face all your troubles with courage:</strong> Despite lacking life support until her daughter got married and had no formal education, she faced all the problems with courage.</li><li><strong>Always seek help from good people:</strong> She consistently reached out to the right people for help whenever she needed assistance.</li><li><strong>Understand the root cause of the problem:</strong> She refrained from immediate reaction to any assault, understanding that direct conflict would likely result in loss. She avoided direct confrontation with the villains.</li><li><strong>Find a solution for the root cause of the problem:</strong> She went to the police station and found a permanent solution, ensuring the safety and well-being of her family.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6a61e41102b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why is more important than How?]]></title>
            <link>https://medium.com/@prabakar.sp/why-is-more-important-than-how-16725764084f?source=rss-9b4ea883dbf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/16725764084f</guid>
            <category><![CDATA[monolithic-architecture]]></category>
            <category><![CDATA[architecture-trends]]></category>
            <category><![CDATA[v]]></category>
            <category><![CDATA[trade-off]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Prapa]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 03:18:17 GMT</pubDate>
            <atom:updated>2023-07-16T04:02:15.917Z</atom:updated>
            <content:encoded><![CDATA[<p>Stack Overflow was launched in 2008. Many of you visited at least once if you touched any programming language in your career. There are interesting factors that everyone should know about Stack Overflow.</p><ul><li>2 billion Page views per month.</li><li>100 million monthly users.</li><li><strong>6K TPS(transactions per second).</strong></li><li>13.6 seconds average time between two questions.</li><li>More than 100 sites.</li><li>80% anonymous users.</li></ul><p>Stack overflow is one of the world’s most visited websites. Usually, people think it might be running on multiple clouds, multiple regions, etc. The most interesting factor here is, this is running on one data center at New York City.</p><p>Let us look at this architecture to understand the secrets behind this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*GBcEcvlks7EkB7pKLIgLnQ.jpeg" /><figcaption>Stake Overflow System Architecture</figcaption></figure><p>The product is running on Nine Web Servers and Two SQL servers(DB). It also has a Redis cache and Elastic search. It was built with the .Net programming language. The product also has a codebase of 15 years. Hence, this is one of the biggest monolithic codebase which is running on a single app pool on Nine web servers. Every server runs with a 5% to 10% capacity load. It’s almost like an ideal state. Just imagine how much workload they are still able to serve. Two levels of caching are used. Redis(in-memory) cache and 1.5 terabytes of RAM handle the second level of caching with two SQL server DBs. You are not going to get this same amount of RAM in the cloud because it’s very costly. <strong>Stack Overflow deploys applications multiple times a day in 4 minutes and can revert change within one minute. Fifty Engineers are working on the same codebase. </strong>After looking at this architecture, you might not be surprised by any of the technologies except for some colorful boxes on the above diagram.</p><p>In the 15 years of Stack Overflow history, they came across many technology changes such as Kubernetes, Containerization, Function as service, etc. Lift and shift to Cloud — This is another fancy term advertised for reducing cost. It doesn’t mean that Stack Overflow has not looked at any of these technologies and just married some old technologies with closed eyes. They have evaluated multiple times and looked at their problems with pragmatic thinking. They discovered that No to the Cloud. This decision may change in the future depending on problems that they try to solve.</p><p>In text books, microservices help quickly deploy apps to production, but monolithic apps are also deployed quickly to production. For every architecture decision, Why is more important than How. Architects need to map the highest customer centric problems with outcomes of the decision before deciding How this is going to be implemented. Stack Overflow story is one of the best examples needs to be considered for architecture decisions.</p><p>Reference: <a href="https://hanselminutes.com/847/engineering-stack-overflow-with-roberta-arcoverde">https://hanselminutes.com/847/engineering-stack-overflow-with-roberta-arcoverde</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16725764084f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MUnit Towards Automated Unit Test Cases — DZone DevOps]]></title>
            <link>https://medium.com/@prabakar.sp/munit-towards-automated-unit-test-cases-dzone-devops-a4c11a7a8410?source=rss-9b4ea883dbf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4c11a7a8410</guid>
            <dc:creator><![CDATA[Prapa]]></dc:creator>
            <pubDate>Sun, 10 Oct 2021 00:16:34 GMT</pubDate>
            <atom:updated>2021-10-10T16:48:26.425Z</atom:updated>
            <content:encoded><![CDATA[<h3>MUnit Towards Automated Unit Test Cases</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HiIWSVtOWk2SD0FE.jpg" /></figure><p><em>Find out how to use MUnit with Mule for automated unit testing.</em></p><h3>Why Unit Testing?</h3><p>This is the first question most beginners ask when they struggle to relate unit test cases with real scenarios, like what value add unit testing is doing, but unit testing is a powerful tool to release defect-free code to production. The unit testing helps to do regression testing and gives confidence for new developers to make changes to the old codebase.</p><h3>MUnit For Mule Flows</h3><p><a href="https://dzone.com/articles/munit-framework">MUnit is an extension of JUnit.</a> Developers are allowed to write XML-based test cases or Java code-based test cases for Mule flows. This document covers MUnit basics, practical options for different scenarios, and automating the business validations.</p><h3>How Does the Mule Flow Work?</h3><p>Mule 4 follows a <a href="https://dzone.com/articles/5-things-to-know-about-reactive-programming">reactive programming model.</a> The input listeners are event publishers and the flows are subscribers. Every single event message has payload, attributes, variables and exception message. The event message flows from the input source (publisher) to the event subscriber for the incoming requests. The incoming request comes from HTTP Listener/Read file/JMS Queue, etc. While writing unit test cases, developers need to construct the event message, then pass to actual flow. The diagram below illustrates Mule flow architecture.</p><blockquote><em>You may also enjoy: </em><a href="https://dzone.com/articles/munit-testing-with-mule-4"><em>MUnit Testing With Mule 4</em></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*beTQbaKwH_Ycf61b.jpeg" /></figure><p><em>Mule flow architecture</em></p><h3>MUnit Architecture</h3><p>Each MUnit test has four sections:</p><ul><li><strong>Execution</strong> — The actual testing flows needs to be called. Developers are allowed to set an event payload before calling actual flows.</li><li><strong>Behavior</strong> — Any component of the flow the gets mocked (or) introduce any spy component before or after a certain event processor calls.</li><li><strong>Validation</strong> — The test conditions (assertions) get executed here. MUnit tools support different types of assertions.</li><li><strong>Before/After the scope </strong>— It executes one time before the test begins or after the test case gets completed. These components are applicable to test suites as well.</li></ul><p>The diagram below illustrates how the unit test calls the actual flow and gets back the result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/0*UinZeAwXrbWlq7S-.png" /></figure><h3>Assert Event Processor</h3><p><a href="https://dzone.com/articles/mule-4-message-structure-events-and-variable-scope">Assert event processor</a> helps to validate the event processor contents. MUnitTools supports various types of assertions.</p><p>MUnitTools:equals() - Compare string values with payload, variables of the output event.</p><p>MUnitTool:notNullValue()- Check the event payload is not a null value. Refer to the link for all the matches: <a href="https://docs.mulesoft.com/munit/2.2/munit-matchers">https://docs.mulesoft.com/munit/2.2/munit-matchers</a>.</p><p>Refer to the codebase (mocking-event-processor-test-suite.xml) on <a href="https://github.com/prapakaransp/mule-munit-examples">mule-munit-samples</a> for how to use the assertions.</p><p><strong>Mocking Event processor</strong> — Any component could be mocked in the flow wherever it required. Suppose, calls going out of the flow (or) external system, mocking helps to generate custom output and also get details from previous event processors. Developers are allowed to set variables, payload and attributes on the mocking component.Refer the codebase(mocking-connector-test-suite.xml) on <a href="https://github.com/prapakaransp/mule-munit-examples">mule-munit-samples</a>.</p><ul><li><strong>Set Event message</strong> — It generates a Mule event message before calling the actual flow for testing. Let us assume the HTTP listener is getting requests from outside. Set the event processor allowed to simulate the HTTP request. Refer to the codebase (mocking-event-processor-test-suite.xml) on <a href="https://github.com/prapakaransp/mule-munit-examples">mule-munit-samples</a>.</li><li><strong>Spy Event processor</strong> — This is a very important component for validating the transformation component(dataweave). Let us assume multiple business scenarios on the transformation component. Developers are allowed to set the input for each scenario then validate after the transformation gets executed for each scenario. Refer to the codebase (testseteventservice-test-suite.xml) on <a href="https://github.com/prapakaransp/mule-munit-examples">mule-munit-samples</a>.</li><li><strong>Verify the Event processor</strong> — It helps to verify whether a particular event processor gets called or not, and also how many times the event processor gets called. Refer to the codebase (mocking-connector-test-suite.xml) on mule-munit-samples.</li><li><strong>Custom Assertion</strong> — Developers want to test special functionality which is common across the project. Custom assertion allows writing Java code as a custom assertion. Refer to the codebase (testcustomassertion-test-suite.xml) on <a href="https://github.com/prapakaransp/mule-munit-examples">mule-munit-samples.</a></li><li><strong>XML/JSON payload test</strong> — In the real projects, XMLs/JSON messages could be validated for unit testing. Custom connectors help to validate the XML/JSON payloads. Refer to the codebase (testxml-test-suite.xml, testxml-test-suite.xml) on <a href="https://github.com/prapakaransp/mule-munit-examples">mule-munit-samples.</a></li><li><strong>Mocking Database</strong> — MUnit supports mocking well-known database such as DB2,Oracle, SQLServer, MySQL, PostgreSQL. Please refer <a href="https://help.mulesoft.com/s/article/How-to-use-Munit-2-x-and-mock-a-DB-server-in-Mule4">the link</a> for more details.</li></ul><h3>Mule-munit-automation-framework</h3><p>The framework code helps <a href="https://dzone.com/articles/the-role-of-unit-tests-in-test-automation">unit testing automation</a>. The flow has <em>n</em> number of business scenarios that could be easily simulated with just input/out file with no need to write the test case for every scenario. it validates all the business scenarios based on the input and output files which include positive scenarios and error scenarios.</p><p>It takes the input payload via flat-file and validates the output file, which was placed with the same input filename.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IcqKd7ezpra0Xg5d.jpeg" /></figure><p>The above diagram illustrates how the automation works by taking input payload from the input folder and checking out the output folder with the same file name for verifying the result. Please refer to the code base ( <a href="https://github.com/prapakaransp/mule-munit-automation-framework">mule-munit-automation-framework</a>).</p><p><strong>Code Base:</strong> <a href="https://github.com/prapakaransp/mule-munit-examples">https://github.com/prapakaransp/mule-munit-examples</a> <br> <a href="https://github.com/prapakaransp/mule-munit-automation-framework">https://github.com/prapakaransp/mule-munit-automation-framework</a></p><h3>Conclusion</h3><p>The article explains where to start and the state of your unit testing roadmap. Unit testing is strongly recommended for all Mule flows and ensures that covers it all the business scenarios of DataWeave code. The coverage report does not cover DataWeave code and only shows code coverage for the flow path. Developers have to manually review the business logic code and make sure that unit testing gets covered.</p><h3>Further Reading</h3><p><a href="https://dzone.com/articles/mule-sub-flows-processing-strategy-and-one-way-end">Mule Sub-Flows, Processing Strategy, and One-Way Endpoints</a> <a href="https://dzone.com/articles/importance-of-unit-testing">Importance of Unit Testing</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4c11a7a8410" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[API Economy for All Industries — DZone Integration]]></title>
            <link>https://medium.com/@prabakar.sp/api-economy-for-all-industries-dzone-integration-2945d55c9728?source=rss-9b4ea883dbf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2945d55c9728</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Prapa]]></dc:creator>
            <pubDate>Sun, 10 Oct 2021 00:09:40 GMT</pubDate>
            <atom:updated>2021-10-10T00:22:57.741Z</atom:updated>
            <content:encoded><![CDATA[<h3>API Economy for All Industries</h3><h3>Building API Economy for Your Organization</h3><p>The magic word “digitalization” is changing the way an organization doing its traditional business because 4th industry revolution coming from digitalization. Amazon growth is coming from digital technologies. Tesla has transformed the auto industry with digital technologies. Netflix has changed movie distribution with live streaming. These companies discovered precious metals from their internal assets and not extensively worked on something to build. They found it from internal assets and redistributing to the external world, Amazon cloud and Netflix microservices are the best examples. I got an opportunity to work with one of the retail shoe companies. They have an internal product called “stockcurve.” The beauty of the product is predicting sales on every story, every day, and every category, which includes the size and color of the product for the next 3 years. It was developed 15 years back, but these types of intangible assets are simply sleeping in every organization and have enough potential to generate revenue for the organizations. This document talks about how to discover these types of intangible assets and convert them as an API economy to create revenue-making streams for the organizations.</p><h3>Introducing Bezos Mandate to Organizations</h3><ul><li>All products/applications communicate with each other through APIs and services.</li><li>Products/Applications are not allowed to talk directly such as shared memory, back-doors to communications. The systems only communicate through governed APIs.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iZy2zT4S2aPoOJN0" /></figure><p><em>The diagram illustrates the transformation journey from monolithic assets to digital building blocks.</em></p><h3>API Harvesting</h3><p>Most of the APIs are consumer-driven that pushes the top-down approach for APIs. The organization needs to prioritize the API approach based on the line of business, geographics, and partners. During API harvesting, the internal system functionality needs to be compared with market APIs and focus on the unique features of the systems. The success of the API design should involve respective stakeholders(product owners, business strategists, and enterprise architects).</p><h3>API Lifecycle</h3><p>We all know what is product lifecycle. A similar approach is followed for API design. Mulesoft has proposed a very good lifecycle approach. It follows the prototype approach. What does it mean for the organizations? Once API specification gets created, it could be immediately mocked and validated with respective stakeholders of the business unit. It helps to make strategic decisions and is nipped in the bud wherever possible for the business heads. It also speeds up the other team development with mock APIs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/0*C2fb6kd0JkwmbczH" /></figure><h3>What Is API Design?</h3><p>Did you notice cemeteries on the roadside? Did you think about visiting that place? I usually run away! But did anybody run away after seeing “Taj Mahal?” This is also a cemetery. Good design makes all the difference! API design means providing seamless interfaces for consumers. The designer needs to visualize the API beyond syntax, which should also focus on usability, performance, and the future roadmap of the product. The design first approach is a very good option for APIs. OpenAPI, RAMAL, blueprint are open-source API specifications. You could download any of these tools for creating contracts. It should be a human-readable format, that will be shared with consumers and feedback could be incorporated before building the complete APIs.</p><p>The below diagram illustrates important points during the design phase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*bsTmclODNJLGUVd4" /></figure><p>API Façade is one of the good options that will be considered while drawing on an API architecture. Façade patterns usually hide the complexity of implementation and expose the functionalities to the outside world. The right API layers need to be built for your organizations for implementing API security policies(exposing to the external world) and actual implementation of the APIs, strictly unwanted wrappers should be avoided. The blog post provides very good guidelines for API Architecture.</p><p><a href="https://wso2.com/library/blog-post/2015/10/article-a-pragmatic-approach-to-the-api-facade-pattern/">https://wso2.com/library/blog-post/2015/10/article-a-pragmatic-approach-to-the-api-facade-pattern/</a></p><h3>API Implementation</h3><p>Are you going to build a product from scratch? Are you trying to unlock the legacy data? Are you wanting to quickly market the APIs to partners and marketplaces? These are questions that need to be asked before finding the right environment. Suppose you are building it from scratch and then deploying it to the public cloud; microservices is one of the best architectures along with service mesh options and could be considered. In another scenario, the existing legacy systems have a lot of potential data that needs to be unlocked for real-time transactions to meet the business demand. This is the right use case to find an API product such as Mulesoft, Apigee, 3scale, etc.</p><p>This is a very competitive market space. Please refer to the link below for choosing the right one.</p><p><a href="https://www.gartner.com/reviews/market/full-life-cycle-api-management">https://www.gartner.com/reviews/market/full-life-cycle-api-management</a></p><p>Unit testing and integration testing are a little challenging during the implementation phase. The project initiation phase and proper templates need to be built and managed by an architect that should be enforced to all the development teams.</p><h3>Consumption and Profitability</h3><p>This is where API scores points compared to the old SOA approach. The modern DevOps will push the API quickly to the market. CI/CD (Continuous Integration/Continuous Delivery) has given lots of options for maintaining API versions and also helps to revert back to old versions quickly. Please refer to the below link for the list of options for CI/CD.</p><p><a href="https://prezi.com/p/heufahjbxptb/flavours-of-cicd-for-mulesoft/">https://prezi.com/p/heufahjbxptb/flavours-of-cicd-for-mulesoft/</a></p><h3>Roll-Out APIs With the Canary Approach</h3><p>Canary is a technique to reduce the impact of the new release by slowly rolling out the changes for a small group of users before rolling out to the entire infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/0*ZkRh2q4nPqxUJMFJ" /></figure><p>Monitoring the APIs with the right gateway policies helps organizations to know the actual API trends. Finally, don’t forget to publish the APIs on internal and external portals of the organization, which should help consumers/developers to understand and research APIs for adopting with their systems. This is an actual selling point for the APIs.</p><h3>Conclusion</h3><p>The API economy is a growing industry and organizations spending billions of dollars for Information technology to just running the normal business. If the organizations could spend little money on discovering intangible assets, and not makes much difference on their budget spendings, but they may discover the next amazon cloud or Apple Pay from internal assets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2945d55c9728" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are Developers Ready for Cloud Platforms?]]></title>
            <link>https://medium.com/@prabakar.sp/are-developers-ready-for-cloud-platforms-a74de7fd6697?source=rss-9b4ea883dbf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a74de7fd6697</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Prapa]]></dc:creator>
            <pubDate>Sun, 10 Oct 2021 00:02:04 GMT</pubDate>
            <atom:updated>2021-10-10T00:02:04.600Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>IT infrastructures are aggressively moving to cloud environments. Most of the organizations have set up a new vision for moving to cloud platforms. These aggressive changes are pushed by top-level executives (CTO, CEO, and CDO), while bottom-level architects talking about SaaS, PaaS, and microservices for cloud-native applications. Either side will make developers’ hands dirty and struggle to visualize the cloud magic box to find out what will and will not work.</p><p>Cloud applications have unique functionalities such as support for distributed architecture with high scalability, resilience, and flexibility to move across multiple cloud environments (vendor-agnostic approach). From a cloud perspective application development to production support, entirely different tools and techniques need to be followed for utilizing the complete advantage of a cloud platform. Giving training for the developers in the right tools to develop, debug, and test cloud-based is a key challenge. This article talks about new approaches and tools for cloud environments.</p><h3>Serverless Computing</h3><p>Suppose a customer wants to develop new services with a highly scalable infrastructure to support IoT and ybig data platforms. Functional programming is one of the best options that needs to be considered. Top cloud provider support function programmings (<strong>AWS Lambda, Azure functions, Google Cloud functions, IBM whisk</strong>). <strong>Openfaas </strong>is another interesting open source project for experimenting with functional programming.</p><h3>Choosing a Programming Language</h3><p>Startup time, memory efficiency, binary size, and concurrency are key factors while developing a microservice architecture on a cloud platform.</p><p><strong>Golang</strong> — A cloud startup trying to decide what language they want to use to explore cloud architecture should consider Go. Go is a good choice that includes features such as concurrency, lightweight, statically typed, and compiled language. One of the UK banks (Monzo) has completely build full banking architecture using <a href="https://github.com/monzo/typhon">microservices with Go language</a>.</p><p><strong>Java</strong> — Most products are developed in Java and have large developer communities available. Spring Boot and Java modules (from JDK-9.0) are good options for cloud-native architecture. This is a good start for migrating legacy systems to cloud platforms.</p><p><strong>.NET core</strong> — As we know, Microsoft was not supporting for open source community a long time. This was one of the main reasons .NET was not adopted by many companies, but Microsoft always gives bug-free development tools, easy syntax, and good tutorials. Microsoft lately recognized that open-source options provide more innovation and more business for the Azure cloud. As a result, the .NET core is attracted by the open-source community. One of the best options for the Azure cloud platform.</p><p><strong>R Math </strong>— As many of you noticed, data science fever hits across the computer world irrespective of industries but if you look closely, there is no new language invented for solving data science puzzles (statistical and mathematics). Since the cloud provides massive computer processing power at low cost, the industry trying to solve AI puzzles using old techniques and tools. R is an implementation of the S programming language. S was created in 1976, and the R library implements statistical and mathematical functions.</p><p><strong>Python</strong> — Python supports multiple programming paradigms and strongly types checked. It is easy to learn and has a powerful analytics library. It was strongly supported by the open source community. These are the reasons for data scientists attracted by Python</p><h3>Choosing Storage</h3><p>Massively scaling up the frontend service and trying to communicate with the RDBMS database using a connection pooling will not fulfill the actual use case. A Cloud-centric database needs to be selected for building a strong storage platform.</p><p><strong>Amazon DynamoDB</strong> — It provides single-digit-millisecond latency at any scale. Data stored on NoSQL format and supports documents, key-value store models and also building graph database.</p><p><strong>Azure Cosmos DB</strong> — It supports a globally distributed database with horizontal scaling. Data stored on NoSQL format and assured single-digit-millisecond latency at 99 percent. It not only supports document, graph, key-value, table, and column-family data models, API support extended for multiple languages for more details please refer to the documentation.</p><p><strong>MongoDB</strong> — MongoDB is one of the early provides of NoSQL DB. It is a very good open-source and cost-effective model for customers.</p><p><strong>IBM Cloudera DB </strong>— Cassandra is an underlying database for Cloudera. It supports Java-based APIs for communicating to the NoSQL database.</p><p><strong>Oracle NoSQL DB</strong> — Finally, Oracle also joined with NoSQL DB and supports load balancing and scaling nodes horizontally.</p><h3>Service Mesh</h3><p>Microservices architecture has brought new challenges for handling failure, routing, and service discovery. ServiceMesh needs to be considered while building cloud-centric services on a large scale.</p><h3>What is Service Mesh?</h3><p>Service Mesh was described by buoyant.io as: “…a dedicated infrastructure layer for handling service-to-service communication. It’s responsible for the reliable delivery of requests through the complex topology of services that comprise a modern, cloud-native application. In practice, the service mesh is typically implemented as an array of lightweight network proxies that are deployed alongside application code, without the application needing to be aware.” In a simple term, it acts as a proxy layer for communicating with microservices.</p><p><strong>Linkerd </strong>— It communicates between services and provides an abstract layer for accessing microservices. The key features are service discovery, load balancing, circuit breaking, dynamic request routing, and distributed tracing.</p><p><strong>Envoy</strong> — Originally built at the Lift for internal use, it has been open-sourced as a service mesh platform. This is not designed for the Kubernetes platform. Istio is trying to address these problems.</p><p><strong>Istio</strong> — It creates the network of deployed services with load balancing service to service authentication. Service monitoring is one of the key features it supports. In the future, we may get professional service support from big vendors such as Redhat.</p><h3>Messaging Layer</h3><p>IoT is another growth area across all industries. I’m sure many of you heard the phrase “data is a new oil.” Autonomous vehicles, mobile devices, and many more devices pump massive data to cloud platforms going forward. Event sourcing is another area that captures complete online user activity. For example, if you log in and browse some mobile and added to cart, remove cart, and added another brand, this data is captured as an event source and stored for future usage. Data streaming tools trying to address these problems.</p><p><strong>Kafka </strong>— As many of you knew about topics (refer to message broker concepts), Kafka&#39;s topic is a stream of records. Kafka producer API and Kafka consumer API supports for interacting with Kafka topic. Kafka cluster has an inbuilt feature for creating many brokers and servers.</p><p><strong>Kinesis</strong> — Amazon Kinesis stream has one or more shards. A shard is a uniquely identified group of records in the stream. Amazon claims terabytes per hour can be captured from IoT devices. Kinesis can be integrated via kinesis consumers with other Amazon products such as S3, Redshift, etc.</p><h3>Containers and Infrastructure as Code</h3><p>Containerization is a bundle of everything for running software on a cloud environment. Every bundle has a code, environment variable, library, and more. These bundles just swim in any cloud environment and give flexibility for moving to a different cloud environment on large scale. I just want to talk about two products, Docker and Kubernetes.</p><p><strong>Docker </strong>— It provides an open standard for packaging and distributing containerized applications. Docker engine allows to build and run containers. Docker images are stored in <a href="https://hub.docker.com/explore">Docker hub</a> like Maven jars.</p><p><strong>Kubernetes </strong>— It provides an underlying platform for running multiple containers seamlessly. It supports the orchestrating, distributing, and scaling of containers, and Docker images run in a Kubernetes environment.</p><h3>Conclusion</h3><p>These tools and technologies have been discovered through my experience. This is just the beginning for cloud platforms and may change based on specific contexts and use cases. Large enterprise companies need to give more importance to developer tools and technologies while building cloud platforms. Separate roadmaps need to be created for application development, storage, security, logging and debugging, monitoring, and testing during cloud migration depending on the company landscape. This will give a clear idea for developers to increase productivity and achieve the goals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a74de7fd6697" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>