[
https://issues.apache.org/jira/browse/RATIS-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated RATIS-2486:
------------------------------
Description:
1. Summary
Enhance ZeroCopyMetrics with per-message-type counters, performance metrics,
and fallback diagnostics.
2. Changes
1. Per-message-type counters: Track zero-copy usage separately for
AppendEntries, InstallSnapshot, and ClientRequest
2. Performance metrics: bytes_saved_by_zero_copy and zero_copy_parse_time_nanos
to quantify benefits
3. Fallback tracking: Counters for each fallback reason (not_known_length,
not_detachable, not_byte_buffer)
4. InstallSnapshot support: Extended zero-copy to InstallSnapshot requests in
GrpcServerProtocolService
was:
### Summary
Enhance ZeroCopyMetrics with per-message-type counters, performance metrics,
and fallback diagnostics.
### Changes
1. Per-message-type counters: Track zero-copy usage separately for
AppendEntries, InstallSnapshot, and ClientRequest
2. Performance metrics: bytes_saved_by_zero_copy and zero_copy_parse_time_nanos
to quantify benefits
3. Fallback tracking: Counters for each fallback reason (not_known_length,
not_detachable, not_byte_buffer)
4. InstallSnapshot support: Extended zero-copy to InstallSnapshot requests in
GrpcServerProtocolService
> Add detailed zero-copy metrics for gRPC message types and fallback tracking
> ---------------------------------------------------------------------------
>
> Key: RATIS-2486
> URL: https://issues.apache.org/jira/browse/RATIS-2486
> Project: Ratis
> Issue Type: Sub-task
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
>
> 1. Summary
> Enhance ZeroCopyMetrics with per-message-type counters, performance metrics,
> and fallback diagnostics.
>
> 2. Changes
> 1. Per-message-type counters: Track zero-copy usage separately for
> AppendEntries, InstallSnapshot, and ClientRequest
> 2. Performance metrics: bytes_saved_by_zero_copy and
> zero_copy_parse_time_nanos to quantify benefits
> 3. Fallback tracking: Counters for each fallback reason (not_known_length,
> not_detachable, not_byte_buffer)
> 4. InstallSnapshot support: Extended zero-copy to InstallSnapshot requests in
> GrpcServerProtocolService
--
This message was sent by Atlassian Jira
(v8.20.10#820010)