Actor Model · Schema

Shard

A shard partition in the cluster

Actor ModelConcurrencyDistributed Systems

Properties

Name Type Description
shardId string Shard identifier
region string Shard region name
nodeId string Node hosting this shard
entityCount integer Number of entities in this shard
status string Shard status
View JSON Schema on GitHub

JSON Schema

actor-model-shard-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12",
  "$id": "https://schema.api-evangelist.com/actor-model/actor-model-shard-schema.json",
  "title": "Shard",
  "description": "A shard partition in the cluster",
  "type": "object",
  "properties": {
    "shardId": {
      "type": "string",
      "description": "Shard identifier",
      "example": "shard-42"
    },
    "region": {
      "type": "string",
      "description": "Shard region name",
      "example": "UserRegion"
    },
    "nodeId": {
      "type": "string",
      "description": "Node hosting this shard",
      "example": "akka://[email protected]:2551"
    },
    "entityCount": {
      "type": "integer",
      "description": "Number of entities in this shard",
      "example": 150
    },
    "status": {
      "type": "string",
      "description": "Shard status",
      "example": "active"
    }
  }
}