AlgoViz

Local servers, gateways and remote replicas

medium 6 min

A host may run a local server over stdio or call remote peers over Streamable HTTP.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Protocol revision

Route a read across two stateless replicas

Route a read across two stateless replicas. Selected component: Service selection inside Buyer host.
Open full-size diagram

Buyer host

Choose inventory lookup

The host namespaces the selected tool to the inventory server and uses the proper buyer identity.

A gateway forwards a business retry to another replica. Which state determines whether an earlier order completed?