History of Micro Services

Ishan Liyanage
4 min readApr 18, 2021

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.

  1. Monolith
  2. SOA (Service Oriented Architecture)

Monolith

Standalone 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

  1. Easier to design

--

--

Ishan Liyanage

Passionate Technical Lead, Senior Software Developer and free and open source software advocate. Based in Singapore.