Optimize Laravel Script for Server Performance -- 3

Job ID: 38932345

Budget: $10 – $50 USD

I am facing performance issues with my Laravel-based photo stock website when uploading bulk images. Here's an overview of the problem:

Issue Description:

Bulk uploads of images (both AI-generated JPGs and regular camera photos) cause the server to slow down significantly.
When images reach 99% upload, other pages and requests become unresponsive.
The issue occurs regardless of the type of image file, but it is more noticeable during bulk uploads.
Environment Details:

VPS Specifications:
16GB RAM
8-Core CPU
CyberPanel Installed


Tried stripping metadata using ExifTool.
Adjusted server settings for LiteSpeed and PHP.
Tested with different types of images, including AI-generated and regular camera photos.

The script is built on Laravel.
Related categories: PHP Linux MySQL HTML Laravel