Microservices
In this article we read about microservices and its structure. Currently. microservices is an architecture highly used for many enterprises because it can be adapted in different context. For example, the microservice architecture can be written in different programming languages and used different data storage technologies. This behavior allow us to create little components that generate a complete platform.
GIF taken of Google
The microservice architecture have been comparable to the monolithic style. Both can be implemented as a single unit with three essential structures.
- Client-side. Shows all the views that generally consist of HTML and JS running in the browser (user interface).
- Database.
- Server-side application which is a monolith-single logical executable. The parts that the server handles are:
- HTTP request.
- Domain logic.
- Updates and retrieves data from DB.
- Select and populate HTML views.
However the microservice architecture changes in some particular aspect. While the monolithic app puts all its functionality into a single process, the microservices architecture puts each element of functionality into a separate service.
It is important to highlight that the organization also changes. The teams are called cross-functional because they should be organized around their capabilities. There is a particular law that the whole team can be fed by two pizzas. The main advantage of this is that the teams concentrate in one only product over its full time. In this way the developers know how the product behaves in production and increases contact with their users.
The microservices architecture has revolutionized the way that companies create software. As a result of these implementations, there is an automated infrastructure, decentralized data management, persistence, among other things that have allowed this architecture to grow among companies and developers.
On the other hand, there are still different architectures that are perfectly adapted to your needs. You should not only have an architecture as the only option just because you have seen great success with it. It is also important to inform yourself and find an appropriate solution to the need.
Fowler, M. (2014, March). Microservices Retrieved from https://martinfowler.com/articles/microservices.html
Fowler, M. (2014, March). Microservices Retrieved from https://martinfowler.com/articles/microservices.html
GIF taken of Google
Comentarios
Publicar un comentario