Skip to content

HBASE-30051 Avoid Unnecessary Protobuf Conversions in HMaster Admin API Calls#8018

Open
srinireddy2020 wants to merge 1 commit intoapache:masterfrom
srinireddy2020:HBASE-30051
Open

HBASE-30051 Avoid Unnecessary Protobuf Conversions in HMaster Admin API Calls#8018
srinireddy2020 wants to merge 1 commit intoapache:masterfrom
srinireddy2020:HBASE-30051

Conversation

@srinireddy2020
Copy link
Copy Markdown
Contributor

Admin APIs invoked on the HMaster are routed internally back to the same HMaster instance, leading to unnecessary protobuf serialization and deserialization. This adds significant overhead, especially in environments with a large number of tables.

@Apache9
Copy link
Copy Markdown
Contributor

Apache9 commented Apr 5, 2026

Do you have any performance numbers about the overhead?

@srinireddy2020
Copy link
Copy Markdown
Contributor Author

srinireddy2020 commented Apr 6, 2026

Do you have any performance numbers about the overhead?

Verified performance test in HBase Mini cluster with 350 tables. Observed 97.5% improvement for this changes.

Method: admin.listTableDescriptors(true)
Iterations: 100
Avg Time: 10311891.82 nanos
Min Time: 6341330 nanos
Max Time: 119611397 nanos
Median Time: 7631084 nanos
P95 Time: 16353979 nanos
P99 Time: 119611397 nanos

Method: master.listTableDescriptorsByNamespace(null)
Iterations: 100
Avg Time: 253733.7 nanos
Min Time: 197507 nanos
Max Time: 511075 nanos
Median Time: 224771 nanos
P95 Time: 444529 nanos
P99 Time: 511075 nanos

@Apache9
Copy link
Copy Markdown
Contributor

Apache9 commented Apr 6, 2026

I mean the performance change in real workload.

I see that you have changed two places, what is the performance numbers for these two places before and after this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants