Openshift haproxy - Web 服务休眠
Openshift haproxy - web-service hibernated
我正在使用托管在 openshift
上的小型网络应用程序,该应用程序实际上是一个网络服务。因为我的应用程序是 scalable
,它由 haproxy
load baloancer 维护。但是我注意到我的应用程序在一段时间后休眠了。
为什么会这样?
haproxy 是否能够维护 Web 服务应用程序?
事实证明,这只是术语问题,因为可扩展并不意味着它不会闲置。这样问题就解决了。
如前所述here"Openshift suspends and serializes apps without much activity after a given period, and the first time they 'wake' they deserialize and this takes time."
我正在使用托管在 openshift
上的小型网络应用程序,该应用程序实际上是一个网络服务。因为我的应用程序是 scalable
,它由 haproxy
load baloancer 维护。但是我注意到我的应用程序在一段时间后休眠了。
为什么会这样? haproxy 是否能够维护 Web 服务应用程序?
事实证明,这只是术语问题,因为可扩展并不意味着它不会闲置。这样问题就解决了。
如前所述here"Openshift suspends and serializes apps without much activity after a given period, and the first time they 'wake' they deserialize and this takes time."