I have a proyect developed in the laravel framework which works fine, when the user uploads various images in the project it starts to slow down and the website returns this error of connection timeout or server response: 0. This error only happens after uploading 20 or 30 images. the request is per image, the request is sent, the image is uploaded and then the next request is sent to the server to upload the next image. I believe the server is using all the resources and that is why after a while the website starts to crash down and slow down. I am using an EC2 instance based on linux, here is a screenshot of the specifications. If I need to change the EC2 instance to a bigger one which one do you recommend to meet this requirements? Average Size of image:7MB , I am using S3 to store the images and dropzone js, the configuration is made to sent one image by one image.
Currently selected: t2.micro (Variable ECUs, 1 vCPUs, 2.5 GHz, Intel Xeon Family, 1 GiB memory, EBS only)
Thanks a lot!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire