• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
Show / Hide Table of Contents

Configure Conflict Resolver in Bridge - WAN Replication

At times, a Bridge tries to replicate an operation for a key that already exists in the cache, which leads to conflicts between existing operations and the operation replicated from the Bridge to the cache. In situations like these, a Conflict Resolver is added. It decides which key to apply on the cache depending upon defined rules. By default, the decision will be made on a time-based rule, which keeps the latest key on the cache. Users can also define their own rules for conflict resolver.

Important

For .NET, before deploying your DLL files, ensure you have the have the appropriate .NET Version installed as discussed in the NCache Installation Guide.

Important

Make sure you have implemented the Bridge Conflict Resolver interface to configure it on the cache.

Using the NCache Management Center - WAN Replication

  • Launch the NCache Management Center by browsing to http://localhost:8251 or <server-ip>:8251 on Windows and Linux.

  • In the left navigation bar, click on Clustered Caches. Against the cache name, click on View Details.

  • Make sure that the cache is stopped.

Clustered Caches List Manager

  • In the new window opened, go to the Advanced Settings tab, and from the left bar, click on Bridge Conflict Resolver.

  • It will open a window with bridge conflict resolver options. Select the Enable Conflict Resolver checkbox in order to enable conflict resolver.

Check the conflict resolver

  • After enabling, click on the Browse button and select the assembly in which the conflict resolver is implemented.

Add the conflict resolver assembly

  • Select the Assembly and the name of the selected assembly will appear in the Assembly Name textbox along with all the classes which have implemented IBridgeConflictResolver. Select the required class.

Select the conflict resolver assembly

  • Enter the parameters if your implemented class requires any, and then click +.

Select the conflict resolver assembly

  • Click the Deploy Conflict Resolver button, select the assembly in which you have implemented IBridgeConflictResolver, and click on the Open button in the Open dialog box.

Select the conflict resolver assembly

  • Click on Save Changes once all the changes are made and you have deployed the assemblies.

See Also

Create Bridge
Configure Bridge Settings
Change Cache Synchronization Modes
Remove Cache from Bridge

In This Article
  • Using the NCache Management Center - WAN Replication
  • See Also

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 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top