What does Dubbo want to do with a gateway? Try to integrate Spring Cloud Gateway

1, Background In the microservice architecture, API gateway is very important. As a global traffic portal, the gateway is not only a reverse route, but also a public "service" (Gateway) to extract the common needs of various edge services (Web layer), such as security authentication, authority control, current limiting and fusing, mo ...

Posted on Sat, 27 Jun 2020 22:21:41 -0400 by erikjan

Spring Boot integrates Dubbo and uses zookeeper as the registry

preface The whole process of this article is under the operation of windows. The general operation is the same as that of Linux. Please Baidu for details and Google if you have conditions! Knowledge points to understand Dubbo and zookeeper environments and what they are Spring Boot knowledge points, limited to package structure pom dependency ...

Posted on Sat, 27 Jun 2020 02:39:33 -0400 by dhillarun

Spring Boot integrates Dubbo and uses zookeeper as the registry

Spring Boot integrates Dubbo and uses zookeeper as the registry preface The whole process of this article is under the operation of windows. The general operation is the same as that of Linux. Please Baidu for details and Google if you have conditions! Knowledge points to understand Dubbo and zookeeper environments and what they are Spring Boo ...

Posted on Sat, 27 Jun 2020 01:53:36 -0400 by son.of.the.morning

Source code analysis of Zhiyu dubbo

dubbo source code analysis file dubbo load profile dubbo service provision 1. Verify configuration information 2. Create URL 3. Local registration 4. Remote registration 4.1 enable netty server 4.2 connect to the registration center zk and write information 4.3 monitoring Registration Center dubbo ...

Posted on Thu, 25 Jun 2020 07:08:24 -0400 by jahwobbler

Analysis of eight rejection strategies for java thread pool ThreadPoolExecutor

See a very good article to share with you. preface When it comes to Java's thread pool, the most familiar one is the ExecutorService interface, which is newly added in jdk1.5 java.util.concurrent The api under the package greatly simplifies the development of multithreaded code. Whether you use FixedT ...

Posted on Fri, 19 Jun 2020 07:08:43 -0400 by tllewellyn

java SPI 07 - Automatically generate SPI profile implementation

Series Catalog What is spi 01-spi?Getting Started spi 02-spi battle resolution slf4j package conflict problem spi 03-spi jdk for source code parsing spi 04-spi dubbo for source code resolution spi 05-dubbo adaptive extension adaptive expansion spi 06 - Implement SPI framework from scratch spi 07-Automatically generate SPI profile implementatio ...

Posted on Thu, 18 Jun 2020 14:27:32 -0400 by ares

Detailed explanation of Dubbo SPI mechanism

From the principle of java spi in the previous article, we can see that java spi mechanism has the following disadvantages: You can only traverse all implementations and instantiate them all. The configuration file simply lists all the extension implementations without naming them. It makes it di ...

Posted on Wed, 17 Jun 2020 01:21:18 -0400 by Rineru

A RPC framework based on Netty in 20 minutes

Netty is a high-performance network transmission framework, which is widely used as a basic communication component by RPC framework. For example, in Dubbo protocol, it is used for inter node communication, and in Hadoop, Avro component uses it for data file sharing. So let's try to use netty to impl ...

Posted on Fri, 12 Jun 2020 05:13:55 -0400 by florida_guy99

Build distributed project practice based on SpringBoot+Dubbo+Zookeeper+Maven+IDEA

  1, Explanation of terms (from Baidu Encyclopedia): Spring Boot is a new framework provided by the Pivotal team, which is designed to simplify the initial construction and development process of new spring applications. The framework uses a specific way to configure, so that developers no longer n ...

Posted on Thu, 11 Jun 2020 00:02:57 -0400 by cpjok

A variety of ways of distributed system from the perspective of message middleware

               As an important member of the distributed system, message middleware has many solutions for major companies and open source. At present, the mainstream open source solutions include RabbitMQ, RocketMQ, Kafka, ActiveMQ, etc. News is simple and difficult to say. The simplicity lies in the ease of use, the simplicity o ...

Posted on Sun, 07 Jun 2020 05:00:58 -0400 by PAZII