Home  >  Article  >  PHP Framework  >  What can workerman do in the project?

What can workerman do in the project?

尚
Original
2019-12-12 11:11:222667browse

What can workerman do in the project?

Workerman is an open source high-performance PHP socket service framework developed purely in PHP. Recommended: workerman tutorial

Workerman is not reinventing the wheel. It is not an MVC framework, but a lower-level and more general socket service framework. You can use it to develop tcp agents , ladder agent, game server, mail server, ftp server, and even develop a php version of redis, php version of database, php version of nginx, php version of php-fpm, etc.

Workerman can be said to be an innovation in the field of PHP, allowing developers to completely get rid of the constraints of PHP only being able to do WEB.

In fact, Workerman is similar to a PHP version of nginx, and the core is also multi-process Epoll non-blocking IO. Each Workerman process can maintain tens of thousands of concurrent connections. Because it resides in memory, it does not rely on containers such as Apache, nginx, and php-fpm, and has ultra-high performance.

Supports TCP, UDP, UNIXSOCKET, long connections, Websocket, HTTP, WSS, HTTPS and other communication protocols as well as various custom protocols. It has many high-performance components such as timers, asynchronous socket clients, asynchronous Mysql, asynchronous Redis, asynchronous HTTP, and asynchronous message queues.

The above is the detailed content of What can workerman do in the project?. 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