The Push server
During operations, a Push server acts as a communication link for an Orchestrator and an Analytics worker.
The Analytics worker launching process:
Upon launching, the Analytics worker:
Registers on the Orchestrator. On the Orchestrator, a worker entity is registered with a unique ID (UID).
Registers a public channel on a push server. A channel name is created according to the “type-analytics.uid” rule, for example, “face-recognition.5141239e-faaa-11eb-ac62-1e00da0e0552”.
Next, the Orchestrator can send video streams to Analytics workers with help of the Push server API.
As a result, the Analytics worker gets connected with the Stats and Raw-events channels:
By sending statistics on used resources and the state of video streams that are processed on the worker to the Stats channel.
By sending generated events to the Raw-events channel.