What are microservices

The following are my own understandings of the topic


 Microservices are like small functionality of a program.

Examples of microservices are "User registration", "Movie ticket", "Seat booking in theatre". 

The advantages of microservices are: 

- Development process made easy. For example, deploying, testing and reusing of code. Also requires less development time


The disadvantages of microservices are:
- Impacts performance. For example, latency when heavy use, extra communication between services.

- Requires additional work to deploy. Because the microservices need additional management, control and security needs. Also requires complex testing.


To describe metaphorically :

Think of a team of people who are doing the same work, if you want to change the design of the work, you would need to inform everyone and everyone would need to change the design. If you distribute the work to different people, then you can just order the person who is responsible for that particular work to change the design. So you do not need to get everyone involved.







For my own reference.

The pattern here is:
- When development is made easy, additional management is required when you deploy the application. 


Comments

Popular posts from this blog

Support for the experimental syntax 'decorators' isn't currently enabled (5:3):

How to add environment variables into Heroku container

Running CQL scripts in Cassandra