Blog Posts Business Management

Microservices Availability: Microservices Architecture Resilient Against Failures

Blog: NASSCOM Official Blog

One of the biggest concerns with distributed systems is fault tolerance. A lot of development as well as testing time is spent over exception handling and regression. Microservices Architecture is essential for failure handling in the times when application complexity is on rage. So, how exactly does microservices based systems handle failure? What are the principles that guide it? Most importantly, what measure do the organizations need to take so that these principles are practically met for a  scaling customer base.  Let us have a look.


A Resilient Architecture

Resilience is a key governing principle of the microservice architecture. In general terms, it states that the microservice, at any time, should be available for function even if there’s a failure. Practically, this is achieved by restarting the replica of the failed microservices on another machine, hence maintaining the availability undisturbed. Furthermore, the state of the failed microservice is saved to be retrieved later. Therefore, resiliency and availability ensure data consistency and fail-fast mechanism. However, with the increasing complexity of the applications, the availability of microservices might face some challenges like the applications upgrade, for instance. Here the dilemma for the deploying microservices is whether to upgrade to a newer version or roll back to an older one. There need to be enough machines for the app to run uninterrupted during the update. Additionally, a constant monitoring of microservices health is required to make timely decisions in this regard. 

Here are some tips to maintain the resilience and availability of microservices for a fail-proof architecture:






The robustness of the microservices architecture is also a result of its resilience and availability. As the customers scale for the organizations, mere multiplication of microservice instances won’t work. There need to be provisions in place to deal with the unpredicted failures. A little proactiveness and experience on the part of the organization can help their applications to fully enjoy the benefits of this architecture while also avoiding certain pitfalls.

The post Microservices Availability: Microservices Architecture Resilient Against Failures appeared first on NASSCOM Community |The Official Community of Indian IT Industry.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples