简体   繁体   中英

What would be the behavior if maxConnections is reached for netTcpbinding in WCF

I am wondering what would happen if a WCF service with binding .netTcpBinding' and default maxConnections setting (10) would be listening to 100 clients exchanging with the service.

Would the soft hosting the service be high in memory? (compared to a maxConnections > number of clients)

Thanks for the help.

As far as I know if the maximum number of connections to the server is 10 but there are 100 clients trying to connect to the server, only 10 clients will be connected to the server at the same time, and the other clients will wait until the previous client connection times out or disconnects.

Wcf will allow as many connections as possible depending on your server's hardware configuration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM