Dubbo remote call - invoke
example
In the example, the DemoService instance is obtained through the Spring context. In the previous article Dubbo Consumer reference service We have learned about the process of referencing services, creating invoker s and creating proxy objects. The DemoService instance here is the created proxy object, and then the sa ...
Posted by markts on Sun, 28 Nov 2021 07:09:08 -0800
Dubbo consumer cluster, load balancing implementation, routing Router
As we know, there are usually multiple instances on the Dubbo server, and the Dubbo consumer has built-in policies for load balancing scheduling. Let's take a general look. The overall architecture of routing and load balancing officially given is as follows: Before we start, let's talk about a few concepts in Dubbo:
Cluster is commonly known ...
Posted by mrobertson on Wed, 17 Nov 2021 06:19:54 -0800
☕ [Java technical guide] "serialization series" delves into the characteristics and principles of FST's sharp tools for fast serialization and compression of memory
Concept and definition of FST
The full name of FST serialization is Fast Serialization Tool, which is an alternative implementation of Java serialization. Since the two serious shortcomings of Java serialization mentioned above have been greatly improved in FST, the characteristics of FST are as follows:
The serialization provided by JDK i ...
Posted by franklyn on Thu, 04 Nov 2021 05:22:46 -0700
Upgrade dubbo default.version
Last week, I encountered a compatibility problem about upgrading dubbo 2.6 to 2.7, which almost caused an online failure. Here is a record and a reminder.
Problem playback
The provider of an interface (dubbo 2.6.6) configures the version number of the interface in this way
<dubbo:provider version="1.0.0"/>
The reference configuration of ...
Posted by clarky08 on Sun, 31 Oct 2021 22:22:01 -0700
Dubbo - SPI mechanism
Dubbo SPI
dubbo adopts SPI idea instead of using the SPI mechanism of jdk, but a set of SPI mechanism implemented by itself.
Disadvantages of jdk SPI
The JDK standard SPI will load all implementations of instantiated extension points at one time. If N implementation classes are added to the file under META-INF/service, all implementations wi ...
Posted by Robert Plank on Fri, 08 Oct 2021 00:44:37 -0700
Related bug s about connecting zookeeper
Connecting zookeeper related bug s
After learning about ssm recently, you need to further study dubbo and its required registration center zookeeper. However, a bug was encountered when writing an introductory case, which is as follows:
Caused by: java.lang.IllegalStateException: zookeeper not connected
at org.apache.dubbo.remoting.zookeepe ...
Posted by Sillysoft on Mon, 20 Sep 2021 20:38:52 -0700
Overall process of springboot Dubbo addition, deletion, modification and query
springboot-dubbo
First, create a simple maven project It stores entity classes and service classes
Entity class to inherit Serializable
Entity classes can introduce lombok and rely on an @ Data annotation
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
< ...
Posted by cpjok on Wed, 15 Sep 2021 16:26:34 -0700
The eighth day of health management project (background login to realize authentication and authorization, graphic report echards)
We have learned how to use the Spring Security framework. In this chapter, we need to apply the Spring Security framework to the background system for permission control. Its essence is authentication and authorization.
To carry out authentication and authorization, we need to support the seven tables i ...
Posted by leonglass on Mon, 29 Jun 2020 00:12:28 -0700
How Dubbo's XML is used and how it integrates with Spring
catalog
How Dubbo's XML is used and how it integrates with Spring
ServiceClassPostProcessor
Implemented BeanDefinitionRegistryPostProcessor class
How the bean instance of ServiceClassPostProcessor is injected into the container in advance.
The definition of DubboNamespaceHandler, the parsing class ...
Posted by Kower on Sat, 27 Jun 2020 21:27:35 -0700
dubbo service grouping, current limiting measures and service fusing degradation
Order module issues
1. Split the order module horizontally and vertically.
There will be more and more data in the order table in the e-commerce platform. In order to better business expansion, the database table needs to be split.
Horizontal split is divided into clothing order table, home applianc ...
Posted by alpha_juno on Sat, 20 Jun 2020 01:55:04 -0700