Talk in English - US at Midwest PHP 2019
View Slides: https://slides.mwop.net/2019-03-08-Async-Middleware/
Short URL: https://joind.in/talk/33134 (QR-Code (opens in new window))
Your middleware application or API relies on heavy processing, but you don't need your clients to know that. How can you speed up returning a response? Typical scenarios involve message queues, but that's a whole new architectural nightmare. Is there a better way?
In this session, we'll look at various Asynchronous approaches to writing PHP, including the Swoole extension, and how they can answer this very question, allowing you to both improve performance for your users, as well as scale your application.
Comments are closed.
Been a while since I dug into async php so this talk was a great way to get up to speed with possible solutions. Pros and cons list are very helpful. Speaker kept my attention and went deep enough into this stuff for me to get an understanding without overwhelming.
I'm always looking for viable opportunities to make use of code I've already got kicking around in php to also help my background worker type tasks. I've done things like start php scripts from the cli that daemonize and loop on a message queue in order to have my familiar toolkit of code available to me in that context. So, I really appreciated the overview of Swoole. I did feel like there was a high information density and was only able to get a rough idea of the potential gotchas and zend-expressive-* packages that aim to solve them.
Good overview of Swoole and Expressive. Speaker kept me engaged.
This talk was highly technical and contained perhaps the best explanation of middleware I've ever seen. The talk started with a number of definitions of various PSR specs, but a bit more of explanation of what these broad titles mean up front might help listeners follow the talk as it builds.
Really interesting talk and loved the step by step delivery, walking through the various options and the reasons that led to modern abstractions.