Nginx --- dynamic and static separation

Nginx and Tomcat deployment We all know that Nginx has very high performance in high concurrency scenarios and processing static resources, but in actual projects, in addition to static resources, there are background business code modules. Generally, background business will be deployed on Web servers such as Tomcat, weblogic or websphe ...

Posted by snowdog on Wed, 10 Nov 2021 13:38:56 -0800

Spring Cloud Alibaba: Nacos configuration center

Spring Cloud Alibaba: Nacos configuration center Dynamic configuration service can manage the application configuration and service configuration of all environments in a centralized, external and dynamic way. Dynamic configuration eliminates the need to redeploy applications and services when configuration changes, making configuration manage ...

Posted by paulytrick on Wed, 10 Nov 2021 08:17:29 -0800

Spring cloud learning 3: Eureka service registration and discovery

1, Overview 1.1 process 1.2 architecture Eureka Spring cloud encapsulates the eureka module developed by netfix company to realize service registration and discovery The C-S architecture design is adopted, and EurakaServer is used as the service registry Other services in the system use the client to connect to EurakaServer an ...

Posted by mrneilrobinson on Wed, 10 Nov 2021 01:36:09 -0800

Spring cloud learning 6: Ribbon load balancing

1, Concept: ribbon 2, ribbon utility 3, Realize 3.1 client configuration: spring cloud-consumer-dept-80 uses Ribbon Step 1: first, add two dependencies to the 80 project <!--Ribbon--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-ribbon</artifac ...

Posted by [-_-] on Wed, 10 Nov 2021 00:37:59 -0800

Management blog SpringCloud learning 8: Hystrix service fusing, service degradation, Dashboard flow monitoring

1, Concept: Service avalanche 2, What is Hystrix Official website information https://github.com/Netflix/Hystrix/wiki 3, Service fuse summary experiment Step 1: create the service provider springcloud-provider-dept-hystrix-8001 Step 2: modify pom.xml <!--hystrix--> <dependency> <groupId>org.springfr ...

Posted by hammerslane on Wed, 10 Nov 2021 00:09:12 -0800

Spring Cloud - Hystrix: Services

Hystrix: Service fuse Problems faced by distributed systems There are dozens of dependencies for applications in complex distributed architecture, and each dependency will inevitably fail at some time! 1. Service avalanche When calling between multiple microservices, suppose microservice A calls microservice B and microservice C, and mi ...

Posted by Josepheuan on Mon, 08 Nov 2021 11:11:20 -0800

[Java from 0 to architect] SpringCloud - Sleuth, Zipkin, Config

Java from 0 to architect Directory: [Java from 0 to architect] learning record Link tracking component Why link tracking? There are many service units in the microservice architecture. If there are errors and exceptions, it is difficult to locate (a request may need to call multiple services, and the call complexity between internal ...

Posted by garry_224 on Mon, 08 Nov 2021 08:58:58 -0800

sleuth zipkin elk study notes

sleuth study notes 1, Link tracking 1.1 link tracking in distributed environment Timing information ​ Call information in the call link, including call time and which method, Location link ​ The whole link will generate a Trac id, through which the whole upstream and downstream link calling process can be queried in the log system Collectio ...

Posted by movieflick on Sun, 07 Nov 2021 21:59:29 -0800

Remote service invocation in spring cloud (2 ways)

1, Remote service invocation based on RestTemplate object Step 1: add the following method to the startup class of the service consumer to create the RestTemplate object @Bean public RestTemplate restTemplate(){//Implement remote service invocation based on this object return new RestTemplate(); } Step 2: define the service consumer C ...

Posted by ChrisFlynn on Sat, 06 Nov 2021 02:22:16 -0700

Bus of spring cloud 2020.0.4 series

1. General As the old saying goes: people who can rest can work better. Body is the capital of revolution. If their body breaks down, they can no longer work.   To get back to business, we talked about the distributed configuration center config of SpringCloud before. In this article, we talked about the dynamic refresh of config configuration, ...

Posted by mbdonner on Thu, 04 Nov 2021 13:54:57 -0700