Bridge Server Settings - Geo Replication
This section explains various Bridge server configurations needed to configure Bridge for Geo 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 Windows: Alachisoft.NCache.BridgeService.dll.config placed at
%NCHOME%\bin\service
. - .NET Linux: Alachisoft.NCache.BridgeDaemon.dll.config placed at
/opt/ncache/bin/service
. - Java Windows: Alachisoft.NCache.BridgeService.dll.config placed at
%NCHOME%\bin\service
. - Java Linux: Alachisoft.NCache.BridgeDaemon.dll.config placed at
/opt/ncache/bin/service
.
This Bridge Service config file consists of the following configurable tags:
Bridge Server: 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
The Client/Server TCP Port in the Bridge Service file specifies the port on which the Bridge Service will listen for incoming connection requests.
<add key="NBridgeServer.Port" value="9900"/>`
Management Port
The Management Port in the Bridge Service config specifies the port on which the Bridge Management Server listens for incoming connection requests.
<add key="NBridgeServer.ManagementPort" value="9806"/>`
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
The user can configure the Bridge cache state transfer timeout interval through the following tag:
<add key="NBridgeServer.BridgeCacheStateTransferTimeout" value="20"/>
Note
Restart the Bridge Service after making any changes to the Bridge Service file.
See Also
Cache Server Settings
Cache Client Settings
Client Cache Settings