Traditional Culture Encyclopedia - Traditional festivals - What is microservice architecture?
What is microservice architecture?
Micro-service refers to the development of a single small service with business functions. Each service has its own processing and lightweight communication mechanism, which can be deployed on one or more servers.
Micro-service also refers to loosely coupled service-oriented architecture with certain bounded context. That is to say, if each service is to be modified at the same time, then they are not micro-services, because they are tightly coupled; If you need to master the usage conditions of a service with too many scenarios, then it is a service with contextual boundaries.
Advantages of microservice architecture:
Each microservice is small, so it can focus on specific business functions or business requirements.
Microservices can be developed by a small team consisting of 2 to 5 developers.
Microservices are loosely coupled functional services, which are independent in development and deployment stages.
Microservices can be developed in different languages.
Microservices are easy for developers to understand, modify and maintain, so small teams can pay more attention to their work. You don't need cooperation to show value.
Microservices allow you to take advantage of the latest technology.
Microservices are just the code of business logic, and will not be mixed with HTML, CSS or other interface components.
Disadvantages of microservice architecture:
Microservice architecture may bring too many operations.
DevOps skills are required (http://en.wikipedia.org/wiki/devops).
Maybe I will redouble my efforts.
Distributed systems can be complex and difficult to manage.
Because it is difficult to track distributed deployments.
When the number of services increases, the management complexity will also increase.
What kind of situation is microservice suitable for?
When you need to support desktop, web, mobile smart TV and wearable, you can.
Even an environment that may not be known in the future but needs support.
- Related articles
- The highest accuracy of aerial triangulation is
- Braised pork with plum vegetables
- There are several stewing methods for stewed pig's feet soup
- What is the status of China's water resources
- What aspects does innovation include?
- How about JD.COM Household Appliances Store?
- Cultural Connotation of Chinese Nation Reflected by Color Words: A Comparative Study of Cultural Connotation of Chinese and English Color Words "Green"
- What are the customs of the winter solstice festival?
- "Sky-high Moon Cake" costs 499 yuan, and the freight is 600 yuan. What changes will be brought about by curbing high-priced moon cakes?
- Visit Lingnan Garden and Residential Exhibition Hall, and talk about my Changan CS75.