Home  >  Article  >  PHP Framework  >  What is the worker framework?

What is the worker framework?

尚
Original
2019-12-10 09:10:202666browse

What is the worker framework?

Workerman is an open source high-performance asynchronous PHP socket instant messaging framework. Supports high concurrency and ultra-high stability, and is widely used in mobile apps, mobile communications, WeChat applets, mobile game servers, online games, PHP chat rooms, hardware communications, smart homes, Internet of Vehicles, Internet of Things and other fields. development.

Supports TCP long connections, supports Websocket, HTTP and other protocols, and supports custom protocols. It has many high-performance components such as asynchronous Mysql, asynchronous Redis, asynchronous Http, MQTT IoT client, asynchronous message queue, etc.

Recommended: workerman tutorial

workerman’s goal is to make it easier for PHP developers to develop high-performance socket-based application services without having to understand PHP sockets. and PHP multi-process details. Workerman itself is a PHP multi-process server framework with PHP process management and socket communication modules, so it can run independently without relying on containers such as php-fpm, nginx or apache.

Features:

Support HHVM

Developed using PHP

Support PHP multi-process/multi-threading (multi-threaded version)

Standard Input and output redirection

Support millisecond timer

Support event-based asynchronous programming

Daemonization

Support TCP/UDP

Support multi-port monitoring

Support various application layer protocols on the interface

Support libevent event polling library, support high concurrency

Support smooth service restart

Support PHP file update detection and automatic loading

Support PHP long connection

Support running child processes as specified users

Support telnet remote control

High performance

The above is the detailed content of What is the worker framework?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn