<?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 Sachin Powar on Medium]]></title>
        <description><![CDATA[Stories by Sachin Powar on Medium]]></description>
        <link>https://medium.com/@sachin.powar?source=rss-b677f53a9445------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Nvtp5ELvl0eSHYNng1G1Qw.jpeg</url>
            <title>Stories by Sachin Powar on Medium</title>
            <link>https://medium.com/@sachin.powar?source=rss-b677f53a9445------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:55:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sachin.powar/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[Management of distributed API enabled applications using Azure APIM service]]></title>
            <link>https://medium.com/@sachin.powar/management-of-distributed-api-enabled-applications-using-azure-apim-service-61053c6080fe?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/61053c6080fe</guid>
            <category><![CDATA[solution-architect]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Thu, 08 Dec 2022 14:44:18 GMT</pubDate>
            <atom:updated>2022-12-08T15:19:50.192Z</atom:updated>
            <content:encoded><![CDATA[<p>APIs are the key foundation of digital transformation, allowing you to expose your business functions to unlock the real potential of your digital assets. APIs allow you to promote innovation and collaboration by making it easy to connect your digital assets to other key business systems. They help you create business agility by creating custom workflows and integrating with business ventures you might be exploring. It also allows you to interact with your business system in different ways, such as mobile or desktop apps.</p><p>These days, a single organization may rely on dozens or hundreds of third-party APIs, each of which may have a significant downstream effect on a company’s productivity and profitability.</p><p>The <strong>API management </strong>becomes even <strong>more complex when </strong>we consider <strong>distributed APIs that are deployed both across multiple clouds and on-premises.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*7j2mHISiL_R3ckvzzKM_IA.png" /></figure><p>Distributed API management is the task of managing APIs that are deployed across a wide range of IT environments, including both cloud and on-premises.</p><h3>Why we need API Management?</h3><p>To an organization management of API’s hosted in different environments e.g. Public Cloud/Private Cloud/On — Premise etc. is very complex task.</p><p>As a part of <strong>modernization</strong> of Monolithic legacy applications into small services increasing more complexity of management of different small small services. Need is to understand how people use APIs, so we can add analytics and monitoring tools.</p><p>It is import to provide user-friendly experience to the users who are using the API with good <strong>documentation</strong>. Documentation for each and every API is time consuming process.</p><p>Distributed API management must account for <strong>security</strong> best practices that address the most common API vulnerabilities and threats. We need to protect APIs from overuse and abuse, so use an authentication service and rate limiting.</p><p><strong>The APIs themselves may be distributed, the task of managing them should not be.</strong></p><p>There are multiple providers which will help us to manage/scale/govern/secure the distributed API’s. Here we will check about Azure API management Service.</p><h3>What is Azure API Management Service?</h3><p>A hybrid, multi-cloud management platform for APIs across all environments.</p><p>API management is an essential component for any application that integrates with APIs. It is essential for any business to ensure that its APIs are working properly, secure, and functional.</p><p>With out initial diagram, let’s see how API management service will replace the design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*QVZdUNMsd66k3vzfzksFUg.png" /><figcaption>API Management overview</figcaption></figure><h3>Azure API management Components</h3><p>Azure API Management is made up of an <strong>API <em>gateway</em>, a <em>management plane</em>, and a <em>developer portal</em>.</strong> These components are Azure-hosted and fully managed by default. API Management is available in various <a href="https://learn.microsoft.com/en-in/azure/api-management/api-management-features">tiers</a> differing in capacity and features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*0nv0IkkaZJSGH30XH3O_Og.png" /><figcaption>Source: Microsoft</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*S57L0kHTNr1L8Ap8nXwjuQ.png" /></figure><h3>Benefits of API management</h3><ul><li>Increased Agility</li><li>Workflow Automation and Customization</li><li>Helps to make strategic decisions</li><li>Security at prime</li><li>Improve API Discoverability</li><li>Manage API’s across Cloud and On-premise</li><li>Transform existing legacy services</li></ul><p>Great tool for developers, it offers a centralized way to monitor the performance of their APIs.</p><h3>API Management tools from different providers:</h3><p>Other than very well known public cloud providers(Azure/AWS/Google) below mentioned is the list of best API management tools available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*5Nuac09BcurBXOuihSBsOQ.png" /><figcaption>Source: <a href="https://www.softwaretestinghelp.com/api-management-tools/">https://www.softwaretestinghelp.com/api-management-tools/</a></figcaption></figure><p>In case you need to search for more options and it’s comparison then visit to site (<a href="https://www.predictiveanalyticstoday.com/top-api-management-platforms/">CLICK HERE</a>).</p><p>Source:</p><ul><li><a href="https://learn.microsoft.com/en-in/azure/api-management/">API Management documentation</a></li><li><a href="https://www.anblicks.com/blog/five-key-benefits-of-api-management-for-your-business/">Five Key Benefits of API Management For Your Business - Cloud Data Analytics Company</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61053c6080fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Governance and Management of Multi cloud and On-premises platform using Azure Arc]]></title>
            <link>https://blog.devgenius.io/governance-and-management-of-multi-cloud-and-on-premises-platform-using-azure-arc-50c3156583d2?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/50c3156583d2</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[azure-arc]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Tue, 22 Nov 2022 11:31:36 GMT</pubDate>
            <atom:updated>2022-12-08T10:03:20.190Z</atom:updated>
            <content:encoded><![CDATA[<p>In public cloud environment each time a resource like a VM is provisioned, scaled, stopped, or terminated, the operation goes through the Fabric Controller.</p><p>Every resource in Azure constantly reports its state to the Fabric Controller. For example, in the case of Azure VMs, the communication is initiated and managed by an agent (VM Agent) running within the virtual machine.</p><p>In between the fabric controller and the resources, there is another layer called the Azure Resource Manager (ARM) that automates the resource lifecycle. Microsoft has built resource providers for each of the services running within Azure. For example, VMs, SQL Database, Azure Kubernetes Service act as resource providers. Customers can declare the configuration of these resources through an ARM template — a simple text file the defines the desired state of a resource.</p><p>It will help us to monitor, maintain and secure the resources we have.</p><p>e.g In Azure monitor we can see key metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*63ooHGO2jdKmGN7fyU02nQ.png" /></figure><p>Often times, organizations opt for a multi-cloud solution where they commit to more than one vendor to fuel their cloud strategy. In this model, you aren’t at the mercy of a single vendor should prices go up or service quality deteriorate. There are lot of reasons organizations choose route to follow a hybrid public and private cloud model. As an organization grows it is difficult to manage this distributed infrastructure. Then we have questions like…</p><ul><li>How do we allow legacy systems, running on-prem, to participate in the cloud journey?</li><li>How do we properly secure resources when they reside on-premise and outside of Azure?</li><li>How can we reliably inventory, deploy, patch and maintain this expansive web of resources?</li></ul><p><strong>The solution is Azure Arc.</strong></p><h3>What is Azure Arc?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DkM1i7IpM48V53JgCnQnKw.png" /><figcaption>Image Source: Microsoft</figcaption></figure><p>Azure Arc is a bridge that extends the Azure platform to help you build applications and services with the flexibility to run across data centers, at the edge and in multi cloud environments.</p><p>Develop cloud-native applications with a consistent development, operations and security model.</p><p>Azure Arc runs on both new and existing hardware, virtualization and Kubernetes platforms, IoT devices and integrated systems.</p><h3>Key benefits of Azure Arc</h3><p>Arc lets you accelerate innovation across hybrid and multi-cloud settings by simplifying administration, accelerating app development, and ensuring consistent Azure services across all of your environments.</p><p><strong>Extended resource monitoring with Azure Monitor</strong></p><p>All the resources registered with Azure Arc send the logs to the central, cloud-based <a href="https://azure.microsoft.com/en-in/services/monitor/?&amp;ef_id=Cj0KCQiA2ITuBRDkARIsAMK9Q7MFl6tBWk9dpvymez72dZ_NUElarnH0Z1qxvNipUdvwlvi-z-EvCZ8aAtT5EALw_wcB:G:s&amp;OCID=AID2000081_SEM_XZ95TSPr&amp;MarinID=XZ95TSPr_334739393673_azure%20log%20analytics_e_c__60219785941_aud-411816020131:kwd-359568735113&amp;lnkd=Google_Azure_Brand">Azure Monitor</a>. This is a very powerful approach in deriving insights from highly distributed and disparate infrastructure environments.</p><p><strong>Extended Azure Security center</strong></p><p>Enterprises can use <a href="https://azure.microsoft.com/en-in/services/security-center/">Azure Security Center</a> to ensure compliance of all the resources registered with Azure Arc irrespective of where they are deployed. They can quickly patch the operating systems running in VMs as soon as a vulnerability is found. Customers can encrypt file systems across all the VMs with a push of a button. Policies can be defined once and automatically applied to all the resources across Azure, data center, and even to VMs running in other cloud platforms.</p><p><strong>Advantages of ARM templates and Azure APIs</strong></p><p>With Azure Arc, customers can manage resources deployed within Azure and outside of Azure through the same control plane. They can take advantage of the automation capabilities available through ARM templates and Azure API. It makes it possible to apply RBAC, tagging, and identity policies to resources.</p><p>To manages resources Azure Arc users can use Azure Portal, CLI, SDK, and tools like Terraform to automate resource management like the way it is managed in public cloud.</p><h3>Get started with Azure Arc?</h3><p>To get started with Azure Arc, you need an account on the Azure cloud. Once logged in,</p><p><strong>Step 1:</strong> Register the external resources that you want to manage through Azure Arc.</p><p><strong>Step 2:</strong> Generate installation scripts.</p><p><strong>Step 3:</strong> Execute the script on respective on-premise/external public cloud server. [Script install the Azure Arc agent and allow Azure Fabric controller to manage them]</p><p>Once done with the above steps external servers will be visible in Azure portal. You can apply RBAC, Policies etc.</p><p>For more details you can check : <a href="https://learn.microsoft.com/en-us/azure/azure-arc/servers/onboard-portal">https://learn.microsoft.com/en-us/azure/azure-arc/servers/onboard-portal</a></p><h3><strong>Azure Arc vs Amazon Outpost vs Google Anthos</strong></h3><p>Azure Arc works with any type of hardware. It can also register and manage workloads that are hosted using an external service, even if the service runs on a public cloud that competes with Azure.</p><p>Amazon Outposts requires specific hardware, and is compatible only with workloads hosted on AWS’s own cloud services.</p><p>Azure Arc and Google Anthos offerings are similar. Anthos as well allows users to deploy and manage workloads running on on-premise data center or any public cloud. Anthos is primarily designed to deploy workloads that run as containers and can be managed using kubernetes.</p><p>Source:</p><p><a href="https://azure.microsoft.com/en-in/products/azure-arc/#overview">https://azure.microsoft.com/en-in/products/azure-arc/#overview</a></p><p><a href="https://www.business2community.com/cloud-computing/azure-arc-healing-the-pain-of-hybrid-and-multi-cloud-02288636">https://www.business2community.com/cloud-computing/azure-arc-healing-the-pain-of-hybrid-and-multi-cloud-02288636</a></p><p><a href="https://learn.microsoft.com/en-us/azure/azure-arc/servers/plan-at-scale-deployment">https://learn.microsoft.com/en-us/azure/azure-arc/servers/plan-at-scale-deployment</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50c3156583d2" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/governance-and-management-of-multi-cloud-and-on-premises-platform-using-azure-arc-50c3156583d2">Governance and Management of Multi cloud and On-premises platform using Azure Arc</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes —A framework to run distributed systems resiliently]]></title>
            <link>https://blog.devgenius.io/kubernetes-a-framework-to-run-distributed-systems-resiliently-5f9d77442709?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f9d77442709</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[solution-architect]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 12:58:29 GMT</pubDate>
            <atom:updated>2022-11-15T11:38:07.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*S7CjuyY7b082PXb0.png" /></figure><p>Kubernetes is an open source system to deploy, scale, and manage containerized applications anywhere. Modern software is increasingly run as fleets of containers, sometimes called Microservices. A complete application may comprise many containers, all needing to work together in specific ways.</p><p>Kubernetes automates operational tasks of container management and includes built-in commands for deploying applications, rolling out changes to your applications, scaling your applications up and down to fit changing needs, monitoring your applications, and more — making it easier to manage applications.</p><h3>Why you need Kubernetes and what it can do</h3><p>Let’s take a look at why Kubernetes is so useful by going back in time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*Gxa-IIuK3i7mDFRy_hR4eg.png" /><figcaption>Source: <a href="https://kubernetes.io/docs/concepts/overview/">https://kubernetes.io/docs/concepts/overview/</a></figcaption></figure><p>In above visuals, we can see how organizations ran applications on physical servers. Later virtualization allowed better utilization of resources in a physical server and allowed better scalability because an application can be added or updated easily, reduces hardware costs, and much more. In container deployment, containers are similar to VMs, but they have relaxed isolation properties to share the Operating System (OS) among the applications.</p><p><strong>Containers are a good way to bundle and run your applications</strong>. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn’t it be easier if this behavior was handled by a system?</p><p>Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more.</p><p>Kubernetes provides you with:</p><ul><li>Service discovery and load balancing</li><li>Storage orchestration</li><li>Automated rollouts and rollbacks</li><li>Automatic bin packing</li><li>Self-Healing</li><li>Secret and configuration management</li></ul><h3><strong>Kubernetes Architectural Components</strong></h3><p>When you deploy Kubernetes, you get a cluster.</p><p>A Kubernetes cluster consists of a set of worker machines, called compute machines/<a href="https://kubernetes.io/docs/concepts/architecture/nodes/">nodes</a>, that run containerized applications. The node(s) host the <a href="https://kubernetes.io/docs/concepts/workloads/pods/">Pods</a> that are the components of the application workload.</p><p>The <a href="https://kubernetes.io/docs/reference/glossary/?all=true#term-control-plane">control plane</a> manages the worker nodes and the Pods in the cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*g0xbIO9dYfifAZYcIDbFLA.png" /></figure><p><strong>Control plane components —</strong></p><p><strong>API Server </strong>— The API server is the <strong>front end for the Kubernetes</strong> control plane.</p><p><strong>Scheduler —</strong> It is responsible for scheduling pods on specific nodes according to automated workflows and user defined conditions.</p><p><strong>Controller Manager —</strong> The controller manager is responsible for several controllers that handle various automated activities at the cluster or pod level, including replication controller, namespace controller, service accounts controller, deployment, statefulset, and daemonset.</p><p><strong>ETCD—</strong> Consistent and highly-available key value store used as Kubernetes’ backing <strong>store</strong> for <strong>all cluster data</strong>.</p><p><strong>Node components run on every node</strong>, maintaining running pods and providing the Kubernetes runtime environment.</p><p><strong>kubelet —</strong> An agent that runs on each <a href="https://kubernetes.io/docs/concepts/architecture/nodes/">node</a> in the cluster. It makes sure that <a href="https://kubernetes.io/docs/concepts/containers/">containers</a> are running in a <a href="https://kubernetes.io/docs/concepts/workloads/pods/">Pod</a>.</p><p><strong>kube-Proxy — </strong>It maintains network rules on nodes. These network rules allow network communication to your Pods from network sessions inside or outside of your cluster.</p><p><strong>Container Runtime —</strong> The container runtime is the software that is responsible for running containers.</p><h3>What are the benefits of Kubernetes?</h3><ul><li>Container orchestration savings</li><li>Increased DevOps efficiency for microservices architecture</li><li>Deploying workloads in multicloud environments</li><li>More portability with less chance of vendor lock-in</li><li>Automation of deployment and scalability</li><li>App stability and availability in a cloud environment</li><li>Open-source benefits of Kubernetes</li></ul><h3>How do you use Kubernetes</h3><p>Various vendors offer Kubernetes-based platforms (Managed Kubernetes Platform) or <a href="https://en.wikipedia.org/wiki/Infrastructure_as_a_service">infrastructure as a service</a> (IaaS) that deploy Kubernetes.</p><ul><li><a href="https://en.wikipedia.org/wiki/Alibaba_Cloud">Alibaba Cloud</a> ACK (Alibaba Cloud Container Service for Kubernetes)</li><li><a href="https://en.wikipedia.org/wiki/Amazon_(company)"><strong>Amazon</strong></a><strong> EKS (Elastic Kubernetes Service)</strong></li><li><a href="https://en.wikipedia.org/wiki/DigitalOcean">DigitalOcean</a> managed Kubernetes Service</li><li><a href="https://en.wikipedia.org/wiki/Google">Google</a> GKE (Google Kubernetes Engine)</li><li><a href="https://en.wikipedia.org/wiki/IBM">IBM</a> Cloud Kubernetes Services</li><li><a href="https://en.wikipedia.org/wiki/Microsoft"><strong>Microsoft</strong></a><strong> AKS (Azure Kubernetes Services)</strong></li><li><a href="https://en.wikipedia.org/wiki/Mirantis">Mirantis</a> K0s</li><li><a href="https://en.wikipedia.org/wiki/Oracle_Cloud">Oracle</a> Container Engine for Kubernetes</li><li><a href="https://en.wikipedia.org/wiki/Red_Hat"><strong>Red Hat</strong></a><strong> Openshift</strong></li><li><a href="https://en.wikipedia.org/wiki/SUSE">SUSE</a> Rancher, Rancher Kubernetes Engine (RKE)</li><li><a href="https://en.wikipedia.org/wiki/VMware">VMware</a> Tanzu</li></ul><p>Source:</p><ul><li><a href="https://kubernetes.io/">Production-Grade Container Orchestration</a></li><li><a href="https://en.wikipedia.org/wiki/Kubernetes">Kubernetes - Wikipedia</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f9d77442709" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/kubernetes-a-framework-to-run-distributed-systems-resiliently-5f9d77442709">Kubernetes —A framework to run distributed systems resiliently</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distributed Data Streaming With Apache Kafka]]></title>
            <link>https://blog.devgenius.io/distributed-data-streaming-with-apache-kafka-af47c74f97b1?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/af47c74f97b1</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[messaging]]></category>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[solution-architect]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 09:43:22 GMT</pubDate>
            <atom:updated>2022-11-04T18:17:52.270Z</atom:updated>
            <content:encoded><![CDATA[<p>Kafka is designed for distributed high throughput systems. Kafka tends to work very well as a replacement for a more traditional message broker. In comparison to other messaging systems, Kafka has better throughput, built-in partitioning, replication and inherent fault-tolerance, which makes it a good fit for large-scale message processing applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/0*dHuHy129PAsli1P0" /><figcaption>Source: <a href="https://blog.knoldus.com/introduction-to-apache-kafka/">https://blog.knoldus.com/introduction-to-apache-kafka/</a></figcaption></figure><p>Kafka provides three main functions to its users:</p><ul><li>Publish(Write) and Subscribe(Read) to streams of records, including continuous import/export of your data from other systems.</li><li>Effectively store streams of records in the order in which records were generated</li><li>Process streams of records in real time</li></ul><p>Kafka is distributed <a href="https://www.redhat.com/en/topics/integration/what-is-streaming-data">data streaming</a> platform primarily used to build real-time streaming data pipelines and applications that adapt to the data streams. It combines messaging, storage, and stream processing to allow storage and analysis of both historical and real-time data. In short, it moves massive amounts of data — not just from point A to B, but from points A to Z and anywhere else you need, all at the same time.</p><h3>Kafka Architectural Components</h3><p>Kafka components include : Broker, Zookeeper, Producer and Consumers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*uuf14Dth23heau8_NdSRcQ.png" /><figcaption>Kafka Architectural Components</figcaption></figure><p><strong>Kafka Broker:</strong> From a physical infrastructure standpoint, <a href="https://www.confluent.io/what-is-apache-kafka/">Apache Kafka</a> is composed of a network of machines called brokers, each running Kafka Broker Process. Each broker hosts some set of partitions and handles incoming requests to write new events to those partitions or read events from them.</p><p><strong>Zookeeper:</strong> Primarily used to track the status of nodes in the Kafka cluster and maintain a list of Kafka topics and messages.</p><p><strong>Producers:</strong> A producer is the one which publishes or writes data to the topics within different partitions.</p><p><strong>Consumers:</strong> A consumer is the one that consumes or reads data from the Kafka cluster via a topic.</p><h3>How it works?</h3><p>Kafka is a distributed system consisting of <strong>servers</strong> and <strong>clients</strong> that communicate via a high-performance <a href="https://kafka.apache.org/protocol.html">TCP network protocol</a>. It can be deployed on bare-metal hardware, virtual machines, and containers in on-premise as well as cloud environments.</p><p><strong>Kafka is run as a cluster</strong> <strong>of one or more servers that can span multiple data centers or cloud regions.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*QwZ9HUuddIhWqq5-8EMKdA.png" /><figcaption>Source — <a href="https://developer.confluent.io/learn-kafka/kafka-connect/intro/">https://developer.confluent.io/learn-kafka/kafka-connect/intro/</a></figcaption></figure><p>Some of these servers form the storage layer, called the <strong>brokers</strong>. Which basically stores the topics. With Kafka, messages are published onto <em>topics</em>. These <strong>topics are like never-ending log files</strong>. Producers put their messages onto a topic. Consumers drop in at any time, receive messages from the topic, and can even rewind and replay old messages.</p><p><strong>Messages are only deleted from a topic when you want them to be deleted</strong>. <strong>You can even run a Kafka broker that keeps every message ever</strong> (set <em>log retention</em> to “forever”), and Kafka will never delete anything.</p><p>One of the best things about <strong>Kafka</strong> is that it <strong>can replicate messages between brokers in the cluster</strong>. So consumers can keep receiving messages, even if a broker crashes.</p><p>Other servers run <a href="https://kafka.apache.org/documentation/#connect"><strong>Kafka Connect</strong></a> to continuously import and export data as event streams to integrate Kafka with your existing systems. <strong>Kafka Connect makes it much easier to connect Kafka to the other systems</strong> in your architecture, without having to write all the glue code yourself.</p><p>If you <strong>don’t have to use Kafka Connect</strong> to integrate Kafka<strong> </strong>with your other apps and databases. You can <strong>write your own code</strong> using the P<strong>roducer and Consumer API</strong>, or use the Streams API.</p><h3><strong>Benefits of using Kafka</strong></h3><ul><li><strong>Kafka is highly scalable.</strong></li><li>I is highly durable.</li><li>Kafka is Highly Reliable.</li><li>Kafka Offers High Performance.</li></ul><h3>How do you use Apache Kafka?</h3><p>You can run your <strong>own cluster of Kafka brokers</strong>, or pay for a <strong>managed Kafka service</strong> from some cloud providers. Consumers can then connect to your cluster of brokers, to publish and consume events.</p><p>Managed Kafka Service from different cloud providers…</p><blockquote><strong>Azure Offering —</strong></blockquote><blockquote>- Kafka on HDInsight (open-source core Kafka)<br>- EventHubs (Microsoft’s very own “Kafka look-alike”)<br>- Confluent Cloud (a vendor-backed Kafka distribution)<br>- Kafka in Azure Kubernetes Service</blockquote><blockquote><strong>AWS offering —</strong></blockquote><blockquote>- Amazon Managed Streaming for Apache Kafka (MSK).</blockquote><h3>Possible use cases</h3><p>Few popular use case where we can prefer Apache Kafka are Messaging, Website Activity Tracking, Metrics, Log Aggregation, Stream Processing,<br>Event Sourcing, Commit Logs etc.</p><ul><li>To process payments and financial transactions in real-time, such as in stock exchanges, banks, and insurances.</li><li>To track and monitor cars, trucks, fleets, and shipments in real-time, such as in logistics and the automotive industry.</li><li>To continuously capture and analyze sensor data from IoT devices or other equipment, such as in factories and wind parks.</li><li>To collect and immediately react to customer interactions and orders, such as in retail, the hotel and travel industry, and mobile applications.</li><li>To monitor patients in hospital care and predict changes in condition to ensure timely treatment in emergencies.</li><li>To connect, store, and make available data produced by different divisions of a company.</li><li>To serve as the foundation for data platforms, event-driven architectures, and microservices.</li></ul><p>Source:</p><ul><li><a href="https://kafka.apache.org/documentation/#ecosystem">Apache Kafka</a></li><li><a href="https://www.tutorialworks.com/kafka-vs-streams-vs-connect/">Kafka, Kafka Streams and Kafka Connect: What&#39;s the difference?</a></li><li><a href="https://blog.knoldus.com/introduction-to-apache-kafka-terminology/">Introduction to Apache Kafka Terminology</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af47c74f97b1" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/distributed-data-streaming-with-apache-kafka-af47c74f97b1">Distributed Data Streaming With Apache Kafka</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5G — High speed, Low latency and Massive capacity to support Digital Transformation]]></title>
            <link>https://medium.com/@sachin.powar/5g-high-speed-low-latency-and-massive-capacity-to-support-digital-transformation-d30e65fa6299?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/d30e65fa6299</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[5g-technology]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Thu, 20 Oct 2022 06:48:05 GMT</pubDate>
            <atom:updated>2022-10-20T06:59:11.504Z</atom:updated>
            <content:encoded><![CDATA[<h3>5G — High speed, Low latency and Massive capacity to support Digital Transformation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UMxdJdIC-n_RbffFinB77w.png" /><figcaption>Source: <a href="https://www.qualcomm.com/content/dam/qcomm-martech/dm-assets/documents/5g_vision_use_cases_presentation.pdf">https://www.qualcomm.com/content/dam/qcomm-martech/dm-assets/documents/5g_vision_use_cases_presentation.pdf</a></figcaption></figure><p>It is one of the fastest, most robust technologies the world has ever seen. That means quicker downloads, much lower lag and a significant impact on how we live, work and play. 5G speed and other connectivity benefits are expected to make businesses more efficient and give consumers access to more information faster than ever before.</p><p>A major transformative change is underway that empowers service providers and enterprises to reshape their business models to launch innovative solutions with 5G connectivity.</p><h3>What are the benefits of 5G?</h3><p>Along with 5G speed, a discussion about the benefits of 5G is really a discussion about delivering life-changing technologies through next-generation networks, and we’ve built it with these capabilities in mind — to do all of the things people will want to do.</p><p>Today, we can experience 5G, which uses low-band spectrum to provide great coverage with performance that can support a range of functions — from distance learning to <a href="https://www.verizon.com/about/news/future-of-5g-and-remote-work">mobile workforce&#39;s</a> — and it’s only getting better over time.</p><p>5G provides game-changing benefits, like speeds up to 10 times faster than median 4G LTE speeds, <a href="https://www.verizon.com/about/news/why-5g-ultra-wideband-faster-and-safer-public-wi-fi">a safer alternative to public Wi-Fi</a>,¹ video chatting with less frozen faces and <a href="https://www.verizon.com/about/news/how-5g-ultra-wideband-can-revolutionize-gaming">console-quality gaming</a> on the go.</p><p>With its high speed, low latency and massive capacity, 5G could make <a href="https://www.verizon.com/about/news/new-technology-fueling-drone-delivery">drone delivery</a>, cloud-connected <a href="https://www.verizon.com/about/news/verizon-5g-ultra-wideband-university-michigan">traffic control</a> and other applications live up to their potential. From <a href="https://www.verizon.com/about/news/public-safety-future-powered-5g">emergency response</a> to <a href="https://www.verizon.com/about/news/verizon-and-mastercard-5g-global-payments">global payments</a> to next-level <a href="https://www.verizon.com/about/our-company/5G/how-5g-will-level-gaming-and-esports">gaming</a> and <a href="https://www.verizon.com/about/news/5g-tech-futuristic-fun">entertainment</a>, the possibilities are virtually limitless.</p><h3>5G, IoT and edge computing</h3><p>With high speed, low latency and massive capacity, 5G, which is available in select areas, will eventually allow more technology than ever before to connect to mobile networks, enabling the Internet of Things on a truly massive scale.</p><p><strong>The total number of connected IoT devices globally was around 13.8 billion in 2021 and 30.9 billion by 2025.</strong> 5G is intended to help meet the staggering demands on network bandwidth.</p><p><strong>Public cloud provides as well support us to deliver ultra low latency applications for 5G devices.</strong></p><p>e.g.</p><ul><li><a href="https://aws.amazon.com/wavelength/">AWS Wavelength</a></li><li><a href="https://azure.microsoft.com/en-us/products/private-5g-core/#overview">Azure Private 5G core</a></li></ul><h3>Key benefits and use cases</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DTDpz8uOJRqkUSIdYn6KMg.png" /><figcaption>Source: <a href="https://www.qualcomm.com/content/dam/qcomm-martech/dm-assets/documents/5g_vision_use_cases_presentation.pdf">https://www.qualcomm.com/content/dam/qcomm-martech/dm-assets/documents/5g_vision_use_cases_presentation.pdf</a></figcaption></figure><p>This allows it to deliver low latency levels through local data processing when combined with application logic in the same location. This provides many valuable benefits:</p><ul><li><strong>Machine to machine automation</strong> — Ultra reliable low latency connectivity (URLLC) for command and control messages from automated systems (like robots or automated guide vehicles). These messages can be processed in real time to prevent stalling, enabling high productivity.</li><li><strong>Massive IoT telemetry</strong> — Secure cloud connectivity for data collection from a large density and volume of IoT sensors and devices. Data for health assessment and automated systems can be processed in real time to prevent accidents and ensure on-site safety.</li><li><strong>Real-time analytics</strong> — Local processing of real-time operational and diagnostics data. For example, live video feeds can be processed at the edge at minimal expense using AI, ensuring vital actions aren’t delayed.</li></ul><p>5G will help to support Industry 4.0 use cases, such as the following:</p><ul><li><strong>Manufacturing</strong> — Production-line analytics and warehouse automation with robots.</li><li><strong>Public safety</strong> — Mobility and connectivity for emergency workers and disaster recovery operatives.</li><li><strong>Energy and utilities</strong> — Backhaul networks for smart meters and network slicing/control.</li><li><strong>Defense</strong> — Connected command posts and battlefield with real-time analytics.</li><li><strong>Smart farms</strong> — Connected equipment for farm operation.</li></ul><p>Source:</p><ul><li><a href="https://www.verizon.com/about/our-company/5g/what-5g">What is 5G? Benefits of 5G Network Technology Explained</a></li><li><a href="https://www.cnet.com/tech/mobile/5g-not-just-speed-fifth-generation-wireless-tech-lets-you-do-vr-self-driving-cars-drones-remote/">Not just speed: 7 incredible things you can do with 5G</a></li><li><a href="https://www.qualcomm.com/5g/what-is-5g">What is 5G | Everything You Need to Know About 5G | 5G FAQ | Qualcomm</a></li><li><a href="https://embeddedcomputing.com/application/networking-5g/5g/how-5g-technology-is-driving-the-digital-transformation">How 5G Technology is Driving the Digital Transformation - Embedded Computing Design</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d30e65fa6299" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NGINX — The web server for modern application needs]]></title>
            <link>https://blog.devgenius.io/nginx-the-web-server-for-modern-application-needs-f6b7a8d45b2f?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6b7a8d45b2f</guid>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[solution-architect]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Thu, 13 Oct 2022 09:27:06 GMT</pubDate>
            <atom:updated>2022-11-10T09:31:55.246Z</atom:updated>
            <content:encoded><![CDATA[<h3>NGINX — The web server for modern application needs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*Rf66wZ8jjkh5rLI9LSqjCw.png" /></figure><p>For most of enterprise server based solutions Apache remains the first choice among the server administrators because of its flexibility, architectural simplicity, power compatibility, and multi-platform support. It can run on almost all operating systems such as Windows, UNIX, OSX, NetWare, etc. But it is commonly used in combination with Linux.</p><p>Apache became the backbone of the WWW (World Wide Web), it was really on the top of the game, but when NGINX comes in the business, the server administrator’s choice was changed.</p><h3><strong>What is NGINX?</strong></h3><p><strong>NGINX</strong> is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers.</p><h3><strong>How it is different?</strong></h3><p>To explain the difference need to compare it, let me try to explain with simple comparison.</p><p>e.g For Apache server by default it is configured in Prefork mode. [<a href="https://httpd.apache.org/docs/2.4/mod/prefork.html#:~:text=Summary,non%2Dthread%2Dsafe%20libraries.">More Details</a>]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*c-RbwRB017jkMTy_yB0Naw.png" /><figcaption>Apache Request process details</figcaption></figure><p>Meaning that it creates a set number of processes, each of which <strong>can serve a single request as a time</strong>. Regardless of whether that request is PHP script or an Image.</p><p>NGINX on the other hand, deals with requests asynchronously. [<a href="https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/">More Details</a>]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*p93gT4TubxMLNt6gisKHvA.png" /><figcaption>NGINX request process details</figcaption></figure><p>Meaning that a <strong>single NGINX process can serve multiple requests</strong> <strong>concurrently</strong>. With that number basically just depending on the system resources available to the NGINX process.</p><p>Because of this asynchronous design, <strong>NGINX unlike Apache can’t embed server side programming languages into it’s processes</strong>. All requests for dynamic content has to dealt with by a completely separate process like FPM and then reverse proxy back to the client via NGINX.</p><p>Since not having to deal directly with embedded programming languages like Apache does, makes <strong>NGINX a lot less resource consumer</strong>. So resource used for server side language processing are being allocated to other processes.</p><p>So for modern application when we have to work with microservices based architecture then NGINX server is quite suitable to host the service which will consume less server resources, cater concurrent requests and faster.</p><p>With appropriate <a href="https://www.nginx.com/blog/tuning-nginx/"><strong>system tuning</strong></a>, NGINX can scale to handle hundreds of thousands of concurrent HTTP connections per worker process, and can absorb traffic spikes (an influx of new games) without missing a beat.</p><h3><strong>Use Cases</strong></h3><p>Though NGINX became famous as the fastest web server, the scalable underlying architecture has proved ideal for <a href="https://www.nginx.com/products/nginx/"><strong>many web tasks beyond serving content</strong></a>. Because it can handle a high volume of connections, NGINX is commonly used as a reverse proxy and <a href="https://www.nginx.com/blog/five-reasons-use-software-load-balancer/"><strong>load balancer</strong></a> to manage incoming traffic and distribute it to slower upstream servers — anything from legacy database servers to microservices.</p><p>NGINX also is frequently placed between clients and a second web server, to serve as an SSL/TLS terminator or web accelerator.</p><ul><li>During cloud migration of on premise application which was already interacting with multiple interfacing applications so it is challenging the provide new connection details to land in Cloud environment. Here we can use NGINX. In On premise we can maintain one NGINX server with old connection details which will upstream received requests towards newly migrated application cloud environment.</li><li>Sometime we have applications which basically interact with other interfacing applications with secure and non secure way. Using NGINX we can add certificate or remove certificates etc.</li><li>Protect upstream application servers from being overwhelmed by too many user requests at the same time (<a href="https://www.nginx.com/blog/mitigating-ddos-attacks-with-nginx-and-nginx-plus/"><strong>protect against DDoS attacks</strong></a>). Rate limiting feature.</li></ul><p><strong>Source:</strong></p><ul><li><a href="https://www.nginx.com/">Advanced Load Balancer, Web Server, &amp; Reverse Proxy - NGINX</a></li><li><a href="https://httpd.apache.org/ABOUT_APACHE.html">About the Apache HTTP Server Project - The Apache HTTP Server Project</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6b7a8d45b2f" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/nginx-the-web-server-for-modern-application-needs-f6b7a8d45b2f">NGINX — The web server for modern application needs</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modernization of an application which uses legacy technology [CORBA]]]></title>
            <link>https://medium.com/@sachin.powar/modernization-of-legacy-technologies-corba-773b5c7fbf9e?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/773b5c7fbf9e</guid>
            <category><![CDATA[modernization]]></category>
            <category><![CDATA[çorba]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Thu, 29 Sep 2022 19:49:53 GMT</pubDate>
            <atom:updated>2022-09-30T12:53:01.468Z</atom:updated>
            <content:encoded><![CDATA[<p>While working with applications which was developed in different technologies like C, C++, JAVA etc in 90’s. There was basically challenge to have communication between application which are independent and developed in different technologies. e.g. If application developed in C++ need to have communication with JAVA application.</p><p>CORBA architecture was used for such solutions.</p><h3>What is Common Object Request Broker (CORBA)?</h3><p>The Common Object Request Broker Architecture (CORBA) is a standard defined by the Object Management Group (OMG) that enables software components written in multiple computer languages and running on multiple computers to work together. In simple term in legacy application if application written in C++ need to communicated with JAVA application then CORBA was the solution.</p><p>CORBA is a standard for distributing objects across networks so that operations on those objects can be called remotely. CORBA is not associated with a particular programming language, and any language with a CORBA binding can be used to call and implement CORBA objects. Objects are described in a syntax called Interface Definition Language (IDL).</p><h3><strong>How CORBA works?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*rBEpGpd3eoK0ekXfqcXMtA.png" /><figcaption>Concept of Client and Server Communication</figcaption></figure><p>If Application A want to connect or share information with application B then it basically creates one common object so that both applications can understand it.</p><p>For enterprise level applications organizations basically go with Orbix, Visi broker, WebSphere etc. for CORBA implementation with it’s licensing and all.</p><h3>Migration or modernization Challenges?</h3><ul><li>In legacy deployments data we are transporting is not aligned with latest encryption standards.</li><li>When we think about the modernization of the application we think about the cost. Licensing cost of different CORBA brokers is very high.</li><li>Challenge to connect connect with other application which are not using CORBA for communication.</li><li>Interconnectivity with multiple interfacing applications with different versions.</li></ul><h3>Solutions:</h3><p>Solution is basically depends on, the size, complexity and list of interfacing applications.</p><ul><li>If size is small we can develop it with latest technologies like <strong>REST API’s</strong> etc using latest development tools. [Re-Development — Need to consider about the development cost and other factors]</li><li>If redevelopment of an application is very complex. We can use open source ORB solutions e.g <strong>OpenFusion JacORB</strong> to save the high license cost. In this case we can go ahead with legacy application as is with minor code corrections. [This again need development efforts]</li><li>We can use any vendor [IBM, Micro Focus] licensed ORB solution.</li></ul><p>Source:</p><ul><li><a href="https://www.ibm.com/docs/en/integration-bus/9.0.0?topic=corba-common-object-request-broker-architecture">Common Object Request Broker Architecture (CORBA)</a></li><li><a href="https://www.microfocus.com/en-us/products/orbix/overview">Orbix | Micro Focus</a></li><li><a href="https://www.microfocus.com/en-us/products/openfusion-jacorb/overview">OpenFusion JacORB | Open Source Orb &amp; CORBA | Micro Focus</a></li><li><a href="https://www.microfocus.com/en-us/products/visibroker/overview">VisiBroker | Micro Focus</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=773b5c7fbf9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RabbitMQ, Kafka or Redis? — Modernized application communication]]></title>
            <link>https://medium.com/@sachin.powar/rabbitmq-kafka-or-redis-modernized-application-communication-21df0605b4d7?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/21df0605b4d7</guid>
            <category><![CDATA[rabbitmq]]></category>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[solutions]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Thu, 22 Sep 2022 17:38:53 GMT</pubDate>
            <atom:updated>2022-09-22T17:42:28.835Z</atom:updated>
            <content:encoded><![CDATA[<h3>RabbitMQ, Kafka or Redis? — Modernized application communication</h3><p>While designing modern applications there are many factors that we have to consider.</p><ul><li>We need technologically independent application.</li><li>Time to market need to be short</li><li>Easy to manage and maintain the deliveries</li><li>Need to scale in and scale out as per business needs.</li><li>Most important is cost effective :) Need to improve cost efficiency with resource utilization.</li></ul><p>So as we know use of microservices is the suitable available option. While using microservices it is very important to think about the communication. How these services will communicate with each other to solve required business purpose. It again depends on the what case study we are working with, based on need to decide about what type of communication we want to use. Is it synchronous or asynchronous?</p><h3>What is Synchronous and Asynchronous communication?</h3><p>In Synchronous communication — calling function or service will wait for the response and then will go for the next call. Typical REST calls are of this type.</p><p>In Asynchronous communication — calling function or service not have to wait for the response. So it is very independent and loosely coupled way of working or processing the information.</p><h3>What are the possible ways to do Asynchronous communication?</h3><p>When we think about asynchronous communication we see that we have to call or send message that’s it. We need mechanism to send message and also have to ensure that other services are reading it.</p><blockquote>One-to-one</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*rshfAG9h7d6soXlC34MICA.png" /><figcaption>One-to-one communication</figcaption></figure><p>Application send message in queue and receiver application will check the message in queue and perform it’s next actions.</p><blockquote>One-to-many</blockquote><p>with this type of communication there is one sender who will send message and multiple applications at receivers end who will act on message received in queue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*qTNQKVp434PbeYfXw5sRDQ.png" /><figcaption>One-to-many communication</figcaption></figure><p>As we can see in decentralize way of communication how systems communicates with each other with help of message queues. Now complexity of the application is depends upon what is the level of message processing the specific system have requirement. How many messages system have to process per second.</p><p>e.g.</p><p>We are collecting information from IoT devices which is million of records have to process per second.</p><p>We have systems where we must have to ensure that message what I sent is delivered well to the destination or not.</p><p>This increased of data processing needs support of scalable infrastructure, need reliable tools. In this case we have to work with message broker technologies.</p><h3>Different Message Broker technologies</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*hyoJw_Q68Gs6xRGtY5AweQ.png" /></figure><p>Asynchronous communication is generally managed by a broker. Here are a few factors that you should take into account when you’re picking a broker for your asynchronous operations:</p><ul><li>Broker Scale — The number of messages sent every second in the system.</li><li>Data Persistency — The capability of recovering messages.</li><li>One-to-one vs one-to-many — The broker’s capability to manage one-to-one and/or one-to-many consumers.</li></ul><p>Below mentioned is summary of decision factors to select correct message broker suitable for your use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*ysIi7u-lMJah36wG5vcNrw.png" /></figure><p>Source:</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21df0605b4d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Native Applications  — Communication considerations]]></title>
            <link>https://medium.com/@sachin.powar/cloud-native-applications-communication-considerations-c4d7914d52c9?source=rss-b677f53a9445------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4d7914d52c9</guid>
            <category><![CDATA[microservice-architecture]]></category>
            <category><![CDATA[azure-application-gateway]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[cloud-native-application]]></category>
            <dc:creator><![CDATA[Sachin Powar]]></dc:creator>
            <pubDate>Thu, 08 Sep 2022 07:12:39 GMT</pubDate>
            <atom:updated>2022-09-08T07:15:22.755Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cloud Native Applications — Communication considerations</h3><p>While thinking of modern application solutions we think about decoupled code to manage, maintain and execute independently. For cloud native application design decision related to communication is very important.</p><p>How front end app will communicate with Microservices?</p><p>How Microservices will communicate with each others?</p><p>What all best practices we have to follow while designing cloud native applications?</p><p>let’s check…</p><p>In a <strong>monolithic application</strong>, communication is straightforward. The code modules execute together in the same executable space (process) on a server. This approach can have performance advantages as everything runs together in shared memory, but results in tightly coupled code that becomes difficult to maintain, evolve, and scale.</p><p><strong>Cloud-native systems</strong> implement a microservice-based architecture with many small, independent microservices. Each microservice executes in a separate process and typically runs inside a container that is deployed to a <em>cluster</em>.</p><p>Microservices are deployed and managed with help of AKS cluster. Which basically contains group of virtual machines to have highly available environment. It’s fully managed service from Azure.</p><p>Across the cluster, microservices communicate with each other through APIs and messaging technologies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*ACODQfrQtsQyFIwh_axm9Q.png" /><figcaption>AKS with Nodes and Microservices</figcaption></figure><p>Across the cluster, microservices communicate with each other through APIs and messaging technologies.</p><p>Multiple microservices and it’s communication with other microservices adds more complexity in our system:</p><ul><li>Network congestion, latency, and transient faults are a constant concern.</li><li>Resiliency (that is, retrying failed requests) is essential.</li><li>Some calls must be <a href="https://www.restapitutorial.com/lessons/idempotency.html">idempotent</a> as to keep consistent state.</li><li>Each microservice must authenticate and authorize calls.</li><li>Each message must be serialized and then deserialized — which can be expensive.</li><li>Message encryption/decryption becomes important.</li></ul><p>So let’s check the implementation options available in Azure cloud for Microservices application.</p><p><strong>How frontend application will communicate with Microservices?</strong></p><p>In a cloud-native system, front-end clients (mobile, web, and desktop applications) require a communication channel to interact with independent back-end microservices.</p><p>What all possibilities we have to do this communication?</p><blockquote>Front end client can directly communicate with backend microservice.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*e69Sp_xrfrYpJGt0gwCOqg.png" /></figure><p>This is very easy to implement and allow our microservices to access with public end points. Have below mentioned concerns.</p><ul><li>Client susceptibility to back-end service refactoring.</li><li>A wider attack surface as core back-end services are directly exposed.</li><li>Duplication of cross-cutting concerns across each microservice.</li><li>Overly complex client code — clients must keep track of multiple endpoints and handle failures in a resilient way.</li></ul><blockquote>API gateway service</blockquote><p>It is widely accepted cloud design pattern to have communication between Client and Microservices. API service will be in between the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*eXijTDzXjWjctkpKNy9eJA.png" /></figure><p>The <strong>API Gateway service abstracts</strong> the <strong>back-end</strong> core microservices. Implemented as a web API, it acts as a <em>reverse proxy</em>, routing incoming traffic to the internal microservices. We have to make sure that API service is simple and fast. A complex gateway risks becoming a bottleneck and eventually a monolith itself.</p><p>To start you can build your own API gateway service.</p><p>For <strong>enterprise cloud-native applications</strong>, there are several <strong>managed Azure services</strong> that can help jump-start your efforts.</p><ul><li><strong>Azure Application Gateway</strong></li></ul><p>For simple gateway requirements, you may consider <a href="https://docs.microsoft.com/en-us/azure/application-gateway/overview">Azure Application Gateway</a>. Available as an Azure PaaS Service, it includes basic gateway features such as URL routing, SSL termination, and a Web Application Firewall (WAF). The service supports application layer load balancing capabilities.</p><ul><li><strong>Azure API Management</strong></li></ul><p>For moderate to large-scale cloud-native systems, you may consider <a href="https://azure.microsoft.com/services/api-management/">Azure API Management</a>. It’s a cloud-based service that not only solves your API Gateway needs, but provides a full-featured developer and administrative experience.</p><ul><li><strong>Azure SignalR Service</strong></li></ul><p>It is a fully managed Azure service that simplifies real-time communication for your cloud-native applications. Azure SignalR Service closely integrates with other Azure services, such as Azure SQL Database, Service Bus, or Redis Cache, opening up many possibilities for your cloud-native applications.</p><p>Source: <a href="https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/">Docs.Microsoft.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4d7914d52c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>