Home Java javaTutorial What is Spring Cloud

What is Spring Cloud

May 06, 2019 am 11:32 AM
spring cloud

Spring Cloud is a microservices framework. Spring Cloud provides a complete set of distributed system solutions, which not only encapsulates multiple open source components of the microservice basic framework Netflix, but also integrates with the cloud platform and the Spring Boot development framework.

What is Spring Cloud

#This article will introduce Spring Cloud definition functions, etc. I hope it will be helpful to everyone.

Recommended course: Java Tutorial.

Spring Cloud is a microservice framework. Compared with RPC frameworks such as Dubbo, Spring Cloud provides a complete set of distributed system solutions.

Spring Cloud encapsulates multiple open source components of the microservices basic framework Netflix, and at the same time achieves integration with the cloud platform and the Spring Boot development framework.

Spring Cloud involves configuration management, service governance, circuit breaker mechanism, intelligent routing, micro-agent, control bus, one-time token, global consistency lock, leader election, and distribution for the development of microservice architecture. Operations such as session and cluster state management provide a simple development method.

Spring Cloud provides developers with tools to quickly build distributed systems. Developers can quickly start services or build applications, and can quickly connect to cloud platform resources.


The location of Spring Cloud project

Sping Cloud is a top-level project of Spring , the list of Spring's top projects is as follows:

Spring IO platform: used for system deployment, integrable, and a version platform for building modern applications. Specifically, when you use maven dependency to introduce the spring jar package, it At work.

Spring Boot: Designed to simplify the creation of product-level Spring applications and services, simplifying configuration files, using embedded web servers, and containing many out-of-the-box microservice functions. Deployed jointly with spring cloud.

Spring Framework: Commonly known as the spring framework, it is an open source Java/Java EE full-featured stack application framework. Other spring projects such as spring boot also rely on this framework.

Spring Cloud: Microservice toolkit provides developers with development tools such as configuration management, service discovery, circuit breakers, intelligent routing, micro-agents, and control buses in distributed systems. Bag.

Spring XD: It is a runtime environment (server software, not development framework) that combines spring technologies, such as spring batch, spring boot, and spring data, to collect and process big data.

Spring Data: It is a data access and operation toolkit that encapsulates many kinds of data and database access related technologies, including: jdbc, Redis, MongoDB, Neo4j wait.

Spring Batch: Batch processing framework, or batch task execution manager, with functions including task scheduling, logging/tracking, etc.

Spring Security: It is a security framework that can provide declarative security access control solutions for Spring-based enterprise application systems.

Spring Integration: A programming framework for enterprise application integration (EAI/ESB). Supported communication methods include HTTP, FTP, TCP/UDP, JMS, RabbitMQ, Email, etc.

Spring Social: A set of toolkits and a set of APIs to connect social services, such as Twitter, Facebook, LinkedIn, GitHub, etc., there are dozens of them.

Spring AMQP: A toolkit for message queue operations, which mainly encapsulates RabbitMQ operations.

Spring HATEOAS: is a development library used to support the implementation of hypertext-driven REST web services.

Spring Mobile: It is an extension of Spring MVC, used to simplify Web application development on mobile phones.

Spring for Android: It is an extension of the Spring framework. Its main purpose is to simplify the development of Android local applications and provide RestTemplate to access Rest services.

Spring Web Flow: The goal is to become the best solution for managing web application page processes. The page jump process can be managed separately and configurable.

Spring LDAP: It is a Java toolkit for operating LDAP, based on Spring's JdbcTemplate mode, simplifying LDAP access.

Spring Session: A development toolkit for session management that allows you to save sessions to redis, etc., for clustered session management.

Spring Web Services: It is a Spring-based Web service framework that provides SOAP service development and allows the creation of Web services in a variety of ways.

Spring Shell: Provides an interactive Shell that allows you to use a simple Spring-based programming model to develop commands, such as Spring Roo commands.

Spring Roo: It is an auxiliary tool for Spring development. It uses command line operations to generate automation projects. The operation is very similar to Rails.

Spring Scala: An encapsulation of the spring framework provided for Scala language programming (a new programming language, Scala for the Java platform was released in late 2003/early 2004).

Spring BlazeDS Integration: An RIA development toolkit that can integrate Adobe Flex, BlazeDS, Spring and Java technologies to create RIA.

Spring Loaded: An open source tool for hot deployment of Java programs and web applications.

Spring REST Shell: You can call the command line tool of the Rest service and type the command line to operate the Rest service.

3. Spring Cloud sub-projects

What is Spring Cloud

Spring Cloud contains many sub-projects, such as:

Spring Cloud Config: configuration management tool, supports the use of Git to store configuration content, supports External storage of application configuration, supporting client configuration information refresh, encryption and decryption of configuration content, etc.

Spring Cloud Bus: event, message bus, used to propagate state changes in the cluster (for example, configuration change events), Can be combined with Spring Cloud Config to implement hot part Department.

Spring Cloud Netflix: Development toolkit provided for various Netflix components, including Eureka, Hystrix, Zuul, Archaius, etc.

Netflix Eureka: A service governance component based on rest service, including the implementation of service registration center, service registration and service discovery mechanism, realizing cloud load balancing and middle-tier server failover.

Netflix Hystrix: A fault-tolerant management tool that implements the circuit breaker mode and provides stronger fault tolerance for delays and failures by controlling service nodes.

Netflix Ribbon: The service calling component of client load balancing.

Netflix Feign: Declarative service calling component based on Ribbon and Hystrix.

Netflix Zuul: Microservice gateway, providing dynamic routing, access filtering and other services.

