You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
regionalCache: true, // Enable regional cache to reduce the load on the DOs
200
+
regionalCacheTtlSec: 5, // The TTL for the regional cache
201
+
shardReplication: {
202
+
numberOfSoftReplicas: 4,
203
+
numberOfHardReplicas: 2,
204
+
regionalReplication: {
205
+
defaultRegion: "enam",
206
+
},
207
+
},
208
+
}),
198
209
// Disable this if you want to use PPR
199
210
enableCacheInterception: true,
200
211
// you can also use the `durableObject` option to use a durable object as a cache purge
@@ -629,6 +640,8 @@ doShardedTagCache takes the following options:
629
640
-`shardReplication`: Enable replicating the Shard. Shard replication will duplicate each shards into replicas to spread the load even more
630
641
-`numberOfSoftReplicas`: Number of replicas for the soft tag shards
631
642
-`numberOfHardReplicas`: Number of replicas for the hard tag shards
643
+
-`regionalReplicationOptions` : This setting enables you to replicate shards across different regions, thereby reducing read latency and distributing the load more evenly. By enabling this option, each shard will be replicated in all available regions. Please note that this will increase the number of Durable Objects (DOs) created and the volume of write requests sent to the DOs.
644
+
-`defaultRegion`: The default region to use for the replication.
632
645
-`maxWriteRetries`: The number of retries to perform when writing tags
0 commit comments