Skip to content

Commit 264003d

Browse files
committed
Documented high availability a bit more
1 parent 0be2343 commit 264003d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Dache.Client/Client.Example.config

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
<section name="cacheClientSettings" type="Dache.Client.Configuration.CacheClientConfigurationSection, Dache.Client"/>
77
</configSections>
88

9-
<!-- Cache Client Settings -->
9+
<!-- Cache Client Settings
10+
hostReconnectIntervalSeconds: the interval in seconds at which to try reconnected to a disconnected cache host
11+
hostRedundancyLayers: the number of servers that should duplicate data. EXAMPLES: If you have 10 servers and set this to 0, you'll
12+
have 10 cache host buckets with 1 server each (no redundancy). If you have 10 servers and set this to 1,
13+
you'll have 5 cache host buckets with 2 servers each (doubly redundant and doubly available). Use this to
14+
guard against Dache host server shutdowns or crashes -->
1015
<cacheClientSettings hostReconnectIntervalSeconds="10" hostRedundancyLayers="0">
1116
<!-- Custom logging is optional, but this is how you'd implement it. Your custom type must implement Dache.Client.Logging.ILogger -->
1217
<customLogger type="My.Custom.Logger, My.Custom" />

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ VERSION INFORMATION
5252
1.4.0 - THE FASTER, BETTER, STRONGER BUILD!
5353
------------------
5454

55-
- HIGH AVAILABILITY! You can now configure Dache to use > 1 cache host per cache fragment/bucket. This allows for redundancy in the case of cache server failure!
55+
- HIGH AVAILABILITY! You can now configure Dache to use > 1 cache host per cache fragment/bucket. This allows for redundancy in the case of cache server failure! To utilize this, adjust the `hostRedundancyLayers` setting in the dache client `.config` file.
5656

5757
- FASTER BETTER COMMUNICATION! SimplSockets rewritten for much more efficient communication. Also streamlined the Dache low level TCP syntax.
5858

0 commit comments

Comments
 (0)