(40) spring cloud gateway integration of java Spring Cloud+Spring boot+mybatis enterprise rapid development architecture Eureka routing and forwarding

In this section, we first create a Gateway project, then implement the simplest forwarding function and integrate Eureka routing. Recommended source code of Honghu distributed Cloud Architecture Create Gateway project Create a Maven project of Spring Boot and increase the dependency of Spring Cloud Gateway. The code is as follows. <parent& ...

Posted by nick314 on Sat, 25 Sep 2021 18:34:28 -0700

SpringCloud Netflix integrates Sentinel limited learning

1, Abstract 1.1 introduction to sentinel Sentinel is an open source project of Alibaba. It provides multiple dimensions such as flow control, fuse degradation and system load protection to ensure the stability between services. Official website: Home · alibaba/Sentinel Wiki · GitHub Sentinel was born in Alibaba in 2012. Its main goal is flow ...

Posted by johncrook on Sat, 25 Sep 2021 11:06:23 -0700

Nacos service governance

Introduction to service governance Let's think about a problem first Through the operations in the previous chapter, we can realize the invocation between microservices. However, we hard code the network address (ip, port) of the service provider into the code, which has many problems: Once the service provider address changes, you need ...

Posted by aspekt9 on Fri, 24 Sep 2021 02:30:13 -0700

Hystrix circuit breaker of Spring Cloud - 10 (personal note)

1. Overview 1-1. Problems faced by distributed systems In the complex distributed architecture system, the mutual call between services can not avoid failure, which will lead to service avalanche. If the call link of a service is long, the probability of call failure will be higher. For example, a calls B, B calls C, C calls D, or the call of ...

Posted by Wynder on Fri, 24 Sep 2021 02:30:45 -0700

Getting started with Hystrix

one   High concurrency in microservice architecture In the microservice architecture, we split the business into services one by one, and services can be called each other. Due to network reasons or their own reasons, the service can not guarantee 100% availability of the service. If a single service has a problem, calling the service ...

Posted by adrian28uk on Wed, 22 Sep 2021 23:04:45 -0700

Spring cloud Alibaba - integrating Nacos to realize service registration and discovery

preface Record the integration process of Nacos environment Win 10 + Spring Cloud 2020.0.1 + Spring Cloud Alibaba 2021.1 + Nacos 2.0.0 What is Nacos? Nacos is a service discovery component and a configuration server. Nacos solves two problems: 1,service A How to find service B 2,Manage the configuration of microservices Nacos off ...

Posted by lprocks on Tue, 21 Sep 2021 15:14:53 -0700

Degraded configuration of OpenFeign

preface When we need to call other microservices or third-party interfaces, we may use Dubbo or Spring's own component RestTemplate, but compared with the previous two, I prefer to use Feign, a component of Spring cloud. In my opinion, Feign is more flexible. OpenFeign basic use I'm too lazy to write a micro service myself. Here I sear ...

Posted by possiblyB9 on Mon, 20 Sep 2021 06:26:50 -0700

Spring cloud series, spring cloud overview and the use of microservice technology stack

1. Introduction to spring cloud SpringCloud Is an ordered collection of a series of frameworks. Taking advantage of the development convenience of SpringBoot, it cleverly simplifies the development of basic settings of distributed systems, such as service discovery and registration, configuration center, message bus, load balancing, circui ...

Posted by rockofaith on Mon, 20 Sep 2021 05:39:39 -0700

Spring cloud Gateway, service Gateway

When the services in the project are subdivided into many, a unified gateway is needed to control the request and response. In the micro service framework, in order to improve the performance of the gateway, the spring cloud gateway is implemented based on the WebFlux framework, and the bottom layer of the WebFlux framework uses the high-perfor ...

Posted by bruceleejr on Tue, 14 Sep 2021 22:43:35 -0700

Crazy SpringCloud Notes 05 (Zuul and Config)

9.Zull Routing Gateway Summary What is zuul? Zull contains two main functions: routing the request (for jumping) and filtering: (The routing function is responsible for forwarding external requests to specific micro-service instances, which is the basis for achieving a unified entry for external access, while the filter function is re ...

Posted by andco on Sun, 12 Sep 2021 12:23:54 -0700