Micro Services - Understanding finishing

definition

Micro service is to a single application consisting of small service , they own their own itinerary and lightweight handling, according to service business functions designed to fully automated way to deploy, use HTTP API to communicate with other services.
At the same time the service will be centrally managed using the smallest size (for example, Docker) capabilities, the service can be implemented in different programming languages and database components.

The core idea

It is to allow service access method used by Unix-like pipes, and complex behind the service is simple to use URI to open interface, any service, any fines can be developed.

database

Micro-planning service concept in several ways a database.

Each service will have a database, the same service attributes can share the same database.
All services share the same database but different tables, and no cross-domain access.
Each service has its own database, even if the service is the same attributes, database and will not be shared.

content

A micro-service architecture application has the following features:

  1. Each service can easily be replaced
  2. Service is the ability to organize, such as user interface, front-end, recommendation systems, billing or logistics
  3. Since the function split into multiple services, therefore, the database realized by different programming languages
  4. Instead of a hierarchical architecture is symmetrical (that is, the relationship between consumers and producers)

Guess you like

Origin blog.csdn.net/shaoye_csdn1/article/details/93594676