Talk in English - US at SunshinePHP 2020
View Slides: https://slides.mwop.net/2020-02-08-sunshinephp-async-middleware/
Short URL: https://joind.in/talk/ecbca (QR-Code (opens in new window))
The rise of Node.js has many developers interested in asynchronous web application development, as it allows offloading heavy processes in order to provide snappy responses to clients. How can you achieve this in PHP, particularly with middleware architectures? Swoole, AMP, and ReactPHP each provide PHP with async operations, but which should you choose? In this session, we'll learn about each, but also cover how to code your middleware, handlers, and their dependencies so that they play well in an async environment, allowing you to leverage its scaling and performance benefits.