Capacity Provisioning for Server Farms

浪子不回头ぞ 提交于 2020-01-16 17:07:52

问题


Suppose I have N M/M/1 queues in parallel where an arriving job is equally likely to join one of the N queues. We want to keep the probability for a job to wait less than 0.2. Given that we have an arrival rate of 400 jobs/second, and a processing times are exponentially distributed with mean 1 second, how many servers would be required?

So my take on the question so far is:

\lambda = 400 jobs/second
\mu = 1 second

\rho = (\lambda)/(k\mu)

since we want to keep the probability of waiting less than 0.2, we would need the utilization of the server to be 80% or 0.8.

0.8 = (400)/(k*1) -> k = 500 servers.

来源:https://stackoverflow.com/questions/58808038/capacity-provisioning-for-server-farms

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