Other usage and usage of spring cloud 2020.0.4 series service degradation
catalogue
1. General
2. Other usage of hystrix service degradation
3. Hytrix realizes fusing
4. Overview
5. official account
1. General
As the old saying goes: only by controlling your emotions can you control your life. Impulse is the devil, calm is the most important.
To get back to business, I talked about how to add a degradation ...
Posted by Ryodox on Thu, 28 Oct 2021 02:37:34 -0700
Spring cloud Alibaba: introduction to nacos configuration center
Spring cloud Alibaba: introduction to nacos configuration center
1, Introduction to configuration center
1. Introduction
Nacos provides key/value storage for storing configuration and other metadata, and provides server-side and client-side support for externalized configuration in distributed systems. Using Spring Cloud Alibaba Nacos Config ...
Posted by Raider on Sun, 24 Oct 2021 20:00:04 -0700
How to create Maven aggregation project (build microservice project)
1. Build an aggregation project in idea. Both the parent project and the child project are module s. In the pom file of the parent project, do the following:
In the 1.1 POM file, unified version management is configured
<dependencyManagement>
<dependencies>
<!--spring boot Core dependent version definition(s ...
Posted by arkleyjoe on Fri, 22 Oct 2021 20:15:30 -0700
[Spring Cloud Netflix] 02--Eureka registration and discovery
1, Preparatory work
1. Create configuration center
Create a moudle for spring boot
Select Eureka Server
Modify pom.xml file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...
Posted by kutte on Tue, 19 Oct 2021 11:25:20 -0700
Zero to one registry and load balancing of spring cloud
Zero to one registry and load balancing of spring cloud
Friends who know about distributed services must be familiar with zookeeper. It plays the role of a registration center, and then you can register and subscribe to services through Dubbo. Microservices are a collection of distributed products. They also need a registry to register and ...
Posted by barrywood on Fri, 15 Oct 2021 10:58:38 -0700
5, Service configuration
1, Spring Cloud Config distributed configuration center
Spring Cloud Config
1. Configuration problems faced by distributed systems
Microservice means to split the business in a single application into one sub service. The granularity of each service is relatively small, so there will be a large number of services in the system. Becau ...
Posted by ahinkley on Thu, 14 Oct 2021 15:12:21 -0700
zk --- distributed lock
What is a distributed lock
For example, when "process 1" uses the resource, it will first obtain the lock. After "process 1" obtains the lock, it will maintain exclusive access to the resource, so that other processes cannot access the resource. After "process 1" uses up the resource, it will release the loc ...
Posted by pchytil on Thu, 14 Oct 2021 13:55:31 -0700
Dcoker sets up zookeeper cluster operation
Using Docker to build zookeeper cluster environment
Start docker service
The above situation indicates that the docker is not started and the docker service needs to be started manually
service docker start
This error is reported when starting the service
[root@localhost ~]# docker start 722cb567ad8b
Error response from daemon: d ...
Posted by slindstr on Tue, 12 Oct 2021 12:12:07 -0700
In depth study of spring cloud gateway current limiting circuit
At present, Spring Cloud Gateway is the second most popular Spring Cloud project after Spring Cloud Netflix (in terms of stars on GitHub). It was created as a successor to the Zuul agent in the Spring Cloud family. The project provides an API gateway for microservice architecture, which is built based on reactive Netty and Project Reactor. It a ...
Posted by amo on Tue, 12 Oct 2021 11:03:12 -0700
[02] getting started with spring cloud Alibaba_ Nacos service registration and configuration center
1, Introduction to SpringCloud Alibaba Nacos
The full name of Nacos is Naming Configuration Service. Taking the first two letters of Naming and Configuration and s of Service, it is the Configuration management and Service management center.
In short, Nacos = Eureka + Config + Bus, that is, the combination of registry + configuration center. ...
Posted by Duodecillion on Thu, 07 Oct 2021 17:56:50 -0700