如何在SAP云平台的CloudFoundry环境里对应用进行水平扩展

54 阅读1分钟

Created by Wang, Jerry, last modified on Jul 04, 2016

Similarly, running additional instances of an app can allow an app to handle increases in user load and concurrent requests. These adjustments are called scaling.
Scaling your app horizontally adds or removes app instances. Adding more instances allows your application to handle increased traffic and demand.

Scaling your app vertically changes the disk space limit or memory limit for each app instance

.

Increase the memory limit for each app instance:

cf scale cf-spring -m 1G

Increase the disk limit for each app instance:

cf scale cf-spring -k 512M
要获取更多Jerry的原创文章,请关注公众号"汪子熙":