A cluster runner whose RPCs travel over a SocketServer (Effect's
SocketRunner).
layer serves the runner protocol on the SocketServer in the
context, logs where it listens, and provides Sharding and Runners;
calls to other runners go through the RpcClientProtocol in the context
(cluster_socket.layer_client_protocol dials them over TCP).
layer_client_only joins the cluster as a sender only.
Values#
| Attribute | Type | Description |
|---|---|---|
layer | Layer[Sharding | Runners, Never, RpcClientProtocol | ShardingConfig | RpcSerialization | SocketServer | MessageStorage | RunnerStorage | RunnerHealth] | A runner serving the runner protocol on the |
layer_client_only | Layer[Sharding | Runners, Never, RpcClientProtocol | ShardingConfig | MessageStorage | RunnerStorage] |
|
On This Page
Values