History of Micro Services
I will be writing few articles on Micro Services. However I would like to highlight few points on why we needed Micro Services and bit of history about it.
In order to truly understand where did the micro services come from, we must first understand what was before them and why it did not work.
Micro Services are a result of problems with two architecture paradigms.
- Monolith
- SOA (Service Oriented Architecture)
Monolith
This is the original architecture. The ancestor of all other architectures we have today. Monolith is not necessary a bad thing. Some scenarios are best suited for monolith architecture. There is no reason what so ever not to use it in such scenarios.
In monolith architecture, all the software components are running in a single process. All the components share the same threads, memory and compute power. Its basically a huge chunk or code running happily alone. Also there can be strong coupling between classes.
Advantages of Monolith architecture
- Easier to design