Microservices Architecture
Table of Content:
How Does it Really Work?
Microservices are considered as the building blocks of modern applications. You will agree after watching this video.
3C's of Microservices
The three golden rules of Microservices include:
ComponentizeCollaborateConnect
You will learn more about them in detail in the next few cards.
3C's - Componentize
Componentization of single application into multiple serviceable components is the most important activity. Best would be to start by defining a RESTful API to access this service, then plan and create an implementation using comfortable development language and platform.
3C's- Collaborate
Communication among bigger teams becomes complex, which results in numerous mistakes and curbing the speed of development.
Collaboration among teams focuses around API contracts and Technology standardization.
3C's- Connect
The final delivery of an application requires more than the development of the constituent components.
These components must be connected, presentation layer and additional services must be layered in, then the completed application must be delivered to users. Given that microservices must communicate using APIs.
Microservice Architecture
Now, let us go a little further and start learning about a core concept - "Microservice Architecture."
Microservice vs SOA
Think, by now you must be having a fair idea about Microservices and how they operate. Before we go further, the most important question that would be hanging around is - What is the difference between SOA and Microservices? Are they not same?
Hang-on, we will get that quickly clarified in this video!
Patterns of Microservice Architecture
Having studied at a high level about the Microservice architecture, let us discuss the different patterns in detail!