Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Architecture Technology selection and Design of Micro Services

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the architecture technology selection and design-micro service selection, and the technology used in Spring cloud implementation. I hope it will be helpful to your learning.

Architecture technology selection and design-DUBBODubbo, is the core framework of Alibaba's service-oriented governance, and is widely used in the member sites of Alibaba Group (Alibaba now uses the architecture as HSF). It became the last version in 2012-10-24, version 2.5.3, and maintenance was taken over by Dangdang, named dubbox; 2017, which suddenly continued dubbo for maintenance, and the last version was updated at 22:21 on 2017-10-11.

Dubbo core component: Provider: the provider of the exposure service. Consumer: the service consumer that invokes the remote service. Registry: service registry and discovery center. Monitor: count the number of services and calls, and call the time monitoring center. (can be displayed on the console page of dubbo) Container: the container in which the service runs. Dubbo Service Cluster-Cluster Fault tolerance Model

Architecture Technology selection and Design-Micro Service selection

Architecture Technology selection and Design-DUBBO

Architecture Technology selection and Design-DUBBO

Architecture technology selection and design-micro service selection Spring Cloud, we can know from the name, it is the product of Spring Source, the strong endorsement of the Spring community can be said to be the most influential organization in the Java business community, in addition to Spring Source, there are Pivotal and Netfix is its strong backing and technology output. Netflix's open source micro-service architecture suite is the core of Spring Cloud. If you compare Dubbo with Netflix suite, the former has more influence at home, while the latter has more influence abroad, so you can draw on the background; but if you want to compare with Spring Cloud, due to the addition of Spring Source, Spring Cloud is slightly better in endorsement, but in terms of high concurrency, dubbo has actually carried hundreds of millions of users online at the same time in Ali's operation, while Netflix has not been reflected in the actual online application. There are 19 sub-projects (and possibly new ones) under Spring Cloud that cover all aspects of the micro-service architecture, and service governance is only one of them. To some extent, Dubbo is only a subset of Spring Cloud Netflix. However, in the selection framework, the integrity of the solution is precisely a key concern, of course, considering high availability and high concurrency, Spring Cloud is undoubtedly the best choice.

Spring Cloud tool framework

1. Spring Cloud Config configuration center, using git to centrally manage the configuration of the program.

2. Spring Cloud Netflix integrates open source software of many Netflix.

3. Spring Cloud Bus message bus, which uses distributed messages to connect services and service instances together to propagate state changes in a cluster.

4. Spring Cloud for Cloud Foundry integrates your applications using Pivotal Cloudfoundry

5. Spring Cloud Cloud Foundry Service Broker provides a starting point for establishing a service agent to manage cloud hosting services.

6. Spring Cloud Cluster is based on the abstraction and implementation of leadership election and civilian state pattern implemented by Zookeeper, Redis, Hazelcast and Consul.

7. Spring Cloud Consul service discovery and configuration management based on Hashicorp Consul.

8. Spring Cloud Security provides load balancing for OAuth3 rest client and authentication header forwarding in Zuul proxy.

9. Distributed tracking system for SpringCloud Sleuth SpringCloud applications, compatible with Zipkin,HTrace,ELK.

10. Spring Cloud Data Flow is a cloud-local program and operation model that makes up data micro-services on a structured platform.

11. Spring Cloud Stream is based on the message micro service implemented by Redis,Rabbit,Kafka, and the simple declaration model is used to send and receive messages in Spring Cloud applications.

12. Spring Cloud Stream App Starters provides spring integration for external systems based on Spring Boot

13. Spring Cloud Task short-lifecycle micro-services to add functional and non-functional features to simple declarations of SpringBooot applications.

14 、 Spring Cloud Task App Starters

15. Spring Cloud Zookeeper service discovery and configuration management is based on Apache Zookeeper.

16. Spring Cloud for Amazon Web Services quickly integrates with Amazon Web Services.

Spring Cloud Connectors makes it easy for PaaS applications to connect to back-end image databases and message brokerage services on various platforms.

18. Spring Cloud Starters (the project has been terminated and merged with other projects after the Angel.SR2 version

) 19. Spring Cloud CLI plug-in uses Groovy to quickly create Spring Cloud component applications. Spring Cloud integrates 19 subprojects, all of which contain one or more third-party components or frameworks!

Technologies used in Spring cloud implementation

1. Spring cloud: a cloud application tool for configuration management, service discovery, circuit breakers, intelligent routing, micro-agents, control buses, global locking, decision campaigns, distributed sessions and cluster state management for cloud applications

2. Spring cloud config: configuration Management Development Kit

3. Spring cloud Bus: event message bus is used to propagate state changes in clusters (for example, configuration change time), and to achieve hot deployment in conjunction with spring cloud config

4. Spring cloud Netflix Eureka: cloud load balancing foundation, a Rest-based service for location services to achieve cloud load balancing and failover of middle-tier servers

5. Spring cloud Netflix Hystrix: a fault-tolerant management tool designed to provide greater fault tolerance for delays and failures by controlling the nodes of services and third-party libraries

6. Netflix ZUUL: an edge service tool that provides edge services such as dynamic routing, monitoring, resilience, security, etc.

7. Spring cloud sleuth: log collection toolkit, encapsulating Purpose, Zipkin and Trace

8. Spring Cloud Security: security toolkit to add security controls to applications, mainly OAuth3

9. Spring cloud turbine: the aggregation server sends the time flow to monitor the Netflix and metrics under the cluster

Spring cloud planning and design

Spring cloud configuration Center

Spring cloud registry

Spring cloud gateway: service routing, security authentication, session sharing, client load balancing, unified exception handling, cross-domain requests

Spring cloud disconnect route

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report