Skip to content

netty: The optimization of applying for a minimum of 4096 off-heap memory per request has no effect in non-unaryRequest mode #11719

@jammyMarse

Description

@jammyMarse

ClientCallImpl:
image
MessageFramer:
image
image
image
NettyWritableBufferAllocator:
image

In non-unaryRequest mode, 4096 bytes of off-heap memory will be re-applied for each message
If you send small packet requests frequently (for example, 100 bytes each time), a lot of external memory will be wasted, and this 4096 optimization logic will not take effect.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions