Skip to content
CORE/learn/client-server
BACK_TO_MAP
DOMAIN::fundamentalsAPI Fundamentals

Client–Server Model

"The request-response architecture."

Real_World_Analogy

A customer (client) ordering coffee from a barista (server).

Constraints_&_Tradeoffs

  • A server that keeps no per-client state can be restarted or replicated without losing a session.
  • Every round trip costs latency; every response a client can reuse removes one.
INTERACTIVE_TRACE
TRACE::REQUEST_RESPONSE_ROUND_TRIP
METHOD::REQUEST_RESPONSE_ROUND_TRIPclient-server
CLIENT_NODENETWORK_WIRESERVER_NODE
1
2
3
4
5
6
BEAT::0/6
EXCHANGE_LOG

idle — nothing has crossed the wire yet

SERVER_MEMORY::NONE

the server will not retain this exchange once the response is sent

Illustrative_Specimen

REQUEST   GET /reports/<report-id>
HOST      api.example
RESPONSE  200 OK + body
KEPT      nothing about this exchange

Placeholders in <angle-brackets>. Illustrative message shapes, not a description of any specific API.