Class: Google::Cloud::Bigtable::RoutingPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::RoutingPolicy
- Defined in:
- lib/google/cloud/bigtable/routing_policy.rb
Overview
RoutingPolicy
An abstract routing policy.
See subclasses for concrete implementations:
- MultiClusterRoutingUseAny - Read/write requests may be routed to any cluster in the instance and will fail over to another cluster in the event of transient errors or delays. Choosing this option sacrifices read-your-writes consistency to improve availability.
- SingleClusterRouting - Unconditionally
routes all read/write requests to a specific cluster. This option
preserves read-your-writes consistency but does not improve
availability. Value contains
cluster_id
and optional fieldallow_transactional_writes
.