netty 4 performance: multi channels or only one? -


i use netty 4.0.23 in rpc framework, found in client, when creating multi channels, performance better creating 1 channel. why? method improve performance in 1 channel?need move encode/decode netty io worker thread user thread?

it because when creating multiple channels, you'll utilize multiple cpu cores. when creating single channel, you'll utilize single cpu core.

as number of channels increases, not see performance improvement anymore because cpu or remote peer's cpu maxed out soon.


Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -