Integrate spring Cloud cloud service Architecture common-service Code Structure analysis

Source: Internet
Author: User

The current distributed micro-service cloud architecture platform is built using MAVEN, so Common-service's generic service builds separate system services according to Maven, with the following structure:

650) this.width=650; "height=" 274 "src=" https://static.oschina.net/uploads/space/2017/1008/232457_Q1wq_3613013. PNG "width=" 489 "style=" Border:none;margin:auto;height:auto; "/>

Particle-commonservice:spring Cloud system service root project, the root dependency of all service projects.

Particle-commonservice-admin:spring Cloud/boot's micro-service management and monitoring platform (which integrates many Component Services projects)

PARTICLE-COMMONSERVICE-APIGATEWAY:API Gateway Generic Service project, all requests will go through this gateway first. A bit similar to the front-end controller mode, also somewhat similar to facade mode. Since all requests go through this API gateway, you can do the power limit control, security, load balancing, request distribution, monitoring and so on.

Particle-commonservice-cache: Provide service project for distributed cache, package Redis,ehcache and so on.

Particle-commonservice-config: Provides a standalone MicroServices configuration management Project project. The Configuration Management Toolkit allows you to place configurations on remote servers, centralize management of cluster configurations, and currently supports local storage, git, and subversion.

Particle-commonservice-erueka: Provide independent micro-service discovery, registration management platform. Cloud service discovery, a REST-based service for locating services to enable mid-tier service discovery and failover in the cloud.

PARTICLE-COMMONSERVICE-MQ: Provides a stand-alone messaging middleware service platform. Including the popular Ali Rocketmq, Rabbit MQ, Kafka distributed message Middleware service management.

Particle-commonservice-sso: Provide unified user login, authentication single sign-on platform. Use a third-party OAuth2.0 solution to allow third-party apps to gain access on behalf of users by organizing approved interactions between resource owners and HTTP service providers on behalf of users. It also provides unified authentication login service for Web applications, desktop applications and mobile phones.

Particle-commonservice-turbine: is a tool for aggregating server to send event stream data to monitor the metrics situation of Hystrix under cluster and provide independent service project.

Particle-commonservice-zipkin: Provides a standalone service project that enables a distributed tracking solution for Springcloud applications. The data stream of the distributed tracking system is divided into three steps: collecting, sending and landing analysis.

From now on, I will be documenting the process and essence of the recent development of the spring cloud micro-service cloud architecture to help more friends who are interested in developing the Spring cloud framework to explore the process of building the spring cloud architecture and how to use it in enterprise projects. Sources of information and source


Integrate spring Cloud cloud service Architecture common-service Code Structure analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.