Talk in English - US at SunshinePHP 2019
Track Name:
Key Biscayne 2
View Slides: https://app.ludus.one/1fbdbe88-e991-48f0-81a1-f751c487b0d8#1
Checkout the code: https://github.com/doug7410/queue-demo/tree/multi-queue
Short URL: https://joind.in/talk/4ae3f
(QR-Code (opens in new window))
A common problem we face as web developers is providing a good user experience while running a time-consuming process. A great solution to this problem is background jobs, to run in a queue and let users continue with the flow of the app. Popular PHP frameworks have built-in solutions for this, but what if we needed to implement a queue in plain old PHP or an application we hobbled together using components? This talk will show you how to set up a queue system that’s perfect for any PHP application, using tools already available in the language. No frameworks or packages required!
Comments
Comments are closed.
I very much applaud the speaker for stepping up and presenting at the last minute. The talk itself needs a few more iterations for polish and refinement. There is a good seed here that needs time to grow. A critical mentor that can positively nitpick could turn it into a really good presentation.
Awesome talk, many useful and real code examples. Loved it!
I loved how this talk demystified the concept of queues and queue workers. Doug took us through a basic but usable implementation in a very short time. I doubt, e.g., Laravel developers will want to switch to using custom code for job queues, but it may be helpful for people who aren't using a framework yet. Even for people who are, reading the simplified code for Doug's implementation would probably be a great start for diving into the internals of something like Laravel Horizon or Pheanstalk. Exercises like this can help us build our knowledge and confidence level about the tools we use.