WordPress “Max IO Speed” Issue
-
I’ve been working to develop a Python script that serves as a “database sync” between a database the company operates and a WooCommerce product database. I use the WooCommerce REST API to push data to the site, but I’ve run into a small issue.
First, I should note, we have a cheap server we currently are renting with very rough specs and a maximum IO allowed speed of 10 MB/s. As soon as development/testing finishes, we will be upgrading.
The issue is this: if I push a product to the WooCommerce product database, it is possible that the images sent in the “post” command are simply too big and the server tries to download all 8 of them at the same time, surpassing the 10 MB/s cap on the machine. I’ve noticed that with some 4k pixel images, it simply gives up and returns a server 503 error. I’ve come to three possible solutions and would like input.
1. I simply ignore this issue because we do intend to use a stronger server for live.
2. By some means, I instruct either the Python code OR the WordPress website to never allow any action to hit or pass this 10 MB/s cap.
3. I split the post command into a post command with 1 image and then however many updates necessary to push each image one at a time to the product.Our test machine is rented from GoDaddy. We don’t plan on using GoDaddy once we roll the site out to a larger audience.
Thank you for your time!
- The topic ‘WordPress “Max IO Speed” Issue’ is closed to new replies.