asLeader()
function asLeader(service): SkipService
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
Parameter | Type |
---|---|
service | SkipService |
Returns
SkipService
The leader component to run service
in such a configuration.