Enum googapis::google::appengine::v1::version::Scaling [−][src]
pub enum Scaling {
AutomaticScaling(AutomaticScaling),
BasicScaling(BasicScaling),
ManualScaling(ManualScaling),
}
Expand description
Controls how instances are created, scaled, and reaped.
Defaults to AutomaticScaling
.
Variants
AutomaticScaling(AutomaticScaling)
Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.
Tuple Fields of AutomaticScaling
BasicScaling(BasicScaling)
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
Tuple Fields of BasicScaling
0: BasicScaling
ManualScaling(ManualScaling)
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as “backends”.
Tuple Fields of ManualScaling
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scaling
impl UnwindSafe for Scaling
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more