Servers talk in typed messages by role; clients receive over a stream

An HTTP request passes through channels to a SPOT; a live connection arrives over the stream

Servers talk in typed messages by role; clients receive over a stream An HTTP request passes through channels to a SPOT; a live connection arrives over the stream client app · Architecture component client app HTTP API · entry server HTTP API channel client · entry server channel client Registry · discovery · Architecture component Registry discovery stream · domain server stream channel server · domain server channel server actor gateway · domain server actor gateway SPOT · unit of state · domain server SPOT unit of state ① HTTP request ② server-to-server ③ live connection address lookup entry server domain server

Two ways in

  • • A request goes HTTP API → channel client → channel server → SPOT; servers address each other by name, not by host.
  • • A live connection arrives over the stream, passes the actor gateway and reaches the same SPOT.
  • • The channel client and channel server look up the node behind a name in the Registry.