[][src]Struct pachyderm::pps::ParallelismSpec

pub struct ParallelismSpec {
    pub constant: u64,
    pub coefficient: f64,
}

Fields

constant: u64

Starts the pipeline/job with a 'constant' workers, unless 'constant' is zero. If 'constant' is zero (which is the zero value of ParallelismSpec), then Pachyderm will choose the number of workers that is started, (currently it chooses the number of workers in the cluster)

coefficient: f64

Starts the pipeline/job with number of workers equal to 'coefficient' * N, where N is the number of nodes in the kubernetes cluster.

For example, if each Kubernetes node has four CPUs, you might set 'coefficient' to four, so that there are four Pachyderm workers per Kubernetes node, and each Pachyderm worker gets one CPU. If you want to reserve half the nodes in your cluster for other tasks, you might set 'coefficient' to 0.5.

Trait Implementations

impl Clone for ParallelismSpec[src]

impl Debug for ParallelismSpec[src]

impl Default for ParallelismSpec[src]

impl Message for ParallelismSpec[src]

impl PartialEq<ParallelismSpec> for ParallelismSpec[src]

impl StructuralPartialEq for ParallelismSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]