php-usergroup-dresden / talks

Slides / Talks of the PHP Usergroup Dresden Meetings
http://phpug-dresden.org
11 stars 1 forks source link

Async PHP requests & reactive responses with php-fpm #20

Closed hollodotme closed 7 years ago

hollodotme commented 7 years ago

There are many approaches to execute PHP sub-tasks asynchronously or to parallelise PHP execution. While some solutions require extra extensions, individual PHP builds or a lot of process control management, this talk will show you how to configure and use the built-in PHP FastCGI Process Manager (php-fpm) to execute requests asynchronously in an isolated, tunable process pool and eventually handle their responses in a reactive way.