ReactPHP
ReactPHP: Event-driven, non-blocking I/O with PHP - ReactPHP
PHPで非同期処理したいときに使う
Node.jsにインスパイアされているらしい
資料
第21回関西PHP勉強会 ReactPHPは もっと流行って欲しい #phpkansai
こういうときに使える
https://gyazo.com/1db516ae5f727ba30e85377d770076e6
https://www.slideshare.net/tanakahisateru/react-phpshouldbepopular#23
注意
メモリに常駐するので気をつけよう
I/O待ちに別のリクエストにstaticを上書きされるかもしれない
LaravelなどのFWではまだ使えないだろう
React-PHP Laravel Integration · Issue #464 · laravel/ideas
amp for laravel~ · Issue #169 · amphp/amp
これはAmphp
The biggest problem will be blocking I/O, which is any I/O that Laravel does. If you don't use Laravel's I/O functions, everything should be fine. But I guess these are a lot of things that can't really be used.
#PHP