The simplest spring cloud tutorial in history chapter 1: service registration and discovery (Eureka)

  The simplest spring cloud tutorial in history chapter 1: service registration and discovery (Eureka) 1, Introduction to spring cloud Spring cloud provides developers with some tools to quickly build distributed systems, including configuration management, service discovery, circuit breaker, routing, micro agent, event bus, global lock, ...

Posted by rarebit on Sun, 05 Dec 2021 05:01:49 -0800

08 service GateWay gateway

GateWay gateway An important component in the Cloud component bucket is the gateway. Zuul gateway is adopted in version 1.x; However, in version 2.x, Zuul's upgrade has been skipped. Spring cloud finally developed a gateway to replace Zuul GateWay provides a simple and effective way to route API s and provides some powerful filter functions, su ...

Posted by bouba on Sat, 04 Dec 2021 13:21:30 -0800

SpringCloud: Build a complete micro-service architecture system based on the Spring Cloud netflix family bucket

Overall architecture Service Planning Registration Services Example Host port Explain Access Address EUREKASERVER EurekaServer1 ek1.com 9001 eureka Service 1 http://ek1.com:9001 EUREKASERVER EurekaServer2 ek2.com 9002 eureka Service 2 http://ek2.com:9002 SCSERVER sc-server1 scServer1 8001 Remote Service 1 Action: http://scserver1:80 ...

Posted by Josien on Fri, 03 Dec 2021 17:01:56 -0800

Springcloud from entry to mastery (full)

preface This video learns through this connection and summarizes your notes Silicon Valley spring cloud framework development tutorial (spring cloud Alibaba microservice distributed architecture Spring Cloud) What is microservice? Microservice architecture is an architecture pattern, which divides a single application into a group of sma ...

Posted by wilburforce on Thu, 02 Dec 2021 19:12:39 -0800

How does Redis efficiently implement the like and cancel like functions

This article is based on spring cloud. After users send and cancel their likes, they first store them in Redis, and then read the likes from Redis every two hours and write them into the database for persistent storage. The like function is available in many systems, but despite the small function, there are many things to consider if you want ...

Posted by eerikk2 on Tue, 30 Nov 2021 07:25:17 -0800

Application practice of Gateway

Gateway overview In essence, the gateway should provide an access to various services, and provide services to receive and forward all internal and external client calls, as well as authority authentication, flow restriction control and so on. Spring Cloud Gateway is a gateway component developed by spring company based on Spring 5.0, Spring B ...

Posted by matscott on Tue, 30 Nov 2021 07:05:57 -0800

Spring Cloud Config enable https

Spring Cloud Config enable https preface This article mainly sorts out how spring cloud config enables https and how microservices access the configuration file on the spring cloud config server through https. Project engineering It includes a eurekaServer server, a eureka client client, and a cloud config server configuration center. Ena ...

Posted by Dennis Madsen on Sun, 28 Nov 2021 00:10:14 -0800

Spring Cloud Alibaba technology stack [in]

Spring Cloud Alibaba Sentinel 1, Sentinel introduction With the popularity of microservices, the stability between services and services becomes more and more important. Sentinel takes traffic as the starting point to protect the stability of services from multiple dimensions such as traffic control, fuse degradation and system load protect ...

Posted by shane18 on Fri, 26 Nov 2021 18:03:51 -0800

Spring cloud upgrade 2020.0.x - 41. Explanation of the basic process of spring cloud gateway

Code address of this series: https://github.com/JoJoTec/spring-cloud-parent Let's continue to analyze the WebHandler mentioned in the previous section. After adding Spring Cloud Sleuth and Prometheus related dependencies, the processing flow of Spring Cloud Gateway is as follows: Spring Cloud Gateway entry - > DefaultWebFilterChain of We ...

Posted by woza_uk on Thu, 25 Nov 2021 19:24:29 -0800

On the use of gray routing in spring cloud

In microservices, for high availability, the same service is often deployed in cluster mode, that is, there are several same services at the same time, and the core of gray level is routing, which calls the target service line through our specific strategy 1 Introduction to gray routing Grayscale publishing (also known as Canary Publ ...

Posted by Lyleyboy on Thu, 25 Nov 2021 13:27:20 -0800