Dubbo Source Parsing - Network Calls
Dubbo Network Call
background
We know that the general flow of Dubbo remote calls (consumer processes) is as follows:
Get a list of invoker s for this method from Dirctory
A list of invoker s that meet the criteria is obtained by filtering router routes
invoker called with Cluster fault tolerance
Final invoker filtered by loadBalance
filter ch ...
Posted by clip on Sun, 15 Dec 2019 06:04:43 +0100
SpringCloud Distributed Microservice Cloud Architecture Part 3: Service Consumer (Finchley Version)
In the previous article, we talked about how to consume services through RestTemplate+Ribbon. This article mainly talks about how to consume services through Feign.
1. Introduction to FeignFeign is a declarative pseudo-Http client that makes it easier to write Http clients.With Feign, you only need to create an interface and annotate it.It has ...
Posted by bassdog65 on Thu, 12 Dec 2019 19:27:09 +0100
Case 1 of HBase custom HBase MapReduce
1. Demand scenario
Migrate part of the data in the ys table in HBase to the ys? Mr table through Mapreduce
2. Coding
1) build ReadysMapreduce class to read data in ys table
package cn.ysjh;
import java.io.IOException;
import org.apache.hadoop.hbase.Cell;
import org.apache.hadoop.hbase.CellUtil;
import org.apache.hadoop.hb ...
Posted by jacobsdad on Wed, 11 Dec 2019 05:50:12 +0100
MapReduce program 2 of Maven project -- realize the function of counting the total salaries of employees in each department
prerequisite:
1. Install jdk1.8 (under Windows Environment)
2. Install maven 3.3.9 (under Windows Environment)
3. Install eclipse (under Windows Environment)
4. Install hadoop (under Linux environment)
Question:
The input file is: EMP.csv. The contents of the EMP.csv file are as follows: SAL is employee salary (int type), ...
Posted by tsiedsma on Tue, 10 Dec 2019 17:00:49 +0100
Use swoole in ThinkPHP5
(Note: This is just the beginning of the combination of swoole and TP5. I think there will be more holes to step on when they are deeply integrated! ) First go TP official website Download framework
General overview:
Create a new server folder in the root directory of the project,The content of http_server.php is as follows (it can be direc ...
Posted by bernard_hinault on Tue, 10 Dec 2019 09:51:17 +0100
Ali Cloud Internet of Things Platform Device Data Forwarding to Message Queue RocketMQ Full Link Test
Summary
You can use the rule engine to forward IOT platform data to a message queue (RocketMQ) for storage.This enables the full-link, highly reliable transmission of messages from devices, Internet of Things platforms, RocketMQ to application servers.Starting with the creation of products and devices on the Internet of Things platform, the tex ...
Posted by kaitan on Tue, 10 Dec 2019 07:08:30 +0100
Alicloud builds big data platform: flume installation, deployment and testing
I. flume installation
1. decompress
tar -zxvf flume-ng-1.6.0-cdh5.15.0.tar.gz -C /opt/modules/
2. Change name
mv apache-flume-1.6.0-cdh5.15.0-bin/ flume-1.6.0-cdh5.15.0-bin/
3. Configuration file: flume-env.sh
export JAVA_HOME=/opt/modules/jdk1.8.0_151
4. Test success
bin/flume-ng version
//Result:
Flume 1.6.0-cdh5. ...
Posted by zahidraf on Tue, 10 Dec 2019 04:09:34 +0100
Configuration and use of log4j in SSM framework
I. Introduction of related packages and dependencies
I use the method of slf4j+log4j to introduce pom files. There is another method of Commons logging + log4j. I will not talk about it here. You can refer to the materials you need.
<!--slf4j+log4j-->
<dependency>
<groupId>org.slf4j</groupId>
< ...
Posted by Matth_S on Tue, 10 Dec 2019 02:20:46 +0100
Java web learning summary -- file upload and download
Catalog
1. Establishment of file upload environment
2. File upload code implementation
3. About downloading
@
Hey, Xiong dei, you have to know that in Web development, file upload and download are very common functions. As for file upload, browser upload [file transfer in the form of stream] - serve ...
Posted by bskauge on Mon, 09 Dec 2019 14:02:57 +0100
Implementation of spring cloud Alibaba rocketmq asynchronous communication
This article discusses how to use RocketMQ Binder to subscribe and publish Spring Cloud application messages.
introduce
RocketMQ It is an open source distributed message system. Based on the highly available distributed cluster technology, it provides low latency and highly reliable message publishing and subscription services, which are widely ...
Posted by Cleibe on Mon, 09 Dec 2019 05:36:31 +0100