Using several Channels per target
Trustin Lee (이희승)
trustin at gmail.com
Wed Oct 21 21:18:30 EDT 2009
Hi Shay,
The throughput of the pooled connections will increase linearly up to
the level where the number of connections are equal to the number of
CPU cores probably, because the current transport implementation pins
a connection to a thread. However, once the total number of
connections increases, there's no improvement in total throughput
because all cores should be handling more channels than the number of
cores.
HTH
— Trustin Lee, http://gleamynode.net/
On Tue, Oct 20, 2009 at 11:29 PM, Shay Banon <kimchy at gmail.com> wrote:
> Hi,
>
> Currently in my (pet) project, both the client side and the server
> side use netty. The client side caches the Channel it got when using
> the ClientBootstrap in order to connect to the server, and reuse it
> across all requests sent to the server. I was wondering if it make
> sense to create several Channel to my Server, and round robin requests
> on them in order to increase the throughput? Has anyone tried that and
> saw improvements?
>
> Cheers,
> Shay
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
More information about the netty-users
mailing list