Skip to content

[Java SDK] Implement Connection Pooling for Async Client #2232

@chiradip

Description

@chiradip

Title

Add connection pooling support to AsyncTcpConnection

Description

The async client currently uses a single connection per client instance. For high-throughput scenarios, connection pooling would improve performance and reliability.

Tasks

  • Design connection pool architecture:
    • Configurable pool size
    • Connection health checking
    • Idle connection timeout
  • Implement connection pool:
    • Connection acquisition/release
    • Load balancing across connections
    • Automatic reconnection on failure
  • Add configuration options:
    • Min/max pool size
    • Connection timeout
    • Keep-alive settings
  • Add metrics:
    • Active/idle connections
    • Connection wait time
    • Connection errors
  • Test pool behavior:
    • Under load
    • With connection failures
    • Pool exhaustion scenarios

Labels

enhancement, performance, async-client, java-sdk

Metadata

Metadata

Labels

enhancementA change that improves our (or users) QoLjavaIssues related to Java SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions