DEV Community

José Thomaz
José Thomaz

Posted on

What are microservices? A quick definition


Microservices are an innovative type of software architecture, which consists of building applications breaking them down into independent services. These services communicate with each other using APIs and provide great agility in development times.


How a microservice should be?

According to many autors, there are 8 main requirements that every microservice should fit in, namely:

  1. Stable
  2. Reliable
  3. Scalable
  4. Fault Tolerant
  5. High performance
  6. Monitored
  7. Documented
  8. Prepared for any catastrophe

Before sending the microservices to production, a detailed check must be made on each of the above requirements, scoring them, and after that, defining whether they are ready or not to be sent to the production environment.


What problems microservices are expected to solve?

The concept of microservices architecture is not new, it derives from distributed systems, a topic that has been around since the beginning of the second half of the 20th century. However, its massive implementation is recent, in recent years, many big techs migrated to the microservices architecture, because their old monolithic systems, were no longer handling the extremely high volume of data and requests.

The goal of microservices architecture is to build a set of small applications, each responsible for performing a function, and allow each microservice to be autonomous, independent and self-sufficient.

Top comments (0)