Manually route to application instances

空扰寡人 提交于 2019-12-11 05:54:27

问题


As an OpenPaaS, Cloud Foundry supports to scale up and down application instances just with simple VMC command: vmc instances <appname> <num|delta>, as I know.

Even Cloud Foundry supports dynamically route the "user" requests to the instances. It's very good!

And here, what I want to know is if Cloud Foundry supports that I manually (maybe some commands or other technicalities) route for using the instance? For example, when I scale up two instances and one of them is very busy to response "user" requests, so in this case, I want to route the "user" requests to the "lazy" instance manually!


回答1:


In Cloud Foundry when you add instances to your app, it actually does sticky session. There isn't a way for users to direct traffic to a specific instance.



来源:https://stackoverflow.com/questions/12686567/manually-route-to-application-instances

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!