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, […]

Reprint: TransXNet: A new CNN-Transformer visual backbone that aggregates global and local information, with powerful performance!

Article address: https://arxiv.org/abs/2310.19380</code><code>Project address: https://github.com/LMMMEng/TransXNet 00 | Introduction Current situation: Recent research integrates convolutions into transformers to introduce inductive bias and improve generalization performance. (1) The static characteristics of traditional convolution make it unable to dynamically adapt to input changes, resulting in a representation difference between convolution and self-attention, because self-attention dynamically calculates the attention […]

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 […]

MySQL error Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column solution

Error reason Using the GROUP BY statement violates sql_mode=only_full_group_by. In MySQL database version 5.7 or above, the ONLY_FULL_GROUP_BY SQL mode is enabled by default. In this mode, for the group by operation, if the query column in the select statement is not in the group by appears, then this SQL is illegal because the column […]

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 […]

Using NEST for ElasticSearch aggregate query

ElasticSearch aggregation Aggregation in Elasticsearch is a mechanism for extracting and displaying data in a structured way. Think of it as the GROUP BY statement in SQL, but more powerful and flexible. Aggregation type Elasticsearch supports many types of aggregations, including: Metrics aggregations: Mainly used for statistics of indicators such as maximum value, minimum value, […]