Netflix Archaius: Configuration management API, including a series of configuration management APIs, providing dynamic typed properties, thread-safe configuration operations, polling framework, callback mechanism and other functions.

Spring Cloud for Cloud Foundry: Bind services to CloudFoundry through the Oauth2 protocol. CloudFoundry is an open source PaaS cloud platform launched by VMware.

Spring Cloud Sleuth: Log collection toolkit, encapsulating Dapper, Zipkin and HTrace operations.

Spring Cloud Data Flow: A big data operation tool that operates data flows through the command line.

Spring Cloud Security: Security toolkit to add security controls to your applications, mainly OAuth2.

Spring Cloud Consul: Encapsulates Consul operations. Consul is a service discovery and configuration tool that can be seamlessly integrated with Docker containers.

Spring Cloud Zookeeper: A toolkit for operating Zookeeper, used for service registration and discovery using zookeeper.

Spring Cloud Stream: Data stream operation development package, which encapsulates sending and receiving messages with Redis, Rabbit, Kafka, etc.

Spring Cloud CLI: Based on Spring Boot CLI, you can quickly create it through the command line

The above is the detailed content of What is Spring Cloud. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1663
14
PHP Tutorial
1266
29
C# Tutorial
1239
24
Cleverly use Spring Cloud to solve load balancing problems under microservice architecture Cleverly use Spring Cloud to solve load balancing problems under microservice architecture Jun 23, 2023 pm 01:40 PM

As the complexity of enterprise applications continues to increase, more and more enterprises are beginning to split applications into multiple microservices and complete the entire business process through collaboration between microservices. This architectural approach can make applications more stable and scalable, but it also brings some new problems, such as load balancing, service discovery, etc. This article will introduce how to use Spring Cloud to solve the load balancing problem under the microservice architecture. What is load balancing? Load Balancing (LoadBalancing) refers to the balancing of multiple servers and networks

Spring Cloud source code analysis: Part 1 Spring Cloud source code analysis: Part 1 Aug 15, 2023 pm 04:04 PM

Personally, I think the prerequisite for reading the source code is that you must be able to use it. Once you are familiar with it, you can guess how others implemented it. If there are relevant official documents, then read the official documents.

Spring Cloud microservice architecture deployment and operation Spring Cloud microservice architecture deployment and operation Jun 23, 2023 am 08:19 AM

With the rapid development of the Internet, the complexity of enterprise-level applications is increasing day by day. In response to this situation, the microservice architecture came into being. With its modularity, independent deployment, and high scalability, it has become the first choice for enterprise-level application development today. As an excellent microservice architecture, Spring Cloud has shown great advantages in practical applications. This article will introduce the deployment and operation and maintenance of SpringCloud microservice architecture. 1. Deploy SpringCloud microservice architecture SpringCloud

Service-oriented Spring Cloud microservice development Service-oriented Spring Cloud microservice development Jun 23, 2023 pm 12:30 PM

With the development of the Internet and the continuous updating of technology, traditional single applications can no longer meet user needs, and the concept of microservices has emerged. SpringCloud is a microservice development toolkit launched by Pivotal. It provides developers with an extremely convenient way to build, deploy and manage microservice architecture applications. This article will introduce the service-oriented SpringCloud microservice development in detail, including the concept and architecture of SpringCloud, the microservice development process and

How to use Java to develop a container orchestration application based on Spring Cloud Kubernetes How to use Java to develop a container orchestration application based on Spring Cloud Kubernetes Sep 20, 2023 am 11:15 AM

How to use Java to develop a container orchestration application based on Spring Cloud Kubernetes. With the development and widespread application of container technology, container orchestration tools have become an indispensable part of developers. As one of the most popular container orchestration tools, Kubernetes has become the industry standard. In this context, combining Spring Cloud and Kubernetes, we can easily develop applications based on container orchestration. This article will introduce in detail

Introduction to Spring Cloud framework in Java language Introduction to Spring Cloud framework in Java language Jun 09, 2023 pm 10:54 PM

Introduction to the Spring Cloud framework in the Java language With the popularity of cloud computing and microservices, the Spring Cloud framework has become one of the preferred frameworks for building cloud native applications in the Java language. This article will introduce the concepts and features of the Spring Cloud framework, and how to use Spring Cloud to build a microservice architecture. Introduction to SpringCloud The SpringCloud framework is a microservice framework based on SpringBoot. it is

Spring Cloud microservice practice for implementing distributed locks Spring Cloud microservice practice for implementing distributed locks Jun 22, 2023 pm 11:28 PM

With the popularity of microservice architecture, more and more enterprise development teams are beginning to use Spring Cloud to build their own microservice systems. In a distributed environment, implementing distributed locks is an important technical challenge. This article will introduce how to implement microservice practices of distributed locks under the Spring Cloud framework. First, we need to understand what a distributed lock is. Distributed lock is a technology used to protect access to shared resources. It can ensure that in a distributed environment, multiple nodes will not modify the same resource at the same time or

Monitoring and alarm practice under Spring Cloud microservice architecture Monitoring and alarm practice under Spring Cloud microservice architecture Jun 22, 2023 pm 03:04 PM

With the widespread application of microservice architecture, how to effectively monitor and alert has become one of the problems faced by developers and operation and maintenance personnel. This article will focus on the specific methods of practicing monitoring and alarming under the SpringCloud microservice architecture. 1. Selection of monitoring indicators Before monitoring, you first need to determine the indicators that need to be monitored. Common indicators include: CPU utilization, memory usage, network bandwidth, disk space, HTTP request response time, number of service calls and latency, etc. These indicators can be used through various monitoring tools

See all articles