The different variants of microservices

Published on

September 28, 2021

Reading time



#Architecture #Blogartikel #Blogreihe Microservices #Microservice #Technologie

There are three options for microservices.



Today, it is no secret that microservices are a one-stop solution for elaborating software. With a list of common microservice design patterns, professionals can create arriviste services. To get a deeper understanding of their application, we describe three major options of the method. 

1. stateless microservices

As the name suggests, stateless microservices are a request that a client sends to a server to get a response that corresponds to a particular state. Here, there is no need to maintain session state between requests. A fitting example of stateless microservices is that removing one of the instances from the service does not affect the entire processing logic. 

2. stateful microservices 

Stateful microservices maintain the state of service requests as they interact with each other. A common case of stateful microservices is when a client sends a request to a server, hoping for a response. It resends the request when there is no response from the server. Although this is the best choice in most cases, the service design is comparatively difficult to implement. 

3. autonomous microservices 

A third approach is autonomous systems (SCS). Each SCS is a web application in its own right. Users can replicate data or call logic to another SCS. This approach focuses on integrating web content. In the simplest case, this is links to another SCS, but developers can also include HTML snippets from other SCSs. 
SCSs are typically the responsibility of one team and can be split internally into multiple microservices. Since the focus is on integrating web interfaces, this area should be the focus when using SCS. 


The main advantages of choosing stateless microservices are fault tolerance, ease and management and maintenance, flexibility, and the ability to create a seamless and consistent user experience. With all these advantages, stateless microservices infrastructure is widely used in distributed systems. 
The main advantage of microservices in the stateful category is that they add significant value to end users. Here, it is best if a task group is combined into one step or if the task group is part of a transaction. 
SCS can also be a good approach outside of microservices to coordinate the work of multiple teams when developing portals.

Overview of the entire blog series on microservices

Our blog

Related articles




just make it simple

Veljka Dugoševića 54 11050 Beograd Serbia

Mon - Fri 8:30 - 17:00

Copyright © 2024 asioso. All Rights Reserved.