应用程序 B 被许多客户端使用,那么哪个(工具)将扩展 B?
Application B is used by many client so which (Tools) will scale the B?
所以我在 docker 中有三个微服务(图像 A、B 和 C)。
微服务的唯一优势是根据需要扩展它,在我的例子中,我想扩展 B.
那么当我们有更多的需求时,如何进行服务的扩展(+或-)。
哪些工具可以扩展 B?
两个主要的是:
- docker swarm (GitHub repo): see docker/swarm-microservice-demo-v1
- Kubernetes (GitHub repo): see for instance "Scaling Kubernetes Microservices on OpenStack”。
The only advantage of micro-service is scale it if required
不是"the only advantage":也是隔离,更好的利用主机资源。
所以我在 docker 中有三个微服务(图像 A、B 和 C)。
微服务的唯一优势是根据需要扩展它,在我的例子中,我想扩展 B.
那么当我们有更多的需求时,如何进行服务的扩展(+或-)。
哪些工具可以扩展 B?
两个主要的是:
- docker swarm (GitHub repo): see docker/swarm-microservice-demo-v1
- Kubernetes (GitHub repo): see for instance "Scaling Kubernetes Microservices on OpenStack”。
The only advantage of micro-service is scale it if required
不是"the only advantage":也是隔离,更好的利用主机资源。