Web176教程
  • HTML
    • bootstrap4 教程
    • bootstrap5 教程
    • Canvas 教程
    • Canvas API
    • CSS 教程
    • CSS3 教程
    • HTML 教程
    • HTML5 教程
    • Less 教程
    • Sass 教程
    • SVG 教程
    • W3.CSS 教程
    • WebSockets 教程
    • XML DOM 教程
    • XHTML 教程
  • JavaScript
    • AngularJS 教程
    • Angular13 教程
    • AJAX 教程
    • JavaScript 教程
    • Vue2.0 教程
    • Vue3.0 教程
    • Axios 教程
    • Vue CLI 基础教程
    • React 教程
    • TypeScript 教程
    • Vant 教程
    • RequireJS 教程
    • JSON 教程
    • Ext.js 教程
    • ECMAScript 6 教程
    • jQuery EasyUI 教程
    • Next.js 教程
    • Nuxt.js 教程
    • RxJS 教程
    • RIOT.JS 教程
    • MomentJS 教程
    • WebGL 教程
    • Polymer 教程
    • Redux 教程
    • WebRTC 教程
    • Prototype 教程
    • Meteor 教程
    • CoffeeScript 教程
    • Ember 对象模型
    • Vant3 教程
    • Vant4 教程
    • ElementPlus 教程
    • Element-React 教程
  • 后端开发
    • Java 教程
    • Go 语言
    • ASP.NET 教程
    • C++ 教程
    • C# 教程
    • Hadoop 教程
    • R语言
    • Ruby 教程
    • JSP 教程
    • Python 教程
    • Yii 框架教程
    • Zend framework 教程
    • Apache CXF 教程
    • VB.Net 教程
    • VBScript 教程
    • Julia 教程
    • Perl 教程
    • Lua 教程
    • Kotlin 教程
    • MATLAB 教程
    • Spring Boot 教程
    • VBA 语言教程
  • 移动开发
    • Android 教程
    • Android SDK 指南
    • CrossApp 教程
    • Cordova 教程
    • Flutter 教程
    • Knockout 教程
    • HomeKit App 教程
    • iOS 开发手册
    • ionic 教程
    • React Native 教程
    • Swift 教程
    • Sencha Touch 教程
    • uni-app 教程
    • 小程序云开发学习指南
    • 云开发 – 云函数实现后端能力
  • 服务器
    • DOS 命令学习手册
    • Docker 从入门到实践
    • Dart 编码教程
    • Linux 教程
    • Nginx 教程
    • OAuth 2.0 教程
    • RDF 教程
    • Web Service 教程
    • UNIX 教程
  • 数据库
    • Cassandra 教程
    • MariaDB 教程
    • Memcached 教程
    • MongoDB 教程
    • Moralis Web3 企业级API
    • MS Access 教程
    • MyBatis 教程
    • MySQL 教程
    • neo4j 教程
    • Oracle 教程
    • Redis 教程
    • SQL 教程
    • Slick 教程
    • Spark 教程
    • Storm 教程
    • SQLite 教程
    • 云数据库OceanBase教程
  • 建站
    • Arduino 教程
    • Django 教程
    • FastAPI 教程
    • Flask 教程
    • Flask 中文教程
    • GoFrame 教程
    • Groovy 教程
    • Go Gin教程
    • Hibernate 教程
    • HTTP 教程
    • iris 教程
    • jUnit 教程
    • JFinal 教程
    • Python Tornado教程
    • Revel 教程
    • Servlet 教程
    • Struts2 教程
    • Swoole 教程
    • Spring IoC 教程
    • SWING 教程
    • WordPress 教程
    • WPF 教程
    • MyBatis-Plus 教程
    • Gin 教程
  • 开发工具
    • Apache Ant 教程
    • Chrome 开发工具
    • Composer 教程
    • Electron 教程
    • Flex 教程
    • Git 在线教程
    • Gradle 教程
    • Grunt 教程
    • HBuilder 教程
    • Maven 教程
    • Tableau 教程
    • Verilog 教程
    • Visual Studio Code 教程
    • Vite教程
    • Webpack 教程
    • 正则表达式
  • MORE
    • 问答社区
    • 资讯
      • 前端开发
      • 办公
      • SEO
登录 注册
投稿

Swoole 教程

