# Network I/O Connections

When a client connects to the EMS server, the EMS server assigns it to one of the threads handling network traffic based on which of those threads have the fewest existing connections. This balances the total number of connections evenly across those threads.

Note that if all the connections to one thread are closed, the EMS server does not move existing connections from other threads in order to rebalance them.

Also note that the EMS server does not account for the traffic generated by those connections. For instance, the EMS server could assign ten connections to one thread and ten connections to another thread but still have an unbalanced state if the first ten connections account for 90% of all network traffic to the EMS server.

Copyright © Cloud Software Group, Inc. All rights reserved.