Wordpress on Openshift, very slow to respond

2019-05-06 10:26发布

I've just moved my Wordpress website on OpenShift PAAS ecosystem, on a scalable PHP cartridge. But I immediately noticed the website is really slow to respond - around 3000/4000 milliseconds. BUT, when it starts to respond, the page loading/rendering is absolutely fast.

here's the url: http://gabrielebaldassarre.com

just to give you a comparison, this static website is hosted on the same AWS Region: http://extras.gabrielebaldassarre.com/tos5-4

For that reason, I pointed this bottleneck to the nameservers I use (from Cloudflare, because of naked CNAME needs), but using a online tester, they seems ok.

I wouldn't say that my Wordpress is a vanilla config, but it's not a mammoth, after all. And loading time after response starting is ok.

I'm wondering if there is something wrong with HAProxy, or my OpenShift configuration, but I don't know how to check or what to do about.

any idea?

2条回答
劫难
2楼-- · 2019-05-06 10:35

Since your a free user, I'm assuming that your application is deployed on small gears. Depending on the size of your application, that may not be enough. Try signing up for the bronze plan and see if your application performance improves on a medium or large gear.

查看更多
劳资没心,怎么记你
3楼-- · 2019-05-06 10:38

Openshift suspends and serializes apps without much activity after a given period, and the first time they 'wake' they deserialize and this takes time.

查看更多
登录 后发表回答