current location:Home > Technical Articles > PHP Framework > Workerman

  • The difference between workerman and swoole
    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
    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
    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
    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?
    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
    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?
    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?
    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
    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
    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?
    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
    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
    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
    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
    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

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28