Spring cloud Alibaba: multi file loading and sharing configuration of Nacos configuration
Spring cloud Alibaba: multi file loading and sharing configuration of Nacos configuration
1, Load multiple configurations
We already know that the correspondence between the Spring application and the configuration content in Nacos is controlled by the following three parameters:
spring.cloud.nacos.config.prefixspring.cloud.nacos.config.file ...
Added by cnperry on Mon, 25 Oct 2021 10:49:01 +0300
9, Java loop structure of spring cloud distributed microservice Cloud Architecture for Java - for, while and do...while
Java loop structure - for, while and do...while
Sequential program statements can only be executed once.
Recommended distributed architecture Source address
If you want to perform the same operation multiple times, you need to use a loop structure.
There are three main loop structures in Java:
while loopdo&he ...
Added by emilyfrazier on Fri, 15 Oct 2021 03:51:51 +0300
Spring Cloud(2020.0.3) | from entry to soil - 22. Gateway filter factory
1, Gateway filter chain
We saw a picture when we first introduced Gateway. Now let's take a look.
In the last two blogs, we talked about Gateway Handler Mapping. Next, we want to talk about the whole Filter chain.
!!! Here, the Filter in the Gateway is not the same as the Filter in our Servlet
2, Gateway filter
There are many built ...
Added by gazalec on Thu, 14 Oct 2021 05:29:32 +0300
4, Java objects and classes of spring cloud distributed microservice Cloud Architecture for Java
Java objects and classes
Java as an object-oriented language. The following basic concepts are supported:
polymorphicinheritencapsulationabstractclassobjectexamplemethodheavy load
In this section, we focus on the concepts of objects and classes. Recommended distributed architecture Source address source
Object: an object is an instance of ...
Added by mehdi110 on Thu, 14 Oct 2021 03:37:59 +0300
Spring cloud learning - Zuul detailed explanation (with code package)
preface
Previous: detailed explanation of Hystrix Zuul (Gateway) is very important and important in spring cloud. The role of zuul gateway is similar to that of nginx. Nginx can forward requests, and nginx manages the ip address of services. Clients only need to access the port of nginx, and which service to forward and access is forwarded ...
Added by ixos on Wed, 06 Oct 2021 16:40:53 +0300
springcloud:config distributed configuration center and Bus message Bus, RabbitMQ environment configuration
springcloud
config distributed configuration center
Overview: 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. Because each service need ...
Added by tuuga on Sat, 11 Sep 2021 08:20:57 +0300
[Part 8] - Summary of b2b2c e-commerce technology of Spring Cloud live mall used by Docker container
Docker client
Docker The client is very simple , We can enter it directly Docker Command to view all command options of Docker client.
xxx@xxx:~# docker
You can use the command docker command --help Learn more about the use of the specified Docker command.
For example, we want to view docker ...
Added by Nuser on Sat, 11 Sep 2021 06:09:57 +0300
Spring cloud learning 3 (using Ribbon to realize load balancing and customize load balancing algorithm)
1, Ribbon: load balancing (client based)
1.1 load balancing and Ribbon
What is Ribbon?
Spring Cloud Ribbon is a set of client-side load balancing tools based on Netflix Ribbon.In short, Ribbon is an open source project released by Netflix. Its main function is to provide software load balancing algorithms for clients and connect Netflix's mi ...
Added by Shuriken1 on Sun, 05 Sep 2021 00:10:07 +0300