# 目錄
* [序章](swoole-concise-guide/SUMMARY.md)
* [1 環境搭建](swoole-concise-guide/book/chapter01/chapter01.md)
* [1.1 環境搭建](swoole-concise-guide/book/chapter01/install.md)
* [1.2 搭建Echo服務器](swoole-concise-guide/book/chapter01/echo_server.md)
* [2 初識Swoole](swoole-concise-guide/book/chapter02/chapter02.md)
* [2.1 Worker進程](swoole-concise-guide/book/chapter02/worker.md)
* [2.2 TaskWorker進程](swoole-concise-guide/book/chapter02/task_worker.md)
* [2.3 Timer定時器](swoole-concise-guide/book/chapter02/timer.md)
* [2.4 Process進程](swoole-concise-guide/book/chapter02/process.md)
* [2.5 Table內存表](swoole-concise-guide/book/chapter02/table.md)
* [2.6 多端口監聽](swoole-concise-guide/book/chapter02/port.md)
* [2.7 sendfile文件支持](swoole-concise-guide/book/chapter02/sendfile.md)
* [2.8 SSL支持](swoole-concise-guide/book/chapter02/ssl.md)
* [2.9 熱重啟](server/04.熱重啟.md)
* [2.10 http_server](server/14.swoole_http_server.md)
* [附錄*server配置](server/set.md)
* [附錄*server函數](server/function.md)
* [附錄*server屬性](server/04.swoole_server屬性列表.md)
* [附錄*server回調函數](server/02.swoole_server事件回調函數.md)
* [附錄*server高級特性](server/05.swoole_server高級特性.md)
* [3 Swoole協議](server/05.Swoole的自定義協議功能的使用.md)
* [3.1 EOF協議](swoole-concise-guide/book/chapter03/eof.md)
* [3.2 固定包頭協議](swoole-concise-guide/book/chapter03/head.md)
* [3.3 Http協議](swoole-concise-guide/book/chapter03/http.md)
* [3.4 WebSocket協議](swoole-concise-guide/book/chapter03/websocket.md)
* [3.5 MTQQ協議](swoole-concise-guide/book/chapter03/mtqq.md)
* [內置http_server](module/http_server.md)
* [內置websocket_server](module/websocket.md)
* [4 Swoole異步IO](swoole-concise-guide/book/chapter05/chapter05.md)
* [4.1 AsyncIO](server/08.swoole_async_IO.md)
* [異步文件系統IO](IO.md)
* [swoole_async_readfile](readfile.md)
* [swoole_async_writefile](writefile2.md)
* [swoole_async_read](read.md)
* [swoole_async_write](write.md)
* [5 swoole客戶端](module/client.md)
* [ws_client](module/ws.md)
* [http_client](module/http_client.md)
* [mysql_client](module/mysql.md)
* [redis_client](module/redis_client.md)
* [tcp_client](tcp_client.md)
* [http2_client](http2_client2.md)
* [6 swoole協程](module/coroutine.md)
* [http_coroutine](coroutine/http_coroutine.md)
* [mysql_coroutine](coroutine/mysql_coroutine.md)
* [redis_coroutine](coroutine/redis_coroutine.md)
* [sleep_coroutine](coroutine/sleep.md)
* [tcp_coroutine](tcp_coroutine.md)
* [7 swoole_process](module/process.md)
* [process::construct](process/construct.md)
* [process::start](process/start.md)
* [process::name](process/name.md)
* [process::signal](process/signal.md)
* [process::setaffinity](processsetaffinity.md)
* [process::exit](processexit.md)
* [process::kill](processkill.md)
* [process::daemon](processdaemon.md)
* [process->exec](process-exec.md)
* [process::wait](processwait.md)
* [process::alarm](processalarm.md)
* [8 swoole定時器](swoole_timer.md)
* [swoole_timer_tick](swoole_timer_tick.md)
* [swoole_timer_after](swoole_timer_after.md)
* [swoole_timer_clear](swoole_timer_clear.md)
* [9 swoole_event](swoole_event.md)
* [swoole_event_add](swoole_event_add.md)
* [swoole_event_set](swoole_event_set.md)
* [swoole_event_del](swoole_event_del.md)
* [swoole_event_wait](swoole_event_wait.md)
* [swoole_event_defer](swoole_event_defer.md)
* [swoole_event_write](swoole_event_write.md)
* [swoole_event_exit](swoole_event_exit.md)
- swoole簡介
- swoole功能概述
- 序章
- 開發必讀
- 1 環境搭建
- 1.1 環境搭建
- 1.2 搭建Echo服務器
- 2 初識Swoole
- 2.1 Worker進程
- 2.2 TaskWorker進程
- 2.3 Timer定時器
- 2.4 Process進程
- 2.5 Table內存表
- 2.6 多端口監聽
- 2.7 sendfile文件支持
- 2.8 SSL支持
- 2.9 熱重啟
- 2.10 http_server
- 附錄*server配置
- 附錄*server函數
- 附錄*server屬性
- 附錄*server回調函數
- 附錄*server高級特性
- 心跳檢測
- 3 Swoole協議
- 3.1 EOF協議
- 3.2 固定包頭協議
- 3.3 Http協議
- 3.4 WebSocket協議
- 3.5 MTQQ協議
- 內置http_server
- 內置websocket_server
- Swoole\Redis\Server
- 4 Swoole異步IO
- 4.1 AsyncIO
- 異步文件系統IO
- swoole_async_readfile
- swoole_async_writefile
- swoole_async_read
- swoole_async_write
- 5 swoole異步客戶端
- ws_client
- http_client
- mysql_client
- redis_client
- tcp_client
- http2_client
- 6 swoole協程
- Swoole\Coroutine\Http\Client
- Swoole\Coroutine\MySQL
- Swoole\Coroutine\Redis
- Coroutine\PostgreSQL
- Swoole\Coroutine\Client
- Swoole\Coroutine\Socket
- Swoole\Coroutine\Channel
- Coroutine
- Swoole\Coroutine::create
- Swoole\Coroutine::resume
- Swoole\Coroutine::suspend
- Swoole\Coroutine::sleep
- Coroutine::getaddrinfo
- Coroutine::gethostbyname
- swoole_async_dns_lookup_coro
- Swoole\Coroutine::getuid
- getDefer
- setDefer
- recv
- Coroutine::stats
- Coroutine::fread
- Coroutine::fget
- Coroutine::fwrite
- Coroutine::readFIle
- Coroutine::writeFIle
- Coroutine::exec
- 7 swoole_process
- process::construct
- process::start
- process::name
- process::signal
- process::setaffinity
- process::exit
- process::kill
- process::daemon
- process->exec
- process::wait
- process::alarm
- 8 swoole定時器
- swoole_timer_tick
- swoole_timer_after
- swoole_timer_clear
- 9 swoole_event
- swoole_event_add
- swoole_event_set
- swoole_event_del
- swoole_event_wait
- swoole_event_defer
- swoole_event_write
- swoole_event_exit
- swoole提供的function
- 常見問題
- 客戶端鏈接失敗原因
- 如何設置進程數
- 如何實現異步任務
- 如何選擇swoole三種模式
- php中哪些函數是阻塞的
- 是否可以共用1個redis或mysql連接
- 如何在回調函數中訪問外部的變量
- 為什么不要send完后立即close
- 不同的Server程序實例間如何通信
- MySQL的連接池、異步、斷線重連
- 在php-fpm或apache中使用swoole
- 學習Swoole需要掌握哪些基礎知識
- 在phpinfo中有在php-m中沒有
- 同步阻塞與異步非阻塞選擇
- CURL發送POST請求服務器端超時
- 附錄
- 預定義常量
- 內核參數調優
- php四種回調寫法
- 守護進程程序常用數據結構
- swoole生命周期
- swoole_server中內存管理機制
- 使用jemalloc優化swoole內存分配性能
- Reactor、Worker、Task的關系
- Manager進程
- Swoole的實現
- Reactor線程
- 安裝擴展
- swoole-worker手冊
- swoole相關開源項目
- 寫在后面的話
- 版本更新記錄
- 4.0