Module: Google::Cloud::AppEngine::V1::TrafficSplit::ShardBy
- Defined in:
- proto_docs/google/appengine/v1/service.rb
Overview
Available sharding mechanisms.
Constant Summary collapse
- UNSPECIFIED =
Diversion method unspecified.
0
- COOKIE =
Diversion based on a specially named cookie, "GOOGAPPUID." The cookie must be set by the application itself or no diversion will occur.
1
- IP =
Diversion based on applying the modulus operation to a fingerprint of the IP address.
2
- RANDOM =
Diversion based on weighted random assignment. An incoming request is randomly routed to a version in the traffic split, with probability proportional to the version's traffic share.
3