SpringCloud GateWay custom filter GatewayFilter and AbstractGatewayFactory

1. GatewayFilter GatewayFilter is a simple interface used to define the behavior of a gateway filter. A gateway filter is a class that implements the GatewayFilter interface and can perform certain operations when a request enters the gateway or when a response leaves the gateway. Filters can be used to modify requests or responses, log, […]

Microservice architecture integrates Sa-Token to implement gateway authentication and authentication services

Microservice architecture integrates Sa-Token to implement gateway authentication and authentication services This project is a hands-on project I made, using the SpringCloudAlibaba microservice architecture. When I was working on the authentication module, I remembered the Sa-Token project I had seen online before. It was called the Light of Domestic Authentication, so I checked their documentation […]

A brief taste of OpenWRT / Bypass gateway configuration based on RAVPower-WD009 portable routing file treasure

Directory Preface demand analysis Equipment on hand Home network topology diagram Bypass gateway configuration OpenWRT firmware selection OpenWRT firmware flashing Bypass gateway configuration process Use of bypass gateway Preliminary work Daily storage/key backup Intranet penetration 24 hours standby downloader Foreword Recently, due to personal needs, an OpenWRT device is needed to implement some functions. Therefore, […]

Unified gatewayGateway

Unified GatewayGateway Table of Contents Unified gatewayGateway Why do you need a gateway? Technical implementation of gateway Build gateway service route assertion factory Route filterGatewayFilter Case: Add request header to request GlobalFilterGlobalFilter Define a global filter to intercept and determine user identity Filter execution order Gateway cross-domain problem handling Why is a gateway There are […]

Java’s SpringCloud Alibaba [8] [Spring Cloud microservice Gateway integrates sentinel current limiting]

Java’s SpringCloud Alibaba [1] [Nacos One Article Mastery Series] Jump Java’s SpringCloud Alibaba [2] [Microservice calling component Feign] Jump Java’s SpringCloud Alibaba [3 】[Microservice Nacos-config Configuration Center] Jump Java’s SpringCloud Alibaba [Four] [Microservice Sentinel Service Meltdown] Jump Java’s SpringCloud Alibaba [5] [Microservice Sentinel integrates openfeign for downgrade] Jump Java’s SpringCloud Alibaba [6] [Alibaba microservice distributed […]

2 Experiment 2: Implementing Cisco VxLAN & centralized gateway based on Multicast

1. Description Same as the previous article “1 Experiment 1: Implementing Cisco VxLAN & centralized gateway based on static Ingress Replication”, implementing VxLAN based on Multicast also uses traffic-driven MAC address flooding learning and VTEP neighbor establishment. , there is no control level; Unlike implementing VxLAN based on Static Ingress Replication, implementing VxLAN based on […]

Reading and modifying the request body of SpringCloud Gateway gateway

Reading and modifying the request body of SpringCloud Gateway Getway needs to operate the body multiple times and needs to cache the body. Cache body dynamically retrieved multiple times Create a new top-level filter to cache the body import lombok.extern.slf4j.Slf4j; import org.springframework.cloud.gateway.filter.GatewayFilterChain; import org.springframework.cloud.gateway.filter.GlobalFilter; import org.springframework.core.Ordered; import org.springframework.core.io.buffer.DataBuffer; import org.springframework.core.io.buffer.DataBufferUtils; import org.springframework.core.io.buffer.DefaultDataBuffer; import org.springframework.core.io.buffer.DefaultDataBufferFactory; import […]

SpringCloud Gateway+Nacos, how to dynamically implement 1000+ routing rules?

Environment: SpringBoot2.7.12 + SpringCloud 2021.0.7 + Spring Cloud Alibaba 2021.0.4.0 1. Introduction What is Gateway? Spring Cloud Gateway is part of the Spring Cloud ecosystem and is a gateway server built with technologies such as Spring Framework 5, Spring Boot 2, and Project Reactor. It is mainly used to provide routing, load balancing, security, current […]

Build API gateway using Node.js

Hello, If you like my article or want to join a big company, you can follow the public account “Quantum Frontend”, which will push good front-end articles and share employment information and tips from time to time. I also hope to have the opportunity. One-on-one help to realize your dreams When external clients access services […]

Amazon Cloud Storage Services Guide: Explore S3, EBS, Glacier, EFS, and Storage Gateway

Background Cloud storage services play an important role in modern software development. They provide scalable and cost-effective solutions for storing and accessing data in the cloud. Amazon Web Services cloud storage service is preferred by developers as it offers many advantages. The flexibility of Amazon Cloud Technology’s cloud storage services is a key advantage. By […]