apache / apache/rocketmq

[ISSUE #10537] Cache RPC Attributes and use processTimerElapsedMs in NettyRemotingAbstract

Open
#10,537 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
22.6k
Forks
12k
Avg merge
3d 1h
Merged PRs (30d)
27

Description

NettyRemotingAbstract creates a new AttributesBuilder per RPC. This PR adds a getOrBuildAttributes() cache.

Contributor guide

Open the contributing guide

Research direction

Start at NettyRemotingAbstract and trace where each RPC creates an AttributesBuilder and where processTimerElapsedMs is handled. Done means reusing the cached attributes through getOrBuildAttributes() and using processTimerElapsedMs as described, with the existing Netty remoting behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.