• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Bridge Server Settings

Note

This feature is only available in NCache Enterprise Edition.

This section explains various bridge server configurations needed to configure Bridge for WAN replication.

The Bridge Service file hosts all bridge related configurations. For any change in the bridge configuration, you can manually edit this file:

  • .NET: Alachisoft.NCache.BridgeService.exe.config placed at %NCHOME%/bin/service.
  • .NET Core: Alachisoft.NCache.BridgeService.dll.config placed at %NCHOME%/bin/service.
  • Linux: Alachisoft.NCache.BridgeDaemon.dll.config placed at \opt\ncache\bin\service.

This Bridge service config file consists of the following configurable tags:

Bind to Multiple NICs

To specify the IP Address of the client to bind with the bridge server, see the tag below:

<add key="NBridgeServer.BindToIP" value="10.0.75.1"/>`

Configure Server Ports

Client/Server TCP Port

Client/Server TCP port in bridge service file specifies the port on which bridge service will listen for the incoming connection requests.

<add key="NBridgeServer.Port" value="9900"/>`

Management Port

Management Port in bridge service config specifies the port on which the Bridge Management Server listens for the incoming connection requests.

<add key="NBridgeServer.ManagementPort" value="8260"/>`

Configure Memory Settings

Buffer Size

The buffer size of the client socket can be specified in the bridge service config.

SendBufferSize specifies the send buffer size of the connected client socket in bytes.

<add key="NBridgeServer.SendBufferSize" value="131072"/>

ReceiveBufferSize specifies the receive buffer size of the connected client socket in bytes.

<add key="NBridgeServer.ReceiveBufferSize" value="131072"/>

Configure Windows Event Logging

In case the size of the bridge is reached, a warning message is logged into the system event log. the BridgeSizeThreshold specifies the minimum threshold size of the bridge queue in MBs to continue receiving operations from the bridge cache.

<add key="NBridgeServer.BridgeSizeThreshold" value="30"/>

You can comment this tag if you do not want to log any warning messages.

State Transfer Timeout

User can configure bridge cache state transfer timeout interval through the following tag:

<add key="NBridgeServer.BridgeCacheStateTransferTimeout" value="20"/>
Note

Restart Bridge Service after making any changes to the Bridge Service file.

See Also

Cache Server Settings
Cache Client Settings
Client Cache Settings

Back to top Copyright © 2017 Alachisoft