Packages

p

com.devsisters

shardcake

package shardcake

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. shardcake
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  2. type ShardId = Int
  3. class ShardManager extends AnyRef

    A component in charge of assigning and unassigning shards to/from pods

Value Members

  1. object GraphQLApi extends GenericSchema[ShardManager]
  2. object ManagerConfig extends Serializable
  3. object Server
  4. object ShardManager

Inherited from AnyRef

Inherited from Any

Ungrouped