Microservices

The article by James Lewis and Martin Fowler talks about Microservices. This concept is described as an architectural style whose approach to develop an application as a set of small services. The difference is that the monolithic application is all developed in one piece.

I think it is a good idea, because applications that are built in one piece requires a lot of time for maintenance and makes complicated debugging, which could delay delivery of any project and increase its cost.

The authors mention that the services are divided according to business capabilities, thus also remain the boundaries between the different teams. Also, microservices behave independently within our application, so if we require any change in this service, others will not be affected.

The idea of separating different components in an application is not new, however, microservices (so I understand) have a number of features that make them a more viable option for a project.

Despite there are many multinational companies using this approach has not yet been enough time to issue a value judgment. However I think this type of architecture can have many more advantages than just divide into components. It is much more sophisticated and useful for large projects. Such applications are designed to be fault tolerant, so they are more reliable.

In conclusion, Microservice architecture uses services to componentize and is usually organized around business capabilities; focuses on products instead of projects; has smart end points but not-so-smart info flow mechanisms; uses decentralized governance as well as decentralized data management; is designed to accommodate service interruptions; and, last but not least, is an evolutionary model.

As well as any new technology, this architecture requires a skillful team able to face the complexity of the network that is created between the microservices.

The 4+1 View Model

So oft in methodological wars,
The disputants, I ween,
Rail on in utter ignorance
Of what each other mean,
And prate about an Enterprise
Not one of them has seen.

This week I had the opportunity to watch two videos and read an article, the latter explained by analogy the relationship between the first two videos. I will begin by explaining briefly each of the videos and then I will comment the article and its relationship with the software architecture.

The first video titled "Six Blind Men" is based on the popular folklore story of India, which talks about how a group of people can have different views about something or a particular situation.

After, the second video "4+1 View into Software Architecture" talks about this model view, which aims to see the system from the point of view of all stakeholders, thus we have 4 models that represent the Logical View, Development View, Process View and Physical View. Each view includes a series of UML diagrams that facilitate the graphical explanation of the system. Among the stakeholders we have the end users, programmers, systems engineers and the project manager.
It is at this point where we wonder what means +1 in the model name, the +1 illustrates how the system behaves under different scenarios, ie, it describes the interaction of objects and processes with each other and with the end user. For practical purposes, it can be used as a prototype test in order to verify the consistency of the system.

The most interesting comes with the article, which was published in 2010 and was written by Grady Booch, the author mixes the popular story of India with the model view used in software architecture.
I really liked the article because we must be aware that each of the stakeholders of the project will see the system from different angles and therefore, the architect must be able to meet the needs of each and build a model that allows you to display the system completely.

Although it reads easy, I think that the architect should try to empathize with the stakeholders to correctly understand customer requirements and in turn, the developers are be able to capture the customer's idea and finally the system can be used without problems.

References

Grady Booch, "The Elephant and the Blind Programmers", IEEE Software, vol.27, no. 6, pp. 88, 87, November/December 2010, doi:10.1109/MS.2010.149

 
Software Design and Architecture Blog Design by Ipietoon