-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDFS-17531. RBF: Aynchronous router RPC. #7308
base: trunk
Are you sure you want to change the base?
Conversation
…easier. (#6868). Contributed by Jian Zhang. Reviewed-by: hfutatzhanghb <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
…ny. (#6870). Contributed by Jian Zhang. Signed-off-by: He Xiaoqiao <[email protected]>
…an Zhang. Reviewed-by: hfutatzhanghb <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
…. Contributed by Archie73. Reviewed-by: Jian Zhang <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
…Contributed by Wenqi Li. Reviewed-by: Jian Zhang <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
…ontributed by hfutatzhanghb. Reviewed-by: Jian Zhang <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
… Contributed by hfutatzhanghb. Reviewed-by: Jian Zhang <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
). Contributed by hfutatzhanghb. Reviewed-by: Jian Zhang <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
…rts asynchronous rpc. (#7159). Contributed by Jian Zhang. Reviewed-by: Jian Zhang <[email protected]> Signed-off-by: Jian Zhang <[email protected]>
…tributed by hfutatzhanghb. Reviewed-by: Jian Zhang <[email protected]>
…age. (#7184). Contributed by Jian Zhang.
💔 -1 overall
This message was automatically generated. |
Hi, all, the failed UT is not related to this pr. You can see that another pipeline is successful. https://ci-hadoop.apache.org/blue/organizations/jenkins/hadoop-multibranch/detail/PR-7301/1/pipeline |
@KeeProMise we need to fix checkstyle first and trigger Yetus again, it is better to collect one green result. |
…tatzhanghb. Reviewed-by: Jian Zhang <[email protected]>
Co-authored-by: Jian Zhang <[email protected]>
…nchrony. (#7139). Contributed by hfutatzhanghb. Co-authored-by: Jian Zhang <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
…d by hfutatzhanghb. Reviewed-by: Jian Zhang <[email protected]> Signed-off-by: He Xiaoqiao <[email protected]>
616d707
to
15cc381
Compare
🎊 +1 overall
This message was automatically generated. |
Description of PR
seeAlso: https://issues.apache.org/jira/browse/HDFS-17531
I. Overview
The asynchronous router aims to address the performance bottleneck issues of the synchronous router in high - concurrency and multi - nameservices scenarios. By introducing an asynchronous processing mechanism, it optimizes the request handling process, improves the system's concurrency ability and resource utilization, and is particularly suitable for the federated scenarios where multiple downstream services (NS) need to be processed.
II. Problems of the Synchronous Router
III. Design and Improvements of the Asynchronous Router
The asynchronous router solves the above problems by redesigning the request handling process and introducing an asynchronous processing mechanism. Its core improvements include:
IV. Advantages of the Asynchronous Router
V. Summary
The asynchronous router solves the performance bottleneck problem of the traditional synchronous router in high - concurrency scenarios by introducing an asynchronous processing mechanism. It not only improves the system's concurrency ability and resource utilization but also achieves isolation of downstream services through the queue mechanism, enhancing the system's stability and adaptability. In the federated scenarios where multiple downstream services need to be processed, the asynchronous router is a more efficient and reliable solution.
PRs:
HDFS-17543. [ARR] AsyncUtil makes asynchronous code more concise and easier.
HADOOP-19235. IPC client uses CompletableFuture to support asynchronous operations.
HDFS-17544. [ARR] The router client rpc protocol PB supports asynchrony.
HDFS-17545. [ARR] router async rpc client.
HDFS-17594. [ARR] RouterCacheAdmin supports asynchronous rpc.
HDFS-17597. [ARR] RouterSnapshot supports asynchronous rpc.
HDFS-17595. [ARR] ErasureCoding supports asynchronous rpc.
HDFS-17601. [ARR] RouterRpcServer supports asynchronous rpc.
HDFS-17596. [ARR] RouterStoragePolicy supports asynchronous rpc.
HDFS-17656. [ARR] RouterNamenodeProtocol and RouterUserProtocol supports asynchronous rpc.
HDFS-17659. [ARR]Router Quota supports asynchronous rpc.
HDFS-17672. [ARR] Move asynchronous related classes to the async package.
HADOOP-19361. RPC DeferredMetrics bugfix.
HDFS-17640.[ARR] RouterClientProtocol supports asynchronous rpc.
HDFS-17650. [ARR] The router server-side rpc protocol PB supports asynchrony.
HDFS-17651.[ARR] Async handler executor isolation.
HDFS-17715. [ARR] Add documentation for asynchronous router.
How was this patch tested?
Async Router RPC: single nameservice performance testing report
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?