[FEATURE] The client-side supports choosing Netty's ByteBufAllocator · Issue #1767 · apache/uniffle · GitHub
Skip to content

[FEATURE] The client-side supports choosing Netty's ByteBufAllocator #1767

Description

@rickyma

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the feature

Currently, the client-side does not support choosing between PooledByteBufAllocator and UnpooledByteBufAllocator, which lacks flexibility. We should provide this option.

Motivation

The PooledByteBufAllocator may occupy the memory of the Executors for an extended period, making it unsuitable for some users' scenarios(e.g. users only have limited resources, executors with very small memory, maybe less than 1g). In such cases, users may want to switch to UnpooledByteBufAllocator.

Describe the solution

Add a client config: rss.client.netty.client.pooled.allocator.enabled to decide whether to enable PooledByteBufAllocator.

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions