Hi @jason2021168
I hope you’re well today and thank you for your question!
The optimization itself is done on our servers so processing images doesn’t require resources of your server.
However, the entire process may and will use site’s resources anyway. This is because plugin must
– read information about each image from site’s database
– read all the related image files from server and send them via API to our optimization app
– the retrieve optimized images
– save them to your server
– and update data in DB
Depending on the site and media library content, it may mean quite a lot of disk read/write operations and DB queries.
13 000 images isn’t small amount but I do not know how many images there really are. Note that if you see e.g 100 images in Media Library, in reality that will be close to 400 image files on default setup and on some setups may be many more.
This is because whenever you upload image to your site, your WordPress creates additional copies of it in multiple sites. By default there’s an original image and 3 smaller images (sometimes additional big image if original uploaded is really huge) but plugins and themes may register additional image sizes, increasing the real number of files generated per each uploaded images.
So I’d say with 13 000 images there’s probably around at least 50 000 image files to be read, sent to our API, fetched back and saved to server; maybe more if theme/plugins added additional sizes.
While I understand your concerns about memory usage and time, I’m afraid I cannot really estimate any of them. The number of images won’t really affect memory usage much but it surely will affect optimization time. Yet, I can’t tell how long it will be because it depends on how fast your site/server is (in terms of reading writing files and data in db), how fast your site’s connection is, how big are these images, what is the current (at any given moment) “load” on our end and so on…
Basically, the more image and image sizes, and the bigger images are, the more time it will take.
Kind regards,
Adam