Quantcast
Channel: Active questions tagged containers - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 164

Increase concurrent users by limiting container resources with docker-swarm

$
0
0

Consider the scenario where I have:

  • 4 replicas of an app
  • 4 cores
  • On load, the app consumes 100% for a single core

Can I tell each replica to only use 50% of the core and if so, would this allow at most 8 simultaneous connections to the app? I have just dipped my toe into this stuff so an feedback would be appreciated.


Viewing all articles
Browse latest Browse all 164

Trending Articles