What is GatewayWorker and its architecture
masterGatewayWorker is a framework built on top of Workerman designed for rapid development of long-connection applications such as App push servers, IM (Instant Messaging) servers, game servers, IoT, and smart home systems.
It utilizes a classic Gateway and Worker process model:
- Gateway Processes: Responsible for maintaining client connections and forwarding client data to the Worker processes.
- Worker Processes: Responsible for handling actual business logic and pushing results back to the corresponding clients.
Because of this separation, Gateway services and Worker services can be deployed on different servers to achieve a distributed cluster architecture.