Re:Ask HN: Ideas for load balancing under Apache?
by jesusmichael on Thursday May 15, 2014 @10:42AM
(#7749671)
You could run the plugin as a cron job on off-peak traffic hours.
Re:Ask HN: Ideas for load balancing under Apache?
by JohnQUnknown on Monday May 19, 2014 @07:10AM
(#7766847)
I actually did that, I disabled the wp-cron function and switched to crontab.
I am currently monitoring the server to see if this helps or if the issue is somewhere else.
Thanks for the suggestion!
I have been analyzing its code and it's not optimized at all (not that I was surprised when I found out), it seems to not have any kind of limitant on how many posts it creates on the wordpress site (it creates posts to the DB) and it hogs up all resources. I have convinced my friend/client that the best way is to avoid using that plugin for now until it is optimized (by me, obviously... sigh), and it seems like we will start using some kind of caching system as well as CDNs to leverage the toll the sites take with traffic (I'm not really worried about that).
All in all, I guess it'll come up as a total rewrite of the plugin he is using and implementing a caching system along with a CDN system for static files as suggested in your comments.
Thanks a lot again for all your help!