Home  >  Article  >  PHP Framework  >  What does worker mean?

What does worker mean?

藏色散人
藏色散人Original
2019-11-26 14:10:523912browse

The following column workerman Getting Started Tutorial will introduce to you what a workerman is. I hope it will be helpful to friends in need!

What does worker mean?

Workerman, high-performance socket service framework

What is Workerman?

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

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 agents, game servers, mail servers, and ftp servers. , 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 that PHP can only 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. It also 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 does worker mean?. 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