Swoole: From Introduction to Practical Tutorial
quick get start
-
Getting Started with Installing and Using Swoole Extensions -
Implementation of High Performance HTTP Server Based on Swoole -
Implement simple WebSocket server and client based on Swoole -
Integrating Swoole in Laravel to Realize WebSocket Server
Asynchronous processing
-
Millisecond level task scheduling based on Swoole timer -
Implementation of asynchronous task queue in Larravel based on Swoole -
Implementation of asynchronous event monitoring and processing in Larravel based on Swoole
Concurrent programming
Multi thread
-
Multi process implementation in PHP through the Process module (I): simple multi process TCP server implementation -
Realization of Multi process in PHP Based on Process Module (2): Inter process Communication -
Realize persistent connection between database and Redis through process pool based on Process Pool -
Realize data sharing of Swoole multi process through Swoole Table
Co ordination
-
Implementation of collaboration based on Swoole Part I: Basic concepts and underlying principles -
Implementation of concurrent programming based on Swoole (II): Concurrent programming through concurrent programming -
Implementation of coroutine based on Swoole Part 3: Using coroutine in the Laravel framework -
Implementation of MySQL connection pool through co scheduling based on SMProxy
Underlying principle
-
The underlying architecture and operating principle of Swoole -
Optimization principle and precautions of Swaole driven Laravel application
Practical demonstration
-
Implementation of real-time bullet screen function supporting high concurrency based on Larravel+Swoole+Vue components (I) -
Implementation of real-time bullet screen function supporting high concurrency based on Larravel+Swoole+Vue components (Part 2) -
Building a real-time online chat room based on Larravel+Swoole+Vue (I): environment preparation -
Building a real-time online chat room based on Larravel+Swoole+Vue (II): Implementation of background database preparation and API authentication functions -
Building a real-time online chat room based on Larravel+Swoole+Vue (III): implementation of background WebSocket server -
Building a real-time online chat room based on Larravel+Swoole+Vue (IV): front-end resource initialization -
Building a real-time online chat room based on Larravel+Swoole+Vue (V): Homestead development environment initialization -
Building a real-time online chat room based on Larravel+Swoole+Vue (VI): establishing the connection between the socket.io client and the Swoole Websocket server -
Building real-time online chat rooms based on Larravel+Swoole+Vue (7): Implementation of front-end user authentication function based on Muse UI 3.0 -
Building a real-time online chat room based on Larravel+Swoole+Vue (VIII): reconstruction of the websocket server and user authentication -
Building a real-time online chat room based on Larravel+Swoole+Vue (9): realizing the function of customer service robot based on Turing robot interface -
Building a real-time online chat room based on Larravel+Swoole+Vue (10): the number of unread messages obtained after the user logs in -
Building a real-time online chat room based on Larravel+Swoole+Vue (XI): access to the chat room to obtain historical chat records -
Building a real-time online chat room based on Larravel+Swoole+Vue (XII): Implementation of the function of joining and exiting chat rooms -
Building a real-time online chat room based on Larravel+Swoole+Vue (XIII): sending text/facial expression messages -
Building a real-time online chat room based on Larravel+Swoole+Vue (XIV): sending picture messages -
Building a real-time online chat room based on Larravel+Swoole+Vue (XV): realizing the upload function of user's avatar -
Building a real-time online chat room based on Larravel+Swoole+Vue (XVI): Polling to maintain long connection optimization -
Building a real-time online chat room based on Larravel+Swoole+Vue (XVII): optimization of user authentication logic for Websocket
Online chat room project source code: https://github.com/nonfu/webchat
Subscription Service