Home >Backend Development >PHP Tutorial >High-performance PHP socket server framework: workererman

High-performance PHP socket server framework: workererman

WBOY
WBOYOriginal
2016-07-25 09:12:381597browse

高性能的PHP socket 服务器框架:workerman

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 chat room servers. , 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 modules for PHP process management and socket communication, so it can run independently without relying on containers such as php-fpm, nginx or apache.

Features

  • Developed using PHP

  • Support PHP multi-process

  • Support TCP/UDP

  • Supports various application layer protocols on the interface

  • Supports libevent event polling library and supports high concurrency

  • Support smooth service restart

  • Supports PHP file update detection and automatic loading

  • Support PHP long connection

  • Support running child processes as specified users

  • Support telnet remote control

  • High performance

There are already many network applications based on workerman, such as PHP-Json-Rpc, PHP-Thrift-Rpc, PHP-WebSocket chat room, PHP statistics monitoring system, etc.

Project homepage: http://www.open-open.com/lib/view/home/1397273024215



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
Previous article:Let PHP run on JVM - JPHPNext article:Let PHP run on JVM - JPHP