Skip to content
Advertisement

Does each new client connection create a new Channel?

New to netty here. But my question here is: when we establish a connection from a client to server, would this create a new Channel for each new connection. Would this also subsequently create an associated pipeline for each new client connection. (e.g. would 100 clients that are simultaneously connected to a server create 100 individual channels with 100 associated pipelines?)

Advertisement

Answer

Yes thats exactly how it works. Each connection will be a new Channel with its own ChannelPipeline etc

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement