current location:Home > Technical Articles > PHP Framework > Workerman
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- The difference between workerman and swoole
- The difference between Workerman and Swoole: Workerman is written purely in PHP, while Swoole is a C extension of PHP, and its performance is definitely higher. Many product servers of Baidu and Tencent are based on Swoole. Workerman gets started faster, has richer documentation, and has an active community that basically answers all questions.
- Workerman 7204 2019-12-02 11:15:49
-
- How about workerman framework
- The workerman framework is good, it is a high-performance PHP socket server framework. 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 2336 2019-12-02 11:06:35
-
- what can workerman do
- Workerman is different from the traditional MVC framework. Workerman can not only be used for Web development, but also has a wider range of application fields, such as instant messaging, Internet of Things, games, service management, other servers or middleware, which undoubtedly greatly improves PHP development. the viewer’s vision.
- Workerman 3111 2019-12-02 10:55:40
-
- How to use workerman's heartbeat
- The workerman heartbeat uses the Gateway/Worker development model, which supports server-side heartbeat detection, can regularly send application layer heartbeats to the client, and can promptly detect extreme client disconnections (power outage, sudden network failure, etc.).
- Workerman 4385 2019-12-02 10:32:22
-
- How is the performance of workerman?
- Workerman is an open source high-performance asynchronous PHP socket instant messaging framework. During the running of Workerman, as long as the PHP file is loaded and compiled once in the life cycle of a single process, it will remain in the memory and will not be read from the disk or compiled again.
- Workerman 2236 2019-12-02 10:28:05
-
- How to configure wss in workerman
- The wss protocol is actually websocket+SSL, which means adding an SSL layer to the websocket protocol, similar to https (http+SSL); so you only need to enable SSL on the basis of the websocket protocol to support the wss protocol.
- Workerman 6185 2019-12-02 10:11:54
-
- How many connections does workerman support?
- For Windows, currently Workerman (php) supports up to 255 connections. For Linux, there is no limit to the number of Workerman connections in theory. It can range from tens of thousands, hundreds of thousands or even millions, but the prerequisite is that the server must have enough memory and the event extension must be installed.
- Workerman 3477 2019-12-02 09:53:20
-
- What protocols does workerman support?
- WorkerMan provides HTTP protocol, WebSocket protocol, very simple Text protocol, and frame protocol that can be used for binary transmission. If none of these protocols meet the needs, developers can implement their own protocols by referring to the Customized Protocols chapter.
- Workerman 1965 2019-12-02 09:43:10
-
- How to download workerman
- First, go to the official website https://www.workerman.net/download to download and install the workerman file; and starting from workerman version 3.5.3, it can support both windows and linux systems.
- Workerman 3517 2019-12-02 09:31:27
-
- How to start workerman
- Starting Workerman is done from the command line. To start Workerman, you first need to have a startup entry file, which defines the port and protocol for service monitoring. Start in debug mode: php start.php start.
- Workerman 4717 2019-12-02 09:15:25
-
- What is a worker?
- 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, chat room servers, Mobile game servers, etc.
- Workerman 3868 2019-12-02 09:11:23
-
- How to use workerman with thinkphp
- The following section of the Workerman Getting Started Tutorial column will introduce you to the method of combining Workerman with thinkphp. I hope it will be of some help to you. This article introduces how to install pcntl, event and libevent, and how to integrate Workerman into Thinkphp.
- Workerman 5488 2019-11-30 16:53:09
-
- Several PHP callback writing methods you need to know before learning Workerman
- Below, Workerman uses the tutorial column to introduce several ways to write PHP callbacks. I hope it will be helpful to friends in need! It is often used in Workerman. We first write a callback function and use this function to process related logic when a certain behavior is triggered. The most commonly used callback writing methods in PHP are as follows.
- Workerman 2216 2019-11-30 18:02:03
-
- workerman example test
- Below, the workerman tutorial column will share with you a workerman example test. I hope it will be helpful to friends in need! This article includes using the HTTP protocol to provide external Web services, using the WebSocket protocol to provide external services, and directly using TCP to transmit data.
- Workerman 3648 2019-11-27 16:39:07
-
- Introduction to the causes and solutions of workerman program debugging errors
- Below, the workerman PHP tutorial column will introduce to you the reasons and solutions for the workerman program debugging error. I hope it will be helpful to friends in need! Reason for failure: The port is occupied and cannot be started. You can use the command netstat -anp | grep port number to find out which program occupies the port.
- Workerman 3010 2019-11-26 17:48:43