콘텐츠로 이동
한국어

moduloAllocator

이 콘텐츠는 아직 번역되지 않았습니다.

const moduloAllocator: ShardAllocator

Defined in: src/cluster/sharding/ShardAllocator.ts:14

Simple modulo allocator: sort addresses and pick shardId % n. Every node computes the same assignment deterministically. Works well when the member set is stable; moves a lot of shards when it changes.