Swoole5 带 PHP 走向远方 韩天峰 PHPCON2019
介绍 Swoole4.4 版本近1年的变化,包含大量内核研发的技术细节、程序架构设计。介绍 Swoole5 正在进行中的技术研究、未来会带来哪些新特性。
展开查看详情
1.Swoole 5 PHP
2.PHPCon PPT https://github.com/ThinkDevelopers/PHPConChina PPT PHPCon
3.1. 2. Swoole Twosee 3. PHP & Swoole
4.Swoole 4.4 1. Hook curl proc_open shell_exec gethostbyname 2. 3.
5. Pipe Http2 Server & Client Redis System API TCP Server & Client Http Server & Client MySQL Sleep Coroutine::Socket Channel Coroutine PHPCoroutine Reactor Process Context Signal
6.
7.co_mt + C/C++
8.
9.C++
10.
11.
12.Swoole PHP Library 1. PHP Swoole 2. include/require composer 3.
13.
14.Server HttpServer
15.
16.1. CPU 2. + VM Interrupts 3. Erlang C++/Golang
17.
18.1. 2. Coroutine::disableSchedule() 3. Coroutine::enableSchedule()
19.1. API 2. Buffer Serialize 3. Event::wait 4. Runtime::enableCoroutine hook_flags
20.
21.
22.• • CI • RFC • Code Review
23.
24.
25.
26.Swoole
27.Hyperf 1. https://github.com/hyperf-cloud/hyperf 2. PHP 3. composer create-project hyperf/hyperf-skeleton 4. composer require hyperf/di
28.TarsPHP 1. https://tarsphp.gitbook.io/doc/tarsphp 2. : C++ JAVA NodeJS 3. : , PHP ? 4. : , , 5. : SWOOLE ,
29.Swoole Tracker 1. https://www.swoole-cloud.com/index.html 2. PHP-FPM Swoole APM 3. stats trace profile debug PHP & Swoole 4. PHP Swoole