Talk in English - US at php[tek] 2023
Track Name:
PHPUgly Hall
View Slides: https://speakerdeck.com/ericmann/asynchronous-awesome-2833c70f-2b6d-44be-8789-0b6192cff72b
Short URL: https://joind.in/talk/0880f
(QR-Code (opens in new window))
Sometimes, our use of PHP grows beyond the typical request/response cycle of dynamic page generation. Unfortunately, the threaded nature of PHP - and the stateless nature of the server - betrays any efforts to expand our utilization of the server. Image processing, video rendering, APNS (Apple Push Notification Service) integration - any of these can easily take longer than is reasonable for a simple page request. Enter tools like message and job queues that empower daemonized PHP workers to handle data processing in the background. Yet further tools enable long-running event loops and asynchronous Promise-driven operations. PHP isn’t multi-threaded, but that doesn’t mean you’re limited to a single-thread paradigm. I will demonstrate various use cases necessitating asynchronous operations, then delve into the code and the tools that make these systems work. Every attendee will leave armed with new ways to think about the management of large data jobs in PHP and an understanding of the tools they can use to make it happen.
Comments
Comments are closed.
Great introduction to Fibers, AMPHP & Queues. Asynchronous is awesome! 😎
Eric was a very engaging speaker, and explained the different options for writing asynchronous code in PHP. This is definitely something I'll explore for my company!
Eric was able to keep a great pace during this very informative talk, and consistently kept the audience engaged. Great information, presented very well. Easily one of the best talks this year!
Great talk diving into Fibers and queuing with PHP. Eric did great taking the time to explain core concepts before diving deeper, ensuring attendees could walk away with tangible take-aways. Great talk, well presented!
Only critique was some slides were a bit wordy in a small text area, could reduce the border and make wording more concise for improved readability and comprehension.
Good talk, about the state of async, however some more insight on more practical applications would have been great, the example perfectly illustrates how it works but speaking with some people that maybe won't leave feedback, they couldn't grasp on the why.
Great introduction to Fibers, AMPHP & Queues. Yes, WordPress is a valid/good platform. Thank you Eric!