<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shivam K, Author at Artificial Intelligence</title>
	<atom:link href="https://www.aiuniverse.xyz/author/shivu2022/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.aiuniverse.xyz/author/shivu2022/</link>
	<description>Exploring the universe of Intelligence</description>
	<lastBuildDate>Tue, 03 Jan 2023 16:56:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>What is the top 10 advantage of Microservices Architecture?</title>
		<link>https://www.aiuniverse.xyz/what-is-the-top-10-advantage-of-microservices-architecture/</link>
					<comments>https://www.aiuniverse.xyz/what-is-the-top-10-advantage-of-microservices-architecture/#respond</comments>
		
		<dc:creator><![CDATA[Shivam K]]></dc:creator>
		<pubDate>Tue, 03 Jan 2023 16:56:19 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.aiuniverse.xyz/?p=16180</guid>

					<description><![CDATA[<p>The post <a href="https://www.aiuniverse.xyz/what-is-the-top-10-advantage-of-microservices-architecture/">What is the top 10 advantage of Microservices Architecture?</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<ul class="wp-block-list">
<li>Microservices are self-contained, independent deployment module.</li>



<li>Microservices are independently manageable services. It can enable more and more services as the need arises. It minimizes the impact on existing service.</li>



<li>It is possible to change or upgrade each service individually rather than upgrading in the entire application.</li>



<li>Microservices allows us to develop an application which is organic (an application which latterly upgrades by adding more functions or modules) in nature.</li>



<li>It enables event streaming technology to enable easy integration in comparison to heavyweight interposes communication.</li>



<li>Microservices follows the single responsibility principle.</li>



<li>The demanding service can be deployed on multiple servers to enhance performance.</li>



<li>Less dependency and easy to test.</li>



<li>Dynamic scaling.</li>



<li>Faster release cycle.</li>
</ul>
<p>The post <a href="https://www.aiuniverse.xyz/what-is-the-top-10-advantage-of-microservices-architecture/">What is the top 10 advantage of Microservices Architecture?</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiuniverse.xyz/what-is-the-top-10-advantage-of-microservices-architecture/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 10 Checklist for Microservices design.</title>
		<link>https://www.aiuniverse.xyz/top-10-checklist-for-microservices-design/</link>
					<comments>https://www.aiuniverse.xyz/top-10-checklist-for-microservices-design/#respond</comments>
		
		<dc:creator><![CDATA[Shivam K]]></dc:creator>
		<pubDate>Tue, 03 Jan 2023 16:31:32 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Microservices]]></category>
		<guid isPermaLink="false">https://www.aiuniverse.xyz/?p=16167</guid>

					<description><![CDATA[<p>Aggregator Aggregator is a basic web page which invokes various services to get the required information or achieve the required functionality.  The Aggregate Design Pattern is based <a class="read-more-link" href="https://www.aiuniverse.xyz/top-10-checklist-for-microservices-design/">Read More</a></p>
<p>The post <a href="https://www.aiuniverse.xyz/top-10-checklist-for-microservices-design/">Top 10 Checklist for Microservices design.</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<ul class="wp-block-list">
<li>Aggregator</li>



<li>API Gateway</li>



<li>Chained or Chain of Responsibility</li>



<li>Asynchronous Messaging</li>



<li>Database or Shared Data</li>



<li>Event Sourcing</li>



<li>Branch</li>



<li>Command Query Responsibility Segregator</li>



<li>Circuit Breaker</li>



<li>Decomposition</li>
</ul>



<h2 class="wp-block-heading">Aggregator</h2>



<p class="wp-block-paragraph"> Aggregator is a basic web page which invokes various services to get the required information or achieve the required functionality. </p>



<p class="wp-block-paragraph">The Aggregate Design Pattern is based on the DRY principle. Based on this principle, you can abstract the logic into a composite microservices and aggregate that particular business logic into one service. </p>



<p class="wp-block-paragraph">So, for example, if you consider two services: Service A and B, then you can individually scale these services simultaneously by providing the data to the composite microservice.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="787" height="239" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-221.png" alt="" class="wp-image-16168" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-221.png 787w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-221-300x91.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-221-768x233.png 768w" sizes="(max-width: 787px) 100vw, 787px" /></figure>



<h2 class="wp-block-heading">API Gateway</h2>



<p class="wp-block-paragraph">API Gateway also acts as the entry point for all the microservices and creates fine-grained APIs’ for different types of clients.</p>



<p class="wp-block-paragraph">With the help of the API Gateway design pattern, the API gateways can convert the protocol request from one type to other. Similarly, it can also offload the authentication/authorization responsibility of the microservice.</p>



<p class="wp-block-paragraph">So, once the client sends a request, these requests are passed to the API Gateway which acts as an entry point to forward the clients’ requests to the appropriate microservices. Then, with the help of the load balancer, the load of the request is handled and the request is sent to the respective services.</p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-222.png" alt="" class="wp-image-16170" width="905" height="249" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-222.png 763w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-222-300x83.png 300w" sizes="(max-width: 905px) 100vw, 905px" /></figure>



<h2 class="wp-block-heading">Chained or Chain of Responsibility</h2>



<p class="wp-block-paragraph">Chained or Chain of Responsibility Design Patterns produces a single output which is a combination of multiple chained outputs. So, if you have three services lined up in a chain, then, the request from the client is first received by Service A. Then, this service communicates with the next Service B and collects data. Finally, the second service communicates with the third service to generate the consolidated output.</p>



<p class="wp-block-paragraph"><em>One more important aspect which you need to understand, is that the request from Service A to Service B may look different from Service B to Service C. Similarly the response from Service C to Service B may look completely different from Service B to Service A.</em></p>



<figure class="wp-block-image size-full"><img decoding="async" width="807" height="198" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-223.png" alt="" class="wp-image-16171" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-223.png 807w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-223-300x74.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-223-768x188.png 768w" sizes="(max-width: 807px) 100vw, 807px" /></figure>



<h2 class="wp-block-heading">Asynchronous Messaging</h2>



<p class="wp-block-paragraph">In this type of microservices design pattern, all the services can communicate with each other, but they do not have to communicate with each other sequentially. So, if you consider 3 services: Service A, Service B, and Service C. The request from the client can be directly sent to the Service C and Service B simultaneously. These requests will be in a queue. Apart from this, the request can also be sent to Service A whose response need not have to be sent to the same service through which request has come.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="800" height="239" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-224.png" alt="" class="wp-image-16172" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-224.png 800w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-224-300x90.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-224-768x229.png 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></figure>



<h2 class="wp-block-heading">Database or Shared Data</h2>



<p class="wp-block-paragraph">For every application, there is humongous amount of data present. So, when we break down an application from its monolithic architecture to microservices, it is very important to note that each microservice has sufficient amount of data to process a request. So, either the system can have a database per each service or it can have shared database per service.  You can use database per service and shared database per service to solve various problems.</p>



<p class="wp-block-paragraph">PROBLEMS ARE:-</p>



<ul class="wp-block-list">
<li>Duplication of data and inconsistency</li>



<li>Different services have different kinds of storage requirements</li>



<li>Few business transactions can query the data, with multiple services</li>



<li>De-normalization of data</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="815" height="317" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-225.png" alt="" class="wp-image-16175" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-225.png 815w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-225-300x117.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-225-768x299.png 768w" sizes="auto, (max-width: 815px) 100vw, 815px" /></figure>



<h2 class="wp-block-heading">Event Sourcing</h2>



<p class="wp-block-paragraph">The event sourcing design pattern creates events regarding the changes in the application state. Also, these events are stored as a sequence of events to help the developers track which change was made when. </p>



<p class="wp-block-paragraph">So, with the help of this, you can always adjust the application state to cope up with the past changes. You can also query these events, for any data change and simultaneously publish these events from the event store. Once the events are published, you can see the changes of the application state on the presentation layer.</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-226.png" alt="" class="wp-image-16174" width="912" height="245" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-226.png 808w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-226-300x81.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-226-768x206.png 768w" sizes="auto, (max-width: 912px) 100vw, 912px" /></figure>



<h2 class="wp-block-heading">Branch</h2>



<p class="wp-block-paragraph">Branch microservice design pattern is a design pattern in which you can simultaneously process the requests and responses from  two or more independent microservices.</p>



<p class="wp-block-paragraph">the request is not passed in a sequence, but the request is passed to two or more mutually exclusive microservices chains. This design pattern extends the Aggregator design pattern and provides the flexibility to produce responses from multiple chains or single chain</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="812" height="294" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-227-1.png" alt="" class="wp-image-16176" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-227-1.png 812w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-227-1-300x109.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-227-1-768x278.png 768w" sizes="auto, (max-width: 812px) 100vw, 812px" /></figure>



<h2 class="wp-block-heading">Command Query Responsibility Segregator</h2>



<p class="wp-block-paragraph">According to this pattern, the application will be divided into two parts: Command and Query. The command part will handle all the requests related to CREATE, UPDATE, DELETE while the query part will take care of the materialized views. The materialized views are updated through a sequence of events which are creating using the event source pattern </p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="803" height="363" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-228.png" alt="" class="wp-image-16177" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-228.png 803w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-228-300x136.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-228-768x347.png 768w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-228-800x363.png 800w" sizes="auto, (max-width: 803px) 100vw, 803px" /></figure>



<h2 class="wp-block-heading">Circuit Breaker</h2>



<p class="wp-block-paragraph">the Circuit Breaker design pattern is used to stop the process of request and response if a service is not working. So, for example, let’s say a client is sending a request to retrieve data from multiple services. But, due to some issues, one of the services is down. Now, there are mainly two problems you will face: </p>



<p class="wp-block-paragraph"><strong>First</strong>, since the client will not have any knowledge about a particular service being down, the request will be continuously sent to that service.</p>



<p class="wp-block-paragraph"><strong>Second</strong> problem is that the network resources will be exhausted with low performance and bad user experience.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="814" height="256" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-229-1.png" alt="" class="wp-image-16178" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-229-1.png 814w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-229-1-300x94.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/01/Screenshot-229-1-768x242.png 768w" sizes="auto, (max-width: 814px) 100vw, 814px" /></figure>



<h2 class="wp-block-heading">Decomposition</h2>



<p class="wp-block-paragraph">With the help of this pattern, either you can decompose an application based on business capability or on based on the sub-domains. For example, if you consider an e-commerce application, then you can have separate services for orders, payment, customers, products if you decompose by business capability.</p>
<p>The post <a href="https://www.aiuniverse.xyz/top-10-checklist-for-microservices-design/">Top 10 Checklist for Microservices design.</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiuniverse.xyz/top-10-checklist-for-microservices-design/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Microservices &#038; Monolithic Architecture?</title>
		<link>https://www.aiuniverse.xyz/what-is-microservices-monolithic-architecture/</link>
					<comments>https://www.aiuniverse.xyz/what-is-microservices-monolithic-architecture/#respond</comments>
		
		<dc:creator><![CDATA[Shivam K]]></dc:creator>
		<pubDate>Mon, 19 Dec 2022 17:51:01 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.aiuniverse.xyz/?p=16162</guid>

					<description><![CDATA[<p>Microservices Architecture Microservices is a service-oriented architecture pattern wherein applications are built as a collection of various smallest independent service units. It is a software engineering approach that focuses on <a class="read-more-link" href="https://www.aiuniverse.xyz/what-is-microservices-monolithic-architecture/">Read More</a></p>
<p>The post <a href="https://www.aiuniverse.xyz/what-is-microservices-monolithic-architecture/">What is Microservices &#038; Monolithic Architecture?</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="581" src="https://www.aiuniverse.xyz/wp-content/uploads/2022/12/micro-vs-monolith-1056x599-1-1024x581.jpg" alt="" class="wp-image-16163" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2022/12/micro-vs-monolith-1056x599-1-1024x581.jpg 1024w, https://www.aiuniverse.xyz/wp-content/uploads/2022/12/micro-vs-monolith-1056x599-1-300x170.jpg 300w, https://www.aiuniverse.xyz/wp-content/uploads/2022/12/micro-vs-monolith-1056x599-1-768x436.jpg 768w, https://www.aiuniverse.xyz/wp-content/uploads/2022/12/micro-vs-monolith-1056x599-1.jpg 1056w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">Microservices Architecture</h2>



<p class="wp-block-paragraph">Microservices is a service-oriented architecture pattern wherein applications are built as a collection of various smallest independent service units. It is a software engineering approach that focuses on decomposing an application into single-function modules with well-defined interfaces. These modules can be independently deployed and operated by small teams that own the entire lifecycle of the service.</p>



<p class="wp-block-paragraph">The term “<strong>micro</strong>” refers to the sizing of a microservice which must be manageable by a single development team ( 5 to 10 developers). In this methodology, big applications are divided into smallest independent units.</p>



<h2 class="wp-block-heading">Monolithic Architecture</h2>



<p class="wp-block-paragraph">Monolithic architecture refers to a single unit. The different components of a monolithic application are combined into a single-tier software application. Usually, a monolithic application consists of a database, server-side, and client-side application. All the application’s parts are unified and all its functions are managed in one place.</p>
<p>The post <a href="https://www.aiuniverse.xyz/what-is-microservices-monolithic-architecture/">What is Microservices &#038; Monolithic Architecture?</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiuniverse.xyz/what-is-microservices-monolithic-architecture/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
