Creating a job/queue system from scratch, it’s not that hard

Doug Steinberg (09.Feb.2019 at 14:45, 1 hr )
Talk at SunshinePHP 2019 (English - US)

Rating: 4 of 5

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!

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

Please note: you are not logged in and will be posting anonymously!
= nine minus six


Rating: 3 of 5

11.Feb.2019 at 05:04 by Travis Fettig (5 comments) via Web2 LIVE

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.

Rating: 5 of 5

11.Feb.2019 at 09:23 by Carla Gouveia (3 comments) via Web2 LIVE

Awesome talk, many useful and real code examples. Loved it!

Rating: 5 of 5

13.Feb.2019 at 16:48 by Bill Yanelli (10 comments) via Web2 LIVE

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.

© 2019