Microservices Architecture

Pamal Jayawickrama
2 min readMar 29, 2021

--

In short, the microservices architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanism, often an HTTP resource API

Important of Microservices Architecture

  • Small well chosen deployable units
  • RESTful web services
  • Cloud enabled

In here cloud enabled mean that in one big monolith we are build many microservices.so we can enabled multiple instance for each microservices. Look at the picture given bellow.

Cloud enabled mean if more load on microservice3 , I should able to easily bring up another instance of microservice3. This should not involve a lot of configurations. I should able to bring up an instance of microservice3 or take down instance of microservice3 with out huge problem. That what I mean cloud enabled.

Advantages of Microservices

  • It enable you to adapt new technologies and process very easily

when we build application as combination of microservices which can communicate with each other using simple messages. Each can build on different technologies

  • Dynamic scaling

consider online application like Amazon, It has no same amount of load or traffic among users through out the year. In holydays, load on the application is very high so if your microservices are cloud enabled they can scale dynamically and you can procure hardware and release it dynamically as well. Simply scale up and down your application based on the load.

  • Faster release cycle

It mans that you can bring new features faster to the market. This is the biggest advantage when we consider about microservices.

Microservices are not come for free. There are lot of challenges in microservices. Docker place a crucial role in solving a number of those challenges.

--

--