package shardcake
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- shardcake
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class ManagerConfig(numberOfShards: Int, apiPort: Int, rebalanceInterval: zio.Duration, rebalanceRetryInterval: zio.Duration, pingTimeout: zio.Duration, persistRetryInterval: zio.Duration, persistRetryCount: Int, rebalanceRate: Double) extends Product with Serializable
Shard Manager configuration
Shard Manager configuration
- numberOfShards
number of shards (see documentation on how to choose this), should be same on all nodes
- apiPort
port to expose the GraphQL API
- rebalanceInterval
interval for regular rebalancing of shards
- rebalanceRetryInterval
retry interval for rebalancing when some shards failed to be rebalanced
- pingTimeout
time to wait for a pod to respond to a ping request
- persistRetryInterval
retry interval for persistence of pods and shard assignments
- persistRetryCount
max retry count for persistence of pods and shard assignments
- rebalanceRate
max ratio of shards to rebalance at once
- type ShardId = Int
- class ShardManager extends AnyRef
A component in charge of assigning and unassigning shards to/from pods
Value Members
- object GraphQLApi extends GenericSchema[ShardManager]
- object ManagerConfig extends Serializable
- object Server
- object ShardManager