Try Playground
Show / Hide Table of Contents

IP Binding with Multiple NICs

By using multiple Network Interface Cards (NICs) and employing IP Binding, you can distribute your network load and, thus increase the bandwidth throughput. NCache, being a network-intensive solution, allows configuring dual NICs, thereby distributing the network load of communication on two NICs which enhances overall performance.

NCache involves two kinds of network communication in a database cluster:

  • Communication between server nodes within a cluster (cluster communication).
  • Communication between client and server (client-server communication).

Different NIC cards can be configured for each type of network communication in NCache. One NIC can be dedicated to cluster communication inside the cluster, while the other can be reserved only for client-to-server communication. This way, the network load for communication is distributed on two NICs and resources will be utilized more efficiently, increasing overall performance and bandwidth throughput.

NCache detects all NICs on a server node and allows you to choose any one of them. If you have two NICs available on a server, it is highly recommended to use both NICs to enhance NCache communication. NCache will start utilizing both NICs on the servers, once the dual NIC interface is configured.

How to Configure IP Binding with Multiple NICs

Once the NICs have been configured, the changes are replicated in the Cache Service Configuration file before the NCache Service is restarted:

  • .NET: Alachisoft.NCache.Service.exe.config file in %NCHOME%/bin/service.
  • .NET Core Windows: Alachisoft.NCache.Service.dll.config file in %NCHOME%/\bin\service.
  • .NET Core Linux: Alachisoft.NCache.Daemon.dll.config file in /opt/ncache/bin/service.
  • Java Windows: Alachisoft.NCache.Service.dll.config file in %NCHOME%/\bin\service.
  • Java Linux: Alachisoft.NCache.Daemon.dll.config file in /opt/ncache/bin/service.

  • BindToClusterIP is specified for cluster-wide (server-to-server) communication.

  • BindToClientServerIP tells NCache which interface to use for client communication with the server.

By default, both client-server and inter-cluster communication takes place on the IP that is available as BindToClientServerIP.

Important

If one node is part of multiple clusters, note that any IP change will be reflected on all clusters and the configuration file will be updated accordingly.

You can configure multiple NICs for NCache either through the NCache Management Center or manually update the NCache Service configuration file for this purpose.

Note

Command line tools provided by NCache communicate with the NCache server on BindToClusterIP.

See Also

Graceful Node Down
Separate Cache Host Process
Self Healing Dynamic Clustering

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top