Learning Records--A Common Application of Dubbo
Basic and Advanced Applications of Dubbo
Load Balancing, Cluster Fault Tolerance, Service DegradationLocal stub, local disguise, asynchronous call
load balancing
Dubbo supports four strategies:
polling
Polling, set the polling rate according to the weight after the convention.There is a problem with slow providers accumulating requests, su ...
Added by abelajohnb on Thu, 03 Feb 2022 19:30:07 +0200
Application and principle of Dubbo
Here are the Dubbo used in the project and some knowledge about Dubbo you know. Plus assistant v: xiehuangbao1123 Get java learning materials and the latest interview materials
What is Dubbo?
Dubbo [] is a distributed service framework, which is committed to providing high-performance and transparent RPC remote service invocation scheme ...
Added by joix on Fri, 28 Jan 2022 23:32:03 +0200
Local exposure of dubbo services
Write in front
The Service provided by the Service provider is marked with a class annotated with @ Service. If you want to be used by the Service consumer, you must expose the Service, that is, let the Service consumer get the com that encapsulates the Service information alibaba. dubbo. common. URL object string. The current Service is expos ...
Added by ejames13 on Mon, 24 Jan 2022 20:36:05 +0200
Distributed Dubbo+Zookeeper+SpringBoot
1. Distributed theory
1.1. What is a distributed system?
In the book "principles and models of distributed systems", there is the following definition: "a distributed system is a collection of several independent computers, which are like a single related system to users";Distributed system is a system composed of a group ...
Added by Xanza on Fri, 21 Jan 2022 01:16:54 +0200
An accident tells you which of zookeeper and nacos is better for the registration center
preface
In distributed systems, registry plays an important role and is an indispensable member of service discovery and client load balancing. In addition to the basic functions of the registry, its stability, availability and robustness have a significant impact on the smooth operation of the whole distributed system. As a mainstream distrib ...
Added by binto on Tue, 18 Jan 2022 20:50:12 +0200
Build dubbo interface test platform with dubbo go
background
http interface test only needs a curl command, but dubbo protocol has no such ready-made interface test tool. Usually, the dubbo console or other platforms in the company will integrate a dubbo interface testing tool.
When calling a dubbo interface, you need to know the service name, method name and parameter args.
For normal call ...
Added by AnnieKay on Tue, 18 Jan 2022 16:59:32 +0200
Spring cloud series: 5 Stand alone Eureka registry + cluster Eureka registry
preface
Detailed explanation of Eureka 1.1 detailed explanation of Eureka 1 1.2 detailed explanation of Eureka 2Code demo - stand alone Eureka registry ring 2.1 code Demonstration - Eureka service registration 2.2 Eureka's self-protection mechanism (service discovery mechanism for team cooperation))Eureka cluster environment configurationEurek ...
Added by abhi_10_20 on Sat, 15 Jan 2022 08:19:30 +0200
Dubbo environment construction
1, Install registry
Zookeeper registration center is recommended
Official website documents:
Registration Center: https://dubbo.apache.org/zh/docs/references/registry/
zookeeper: https://dubbo.apache.org/zh/docs/references/registry/zookeeper/
1. Install zookeeper for windows
(1) Download zookeeper
Website: https://archive.apache.org/dis ...
Added by cytech on Sun, 09 Jan 2022 12:43:34 +0200
Dubbo extension point loading mechanism
Dubbo extension point loading mechanism
preface
This paper first introduces the overview of the existing Dubbo loading mechanism, including the improvements made by Dubbo and some features. Then it introduces some key annotations of the loading mechanism, @ SPI, @ Adaptive, @ Activate. Then it introduces the workflow and implementation princi ...
Added by littlehelp on Sat, 08 Jan 2022 15:16:05 +0200
Dubbo 3.0.3 + Nacos 2.0.3 + Spring Boot 2.3.6. Problems encountered in release integration and use
Dubbo 3.0.3 + Nacos 2.0.3 + spring boot 2.3.6.RELEASE integration
Because some of the company's old projects use rpc (a call toolkit encapsulated by HTTP client), considering the low performance, it is extremely difficult to maintain. Through comparison among many rpc frameworks, it is found that dubbo has launched version 3.0, and at pres ...
Added by martinacevedo on Sun, 02 Jan 2022 04:32:00 +0200