Dubbo's first glimpse of Workflow
flow chart
When the service provider starts, it writes its own metadata information to the registry and subscribes to the configuration metadata information.When consumers start, they will also write their own metadata information to the registry and subscribe to service provider, routing and configuration metadata information.If monit ...
Added by prometheuzz on Tue, 08 Mar 2022 15:38:16 +0200
How does Dubbo service check parameters gracefully
1, BackgroundWhen the server provides interface services to the outside, whether it is providing HTTP interfaces to the front end or RPC interfaces to other internal servers, it often faces such a problem, that is, how to gracefully solve the verification of various interface parameters?In the early days, when making the HTTP interface provided ...
Added by w4designs on Tue, 08 Mar 2022 06:48:55 +0200
SpringBoot project started without listening port
premise
Our SpringBoot project relies on Dubbo, RocketMQ, Nacos, etc. occasionally one day, we found that we didn't register with SpringBootAdmin after startup, so we checked the reasons, searched online and found this article The springboot project starts and runs normally, but the port cannot listen for events and solutions The situation is ...
Added by apulmca2k4 on Mon, 07 Mar 2022 20:33:16 +0200
Intercept and replace token s in springboot to simplify authentication
1, Scene source
In daily development practice, it is often necessary to use tools (such as Postman and curl commands) to build http requests for development and testing. When an interface requiring token authentication is encountered, it may be necessary to log in to additional pages or request other interfaces to obtain tokens. I ...
Added by waseembari1985 on Tue, 22 Feb 2022 09:49:32 +0200
Stepping on the pit: a bloody case caused by timeout of dubbo asynchronous call
background The response time limit for new business requirements shall be controlled within 5s(md5 warehouse collision time limit of 1.2s, business flow time limit of 3.8s), which will directly lead to production accidents after online (Party A's father feedbacks that there are a lot of overtime).
environment dubbo 2.6.0
problem analysis For ...
Added by Chesso on Sat, 19 Feb 2022 07:38:31 +0200
Dubbo 3 find out the interface level address discovery and application level address discovery
Dubbo 3 concept and architecture
1. Service discovery
Compared with Dubbo 2, Dubbo 3 changes from interface level service registration discovery to application level. These two methods are not compatible with each other.
The benefit of this transformation is that it greatly releases the storage pressure of the service registry. For example, ...
Added by NerdConcepts on Wed, 16 Feb 2022 16:06:29 +0200
dubbo service local reference
debug test source code .
Write in front
stay Local exposure of dubbo services In this article, we analyze the process of local exposure. Let's take a look at how the corresponding service consumer refers, that is, local reference.
Generally, when using local references, the xml configuration is as follows:
<fakeRoot>
<dubbo: ...
Added by j_70 on Tue, 15 Feb 2022 09:45:40 +0200
SPI mechanism of JDK, Dubbo and spring
SPI mechanism of JDK, Dubbo and spring
The full name of SPI is Service Provider Interface, which is a service discovery mechanism. SPI The essence of is to configure the fully qualified name of the interface implementation class in the file, and the service loader reads the configuration file and loads the implementation class. In this way, ...
Added by Mirkules on Mon, 07 Feb 2022 22:11:05 +0200
springboot+duubo+nacos build
1, nacos server download and installation
1. Download
https://github.com/alibaba/nacos/tags
2. Installation
I'll demonstrate the stand-alone version on windows. Download it here zip file
cmd startup.cmd -m standalone
Access interface: http://localhost:8848/nacos
The default account password is nacos
At this time, it indicates ...
Added by fredcool on Mon, 07 Feb 2022 12:10:30 +0200
dubbo's service remote exposure
Write in front
stay Local exposure of dubbo services In this article, we analyze the local service registration using the injvm protocol when scope="local". Together, we look at the most commonly used method in actual business, that is, remote service exposure. Compared with local exposure, we mainly do the following things:
1: Star ...
Added by jc_ply on Mon, 07 Feb 2022 10:46:25 +0200