Home > headlines > body text

PHP socket server framework workerman

小云云
Release: 2017-11-04 15:19:34
Original
2819 people have browsed it

workerman is a high-performance PHP socket server framework. Workerman is based on PHP multi-process and libevent event polling library. PHP developers only need to implement one or two interfaces to develop their own network applications, such as Rpc services and chats. room server, mobile game server, etc.

Workerman's goal is to make it easier for PHP developers to develop high-performance socket-based application services without having to understand the details of PHP sockets and PHP multi-processes. 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.

His features:

Pure PHP development, multi-process support, support php7, support hhvm

Support TCP/UDP, a single machine can support more than millions of TCP long connections

Supports distributed deployment, the cluster can support millions or even higher concurrent TCP connections

Supports libevent event-triggered network library

Supports hot updates and smooth server restart

Has many high-performance components such as asynchronous Mysql, Redis, Dns, etc.

Windows users need to use the windows version of Workerman. The Windows version of Workerman itself does not rely on any extensions and only needs to configure the PHP environment variables. .

Linux system environment detection

Linux system can use the following script to test whether the local PHP environment meets the WorkerMan operation requirements.

curl -Ss //www.workerman.net/check.php | php

If all the above scripts show ok, it means that it meets the requirements of WorkerMan. Go directly to the official website to download the example and run it

For more php related questions, please visit php Chinese website.


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template