Back

Export Data in Background


Hi all,

I am currently working on exporting large amount of data from the app. I'd like to the task to work in the background and notify the user when the export has been completed. Right now I'm thinking that I'll pop the job on to a queue and use websocket (or pusher) to notify the user when it's complete with a link to download. Is it the right solution? Could anyone please help provide the sample implementation of laravel queue for data retrieval? I couldn't find any example of that, and only found a lot of examples of queue for sending emails.

Thank you.


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us