That's what I do (queue & pusher).
Or, if I'm being too cheap for Pusher, I just have a web hook from whatever's processing the queue that notifies my app that it's done along with a message to the user with a link to the download, and then users' browsers ping the app with AJAX every 20-60 seconds for a new message.
Thanks for replying Matt, good to know I'm on the right track.
Niall.
Hi niallobrien, I'm in the same situation as yours and kind of new to the queue and pusher (web socket) things. I'm currently coding on queue for the data export but the queue seems not working. Could you provide the sample code for the implementation? Thank you.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community