Skip to content

scaleoutsoftware/ScaleoutClientFailoverSample

Repository files navigation

This sample illustrates how an app can use the Polly library with the Scaleout.Client library to fail over to a second, backup cluster of ScaleOut StateServer hosts.

The sample provides a generic PollyClient class. Once instantiated, cache accesses should be wrapped by the PollyClient.DoScaleoutRequest() method. The PollyClient implements a CircuitBreaker and Fallback policy to temporarily redirect requests to a backup store in the event of a connectivity problem. After a specified duration, an attempt will be made to use primary store again.

Users will typically want to use GeoServer DR in conjunction with this approach so the backup store has copies of all objects from the primary cluster.

About

Use Polly to failover to a different ScaleOut store.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages