<p>Assume a VM with 4 cores. I have a docker image which has a web application that provides some REST services. I am using K8S to deploy this application on that VM. So, is there any difference if I use a single pod on the single VM  vs  mutiple pods on the same host, in terms of performance. </p>

<p>For people who don't know K8S, assume we have some application that provides some REST services. Is there any advantage of using multiple instances of such application in terms of a performance increase like increased rate of serving requests ?</p>

kaushalpranav
<p>Personally, I think the performance had better to run <code>multiple pods</code> on the same host. I don't know what <code>web server</code> you use, but the requests are processed by <code>limited cpu time</code>, though it has <code>multiple processes</code> or <code>threads</code> for work. Additionally it's more efficient to utilize cpu time during <code>network I/O waiting</code> in using multiple processes. In order to improve the <code>throughput</code>, you should increase the processes or instances to work horizontally, because the <code>response time</code> is getting slower as time past.</p>
