Shard is a Scala open source library that makes it easy to distribute entities across multiple servers and interact with those entities using their ID without knowing their actual location (this is also known as location transparency).
Shard exposes a purely functional API and depends heavily on ZIO.
Shard is the successor of Shardcake, which was initially developed at Devsisters (see About).
The Documentation explains how to use Shard, in particular:
- how to get started
- how to define entities and send them messages
- the architecture behind Shard
- how to configure it
- parts you can customize
- how to migrate from Shardcake