TinyPNG uses too much CPU
-
I am using TinyPNG on many sites for a long time and I absolutely love it.
Uploads are not processing automatically on the background in my case which does not bother me, and once in a while I just hit the bulk optimisation button.
The script then goes through the unoptimised images, takes 5 and sends them to the API. Now that creates 5 processes on my web server, each lasts around 18 seconds and each takes about 80 MB of RAM. Now that’s 400 MB of RAM, even I have virtual SSD hosting with 1GB of RAM, with additional traffic on other domains, whole virtual machine resources can easily get exhausted and all domains starts to return 503. Once I stop bulk optimisation, sites come back online.
I know that this could be solved by upgrading my HW, but I feel that this could be troubling to some people on lower HW configurations. I would be happy if the plugin allowed me to set maximum number of parallel connections as a trade-off to slower bulk optimisation but less overload on the hosting.
- The topic ‘TinyPNG uses too much CPU’ is closed to new replies.