Skip to main content

asLeader()

function asLeader(service): AnySkipService

Run a SkipService as the leader in a leader-follower topology.

Instead of running a service on one machine, it can be distributed across multiple in a leader-follower architecture, with one "leader" maintaining the shared computation graph and one or more "followers" across which client-requested resource instances are distributed.

Parameters​

ParameterType
serviceAnySkipService

Returns​

AnySkipService

The leader component to run service in such a configuration.