Bind to Multiple Network Interface Cards
When a machine has multiple Network Interface Cards (NICs), NCache allows you to specify which interface should be used for cluster-wide communication. You can configure this by providing the desired IP address in the service configuration file:
<add key="NCacheServer.BindToClusterIP" value="20.200.20.40" />
For client communication, you can specify the IP address that the NCache client should use to connect with the server:
<add key="NCacheServer.BindToClientServerIP" value="20.200.20.40" />
Configuring separate network interfaces for cluster and client communication improves overall application performance. Cluster communication typically involves lower data transfer rates, and can therefore be assigned to a medium-spec network card. However, client-server communication generally handles higher traffic volumes and has a direct impact on performance. Therefore, it is generally suggested to assign a high-end network card for client connections.