Spring Cloud Gateway uses simple configuration

Basic use of Spring Cloud Gateway Spring Cloud Gateway is the second generation gateway framework officially launched by Spring Cloud, replacing Zuul gateway. Gateway as a traffic, plays a very important role in micro service system. The common functions of gateway include routing and forwarding, author ...

Posted by POGRAN on Mon, 29 Jun 2020 20:10:52 -0700

RocketMQ entry to the ground novice can also understand the principle and practice!

Learning any technology is a two-step process: Setting up the environment helloworld I'm no exception. I'll do it directly. 1, RocketMQ installation 1. Documents Official website http://rocketmq.apache.org GitHub https://github.com/apache/rocketmq 2. Download wget https://mirror.bit.edu.cn/apache/rocketmq/4.7.0/rocketmq-all-4.7.0-bin-rele ...

Posted by muretto on Sat, 27 Jun 2020 20:44:03 -0700

[build back-end microservice architecture from scratch] - 02 - system entry

Every system needs an entrance for users to enter, which is generally used to connect the public network and the internal network. It is the total entrance of system traffic and the front guard of the system. This paper mainly introduces the design from user initiated request to load balancing layer. ...

Posted by webaddict on Sun, 07 Jun 2020 03:42:30 -0700

netty summarizes the startup process of the server

Mainly paste code Make a summary for yourself (connection server initialization and processing): 1. NioEventLoop is used to positively handle io connection 2.NioEventLoopGroup can be simply understood as two processing groups, one is accepting connection, the other is processing connection, and the chooser in it is NioEventLoop array Server ...

Posted by KeitaroHimura on Sun, 17 May 2020 07:44:32 -0700

How does Netty work in Dubbo?

Author: Mona Rudowhttps://www.cnblogs.com/stateis0/p/9062171.html As we all know, the bottom layer of Dubbo, a well-known domestic framework, is Netty  As a network communication, how on earth is it used internally?Today we'll explore. 1. How Dubbo's Customer uses Netty Note: This code uses the dubbo-demo example from the Dubbo source of clo ...

Posted by DaveMate on Wed, 06 May 2020 19:59:44 -0700

Spring cloud gateway routing, assertion, filtering

Gateway introduction What is it? There is a very important component in the Spring Cloud family bucket: gateway. In the 1.x version, Zuul gateway is used, but in the 2.x version, Spring Cloud has developed a set of gateway components: Spring Cloud Gateway because Zuul's upgrade keeps skipping tickets. Based on Spring Boot 2.x, Spring WebFlu ...

Posted by mk_silence on Sat, 25 Apr 2020 21:19:31 -0700

Spring Cloud Gateway series processing request process

This article mainly reveals the loading of Spring Cloud Gateway and how to handle the request process from the source point of view. 1. Overview of spring gateway Spring Cloud Gateway is an official gateway developed by spring based on Spring 5.0, Spring Boot 2.0, Project Reactor and other technologies. Spring Cloud Gateway aims to provide a ...

Posted by Michael Lasky on Thu, 23 Apr 2020 00:29:58 -0700

Spring boot + websocket + netty to push messages

Thank you for your reference- http://bjbsair.com/2020-04-01/tech-info/18392.html One of the application scenarios of Netty in the project: the message push function can be used to push messages to all users, or to specify a user. The spring boot project is created. The background server uses Netty technology, and the front page uses WebSocket t ...

Posted by jpadie on Thu, 02 Apr 2020 08:24:30 -0700

Dubbo Source Learning-Service Reference (Service Startup Phase)

In the previous article, we looked at the process of publishing a dubbo service, and this article outlined the process of analyzing dubbo service references. 1. What should service consumers do? Generate proxy objects (help us achieve communication details) Set up a communication connection (netty) Get the service provider address (subscript ...

Posted by gooman on Fri, 20 Mar 2020 19:56:52 -0700

netty realizes group chat

[overview] Implement a group chat tool. The client messages participating in the chat are broadcast through the server. It mainly consists of two parts: chat server and chat client. Chat server function overview: 1. Monitor the access and disconnection of all clients 2. When client A accesses the chat room, send the access message to other clie ...

Posted by jonners on Tue, 17 Mar 2020 09:14:13 -0700