ian.buss's avatar

Laravel Jobs / Filesystem Questions?

Hey guys first post with the Laravel forum here

I’m building a pretty intensive project and unfortunately due to being done over by my ISP I’m super behind schedule developing this project and I was wondering if someone could confirm my general methodology/module build plan. If anyone is nice enough I would graciously accept any feedback / ideas on how to achieve this if my thought process is completely bonkers.

I want to clarify this is not me asking for the code itself. I’m confident in my abilities to build the code if these things exist it’s just my first time with Laravel and I want to… well… dive in with confidence and make sure I do this in a way that is secure and stable.

So what’s it about?

The project requires that trusted admins can upload a massive amount of tracks (1000-5000) tracks at a time via FTP to a specific storage directory held on the user-facing site. Using a laravel event listener I can trigger a Laravel job to then start processing those uploaded files. I can then grab the getID3 extension, use PHP LAME extension to convert the file to MP3, create the file hash name, and store the file data in my DB, move both the WAV & MP3 files to AWS S3, and then finally delete the local uploaded file. I’m planning on releasing/managing the project through Forge/Envoyer. Which I have also never used before.

I’d like to make it as simple as possible: being able to stay within the user facing site (example.com) rather than using something like (resources.e1xxample.com) would be ideal. I’m concerned that during this scanning/processing it can impact the users experience on the site and I’d like to keep a near 100% up time for them and prevent them from every have their experience hindered by these root/trusted admins adding new materal. With Laravel Queued jobs can I implement this last feature so that this has the lowest priority on site processing. Does Forge/Envoyer provide a scalable interface to cope with this amount of processing?

And more importantly is this even possible?

I appreciate any guidance / feedback.

Thanks, Ya'll rule.

0 likes
0 replies

Please or to participate in this conversation.