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

  • Why did swoole go from getting started to giving up?
    Why did swoole go from getting started to giving up?
    The swoole tutorial explains why it is called within the task_worker process from getting started to giving up. The worker process can use the swoole_server_task function to deliver new tasks to the task_worker process.
    Swoole 3637 2020-12-09 17:37:26
  • When asked three times by the swoole coroutine, I almost cried!
    When asked three times by the swoole coroutine, I almost cried!
    The swoole tutorial column introduces that the process is the startup instance of the application. Independent file resources, data resources, and memory space. What is a thread? Threads belong to processes and are the executors of programs. A process contains at least one main thread and can also have more child threads.
    Swoole 4115 2020-12-03 17:46:57
  • How much do you know about swoole's processes and threads?
    How much do you know about swoole's processes and threads?
    The swoole tutorial column introduces the process and thread of swoole.
    Swoole 3838 2020-11-24 16:47:07
  • Learn to query Websocket connection issues in Swoole source code
    Learn to query Websocket connection issues in Swoole source code
    The Swoole tutorial column introduces how to query Websocket connection issues.
    Swoole 3047 2020-11-17 17:01:29
  • Use webSocket and Swoole to create a small chat room
    Use webSocket and Swoole to create a small chat room
    Preface: This time we only record how webSocket and Swoole work together to create a small chat room. The function is simple, but it can be used as a good introductory case.
    Swoole 2247 2020-11-10 09:17:54
  • Solution to the problem when compiling and installing Swoole on Mac that the .h file does not exist
    Solution to the problem when compiling and installing Swoole on Mac that the .h file does not exist
    In fact, I really never thought that the installation process would be so Emmm... How to describe it, it is not difficult if you say it is difficult, but it is quite disgusting, and the Mac's own environment and some files are not Various problems caused by automatic loading.
    Swoole 2364 2020-11-05 16:26:30
  • What should I do if swoole prompts that php.ini cannot be found?
    What should I do if swoole prompts that php.ini cannot be found?
    Swoole prompts that "php.ini" cannot be found. The solution: first use the command "php -ini | grep Configuration" to check the location of "php.ini"; then copy a copy of "php.ini-developmen" from the source code to Just click "lib".
    Swoole 2973 2020-04-10 10:15:02
  • Is swoole a plug-in?
    Is swoole a plug-in?
    swoole is a plug-in, and swoole is a PHP asynchronous network communication engine for production environments; swoole has a plug-in system, Fckeditor, Adodb, pscws Chinese word segmentation, Chinese full-text indexing system, TokyoTyrant, which can infinitely expand the functions of the framework.
    Swoole 2821 2020-04-10 10:09:50
  • How swoole implements live broadcast
    How swoole implements live broadcast
    How swoole implements live broadcast: first create 2 monitors; then use the "jsmpeg" project to connect to the WebSocket service provided by Swoole to obtain video stream playback; then use "ffmpeg" to transcode the live video stream into "mpeg"; and finally use WebSocket Method to send video stream.
    Swoole 5459 2020-04-10 10:04:44
  • How swoole monitors redis data
    How swoole monitors redis data
    The method for swoole to monitor redis data: first create a new "RedisTest" event in the "App\Events" directory; then add the listening event code; then create a new "echo.conf" in the "/etc/supervisor/conf.d" folder; Finally, execute the command to reload.
    Swoole 3357 2020-04-10 10:00:40
  • How swoole manages the cluster
    How swoole manages the cluster
    The method of swoole management cluster: first start a server M; then in the startup process of A and B, start a client connected to M and listen for events; then send messages to all connected clients; finally find the specific Just connect to a certain connection and send the message directly.
    Swoole 3343 2020-04-10 09:56:22
  • How to shut down the daemon process with swoole
    How to shut down the daemon process with swoole
    How to shut down the process with swoole: first change the daemon process in the code to 0; then use the command "netstat -apn | grep 9503" to find the pid of this port number; then use the command "kill -9 18669" to kill the process; finally Just restart the monitoring program.
    Swoole 3523 2020-04-10 09:52:32
  • What should I do if the swoole client cannot connect?
    What should I do if the swoole client cannot connect?
    The solution to the problem that the swoole client cannot connect: first modify the server code and comment out the "$serv->close($fd);" part; then install "telnet" through the command "yum install telnet -y"; finally, pass "telnet" will restore the connection.
    Swoole 3928 2020-04-10 09:47:21
  • What should I do if the swoole service cannot be started?
    What should I do if the swoole service cannot be started?
    The swoole service cannot be started because after the inbound rules are turned on, the client and server cannot interact yet. The outbound rules must also be fully configured so that the ports can communicate with each other. The solution is to reconfigure the outbound rules and ports. .
    Swoole 4270 2020-04-10 09:30:54
  • What should I do if I get an error when accessing swoole?
    What should I do if I get an error when accessing swoole?
    Solution to swoole access error: first use the command "php -v" to check the version of php in the server; then execute the command "make && make install" to install; finally modify the code to "extension=swoole.so" to return to normal .
    Swoole 2293 2020-04-10 09:23:42

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