swoole是运行在PHP下的一个extesion扩展,实际上与普通的扩展不同。普通的扩展只是提供一个库函数。而swoole扩展在运行后会接管PHP的控制权,进入事件循环。当IO事件发生后,swoole会自动回调指定的PHP函数。

  1. Web176教程首页
  2. Swoole 教程
  • Swoole 包含模块

    swoole_server 强大的TCP/UDP Server框架,多线程,EventLoop,事件驱动,异步,Worker进程组,Task异步任务,毫秒定时器,SSL/TLS隧道…

    admin admin
    Swoole 教程 2023年4月25日
  • Swoole 环境依赖

    swoole 环境依赖 仅支持Linux,FreeBSD,MacOS,3类操作系统 Linux内核版本2.3.32以上 PHP5.3.10以上版本,包括PHP7 gcc4.4以上版…

    唐伯虎点蚊香的头像 唐伯虎点蚊香
    Swoole 教程 2023年4月25日
  • Swoole 编译安装

    Swoole编译安装步骤 Swoole扩展是按照php标准扩展构建的。使用phpize来生成php编译配置,./configure来做编译配置检测,make进行编译,make in…

    冒牌SEO 冒牌SEO
    Swoole 教程 2023年4月25日
  • Swoole 基本实例创建

    构建一个Swoole基本实例 下面贴一个基本的基于swoole的echo服务器 // Server class Server { private $serv; public fun…

    terry terry
    Swoole 教程 2023年4月25日
  • Swoole 优化内核参数调整

    swoole优化内核参数调整 ulimit设置 ulimit -n 要调整为100000甚至更大。 命令行下执行 ulimit -n 100000即可修改。如果不能修改,需要设置 …

    admin admin
    Swoole 教程 2023年4月25日
  • Swoole server配置选项

    在swoole中,一个swoole_server的相关属性可以通过 $serv->set( $array configs ); 函数来配置,这些配置选项使得swoole更加灵…

    唐伯虎点蚊香的头像 唐伯虎点蚊香
    Swoole 教程 2023年4月25日
  • Swoole server事件回调函数

    在swoole中,一个swoole_server的拥有若干回调函数,这些回调函数决定了swoole_server的相关功能。可以通过 $serv->on( string $e…

    冒牌SEO 冒牌SEO
    Swoole 教程 2023年4月25日
  • Swoole server函数列表

    swoole_server函数列表 Table of Contents swoole_server::__construct swoole_server::set swoole_s…

    terry terry
    Swoole 教程 2023年4月25日
  • Swoole Coroutine协程支持

    Swoole在2.0开始内置协程(Coroutine)的能力,提供了具备协程能力IO接口(统一在名空间SwooleCoroutine*)。 2.0.2或更高版本已支持PHP7 协程…

    admin admin
    Swoole 教程 2023年4月25日
  • Swoole Server实例

    Swoole Server介绍 创建一个异步服务器程序,支持TCP、UDP、UnixSocket 3种协议,支持IPv4和IPv6,支持SSL/TLS单向双向证书的隧道加…

    唐伯虎点蚊香的头像 唐伯虎点蚊香
    Swoole 教程 2023年4月25日
  • Swoole Client实例

    Swoole Client介绍 swoole_client提供了tcp/udp socket的客户端的封装代码,使用时仅需 new swoole_client即可。 swoole的…

    冒牌SEO 冒牌SEO
    Swoole 教程 2023年4月25日
  • Swoole HttpServer实例

    Swoole HttpServer介绍 swoole-1.7.7增加了内置Http服务器的支持,通过几行代码即可写出一个异步非阻塞多进程的Http服务器。 常见使用场景:…

    terry terry
    Swoole 教程 2023年4月25日
  • Swoole Redis Server实例

    Swoole RedisServer异步客户端介绍 Swoole-1.8.14版本增加一个兼容Redis服务器端协议的Server框架,可基于此框架实现Redis协议的服…

    admin admin
    Swoole 教程 2023年4月25日
  • Swoole MySQL实例

    Swoole异步MySQL介绍 MySQL异步是指将MySQL连接事件驱动化,这样就编程了非阻塞IO。使用Swoole可以实现mysql异步链接,Mysql连接池等。 异步MySQ…

    唐伯虎点蚊香的头像 唐伯虎点蚊香
    Swoole 教程 2023年4月25日
  • Swoole AsyncIO实例

    Swoole AsyncIO异步文件读写介绍 swoole1.6.12后增加了异步文件读写,异步DNS等特性。自此建立了完整的异步并行API。 swoole_server…

    冒牌SEO 冒牌SEO
    Swoole 教程 2023年4月25日
  • Swoole Task实例

    Swoole Task异步任务介绍 swoole 的异步任务task系统可以很方便的为我们在开发的过程中调用异步任务的执行,而无需等待。 常见使用场景: task模块用来做一些异步…

    terry terry
    Swoole 教程 2023年4月25日
加载中…

Swoole 教程列表

  • Swoole 包含模块
  • Swoole 环境依赖
  • Swoole 编译安装
  • Swoole 基本实例创建
  • Swoole 优化内核参数调整
  • Swoole server配置选项
  • Swoole server事件回调函数
  • Swoole server函数列表
  • Swoole Coroutine协程支持
  • Swoole Server实例
  • Swoole Client实例
  • Swoole HttpServer实例
  • Swoole Redis Server实例
  • Swoole MySQL实例
  • Swoole AsyncIO实例
  • Swoole Task实例
Web176教程
  • 首页
  • 教程汇总
  • 网站地图

Copyright © 2024 Web176教程 All right reseved. 粤ICP备12067512号