Home  >  Article  >  PHP Framework  >  what can workerman do

what can workerman do

(*-*)浩
(*-*)浩Original
2019-12-02 10:55:403098browse

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

what can workerman do

Workerman is different from the traditional MVC framework. Workerman can not only be used for web development, but also has broader application fields, such as instant messaging, Internet of Things, games, service management, other servers or middleware, this has undoubtedly greatly improved the vision of PHP developers. (Recommended study: 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 modules for PHP process management and socket communication, so it can run independently without relying on containers such as php-fpm, nginx or apache.

Some application directions of Workerman are as follows:

1. Instant messaging such as web page instant chat, instant message push, WeChat applet, mobile app message push, PC software Message push, etc. [Examples workerman-chat chat room, web message push, tadpole chat room]

2. Internet of Things categories such as Workerman communicating with printers, communicating with microcontrollers, smart bracelets, smart homes, and sharing Bicycles and so on. [Customer cases such as Yilian Cloud, Yibo Times, etc.]

3. Game server categories such as chess and card games, MMORPG games, etc. [Example browserquest-php]

4. SOA service uses Workerman to encapsulate different functional units of existing business and provide a unified interface in the form of services to achieve system loose coupling, easy maintenance, high availability, Easy to stretch. [Example workerman-json-rpc, workerman-thrift]

5. Other server software such as GatewayWorker, PHPSocket.IO, http proxy, sock5 proxy, distributed communication component, distributed variable sharing component, message queue, DNS server, WebServer, CDN server, FTP server, etc.

6. Middleware such as asynchronous MySQL component, asynchronous redis component, asynchronous http component, asynchronous message queue component, asynchronous dns component, file monitoring component, and Many component frameworks developed by third parties, etc.

Obviously it is difficult for the traditional mvc framework to achieve the above functions, so that is why Workerman was born.

The above is the detailed content of what can workerman do. 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