Server Introduction
To get started with the ZMAG server, first install the package:
In ZMAG, the server represents the backend. Some ZeroMQ tutorials use the terms "backend" and "frontend" instead of "server" and "client" because not everything is always a straightforward server/client model. However, to maintain a beginner-friendly and consistent naming convention, we'll stick with "server" and "client."
This naming convention is also chosen because the server and client are symmetrically structured.
For example... | As compared to... |
---|---|
client |
frontend |
server |
backend |
Devices (Types)
Queue
Streamer
Forwarder
Bidirectional Information Flow (Request/Response)
flowchart LR;
D[Request] <--> E[Response];
A[Client / Request] <--> B((Queue)) <--> C[Server / Response];
Unidirectional Information Flow (Push/Pull)
flowchart LR;
D[Push] --> E[Pull];
A[Server / Push] --> B((Streamer)) --> C[Client / Pull];
Unidirectional Information Flow (Publish/Subscribe)
flowchart LR;
D[Publish] --> E[Subscribe];
A[Server / Publish] --> B((Forwarder)) --> C[Client / Subscribe];