Practice of distributed timed task scheduling framework

This article starts with WeChat official account of vivo Internet technology.Links: https://mp.weixin.qq.com/s/l4vuYpNRjKxQRkRTDhyg2QAuthor: Chen wangrong Distributed task scheduling framework is almost a necessary tool for every large-scale application. This paper introduces the demand background and pain points of the use of task schedu ...

Posted by Wldrumstcs on Sun, 08 Mar 2020 20:32:21 -0700

Spring boot integration zookeeper and dubbo@Reference null pointer exception

Problem Description: as a rookie, in the process of learning spring boot, I want to watch the teacher's video once and knock myself to impress myself a little bit. As a result, the problem comes. @The Reference of the Reference annotation reported a null pointer exception. After more than two hours of t ...

Posted by webdzine on Wed, 04 Mar 2020 01:55:17 -0800

SPI application and principle of dubbo

dubbo SPI(Service Provider Interface) In essence, the fully qualified name of the interface implementation class is configured in the file, and the service loader reads the configuration file and loads the implementation class. This allows you to dynamically replace the implementation class for the interface at run time. SPI is used to de ...

Posted by Thora_Fan on Mon, 02 Mar 2020 23:42:33 -0800

[dubbo source code] 1. How to publish services by service providers

Service publishing Startup process 1.ServiceConfig#export When the service provider starts the deployment, dubbo will call serviceconfig ා export to activate the service publishing process, as shown below: Java API: // 1. Create ServiceConfig instance ServiceConfig<IGreetingService> serviceConfig = new ServiceConfig<>( ...

Posted by [-_-] on Thu, 27 Feb 2020 23:53:21 -0800

Getting Started with Ribbon Load Balancing in SpringCloud

Load balancing using Ribbon Before using Ribbon, let's think about a previous question. We registered our service provider with the eureka registry, but on the consumer side, when we still used the restTemplate call, did it write something inappropriate like http://localhost:8001?Does the application use the service name to make calls like dubb ...

Posted by xterra on Wed, 26 Feb 2020 10:46:58 -0800

Dubbo load balancing: implementation analysis of consistency Hash

Author: FserSuN Source: https://blog.csdn.net/Revivedsun/article/details/71022871 LoadBalance is responsible for selecting a specific Invoker from multiple invokers for this call to share the pressure. The LoadBalance structure in Dubbo is shown in the figure below. com.alibaba.dubbo.rpc.cluster.LoadBalance Interface provides <T> Invoke ...

Posted by hesyar on Thu, 20 Feb 2020 00:41:19 -0800

Lightweight RPC Design and Implementation 4th Edition

SPI mechanisms have been introduced in this release, as described in previous articles on Java and Dubbo. Port: The Difference and Principle Analysis between SPI Mechanism and JDK Mechanism of Dubbo Because RPC frameworks are designed based on Spring, dependency injection issues are frequently encountered.There is also a SPI mechanism in Spring ...

Posted by Snatch on Wed, 19 Feb 2020 10:50:16 -0800

The Difference and Principle Analysis between SPI Mechanism and JDK Mechanism of Dubbo

Starting today, you will learn more about DUbbo.First, give a brief overview of DUbbo. Summary Dubbo is the core framework for SOA (Service Oriented Architecture) service governance solutions.Used for distributed calls with a focus on distributed governance. Simply put, it can be divided into four roles.Provider s, Consumer s, registration cent ...

Posted by Boom.dk on Wed, 19 Feb 2020 10:42:21 -0800

Dubbo: Deep understanding of the core model of Dubbo Invoker

1. Introduction of Invoker in Dubbo Why is Invoker the core model of Dubbo? Invoker is an entity domain in Dubbo, that is, it really exists.Other models approach it or convert it, and it also represents an executable from which invoke calls can be made.At the service provider, Invoker is used to invoke the service provider class.On the service ...

Posted by jini01 on Fri, 14 Feb 2020 23:45:09 -0800

Dubbo: Deep understanding of how Dubbo source implements service references

1. Preface Earlier, we talked about how services are exported to the registry.In fact, one thing Dubbo does is publish the URL of the service to the registry.Now let's talk about how the consumer subscribes to the service from the registry and makes remote calls. 2. Reference Service Time Series Diagram First, generally speaking the general int ...

Posted by Infinitus 8 on Wed, 12 Feb 2020 09:25:50 -0800