netty / netty/netty

Difference between FixedChannelPool and SimpleChannelPool

Open
#9,604 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
35.1k
Forks
16.3k
Avg merge
1d 5h
Merged PRs (30d)
143

Description

Caused by my issue #9603 i try to understand the consequences of using SimpleChannelPool instead of a FixedChannelPool (with maxConnections set to 1).

According the javadoc, SimpleChannelPool acquire

Tries to retrieve healthy channel from the pool if any or creates a new channel otherwise.

So, what does "healthy" mean? In which cases would I get an additional channel, if I use SimpleChannelPool instead of FixedChannelPool (with maxConnections set to 1)?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Javadocs and implementations of SimpleChannelPool and FixedChannelPool, focusing on acquire behavior and the meaning of a healthy channel. Document when SimpleChannelPool may create an additional channel compared with FixedChannelPool configured with maxConnections set to 1, including the consequences described by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.