Inquiry Regarding Concurrent VPS Usage
Inquiry Regarding Concurrent VPS Usage
Hello
let's say I and 99 other individuals each possess a VPS with, for instance, 4 GB of RAM and 4 CPUs within a data center, and each of us sends an HTTP request to a specific URL simultaneously using the Chrome browser.
I would like to understand if this impacts the system and the speed of my Chrome on the VPS due to others utilizing their VPS at the same time?
The straightforward answer is "Yes".
The
real
question you are posing is "To what extent?"
Which cannot be answered without significantly more information regarding the complete system.
I would assert UNKNOWN. Why? There is no way to ascertain how those 101 virtual servers are allocated among the physical hardware within that data center. You have created an unknowable dilemma by situating it in a data center. Not merely a host or even a rack of hosts, but a data center.
101 VMs on a single host (assuming each is running a copy of the web server servicing the URL) would influence one another.
101 VMs
uniformly
distributed across a rack of hosts? No impact on each other. The network traffic would be the sole potential impact, and HTTP traffic isn't optimal.
101 VMs in a data center is likely comparable to a rack, but it COULD be on a solitary physical host.
I am uncertain about the construction of the VPS, but they claim RAM and CPU are dedicated to me.
I conducted a test with my VPS as follows:
I programmed a JavaScript that sends the HTTP request at a predetermined time, and the program logs the time the request is sent. I observed that when there is minimal load from other VPS, the time discrepancy between the scheduled and logged time is approximately 20 ms,
but under high load from other VPS, it is around 1 second.
I want to understand why?
Aren't RAM and CPU allocated for me? Why would the operation of others affect my system?
How can you determine what the other VPSs are doing at that specific moment?
Other factors may influence, like bandwidth I/O.
I know because all the other VPS users wish to send their requests simultaneously, as if there is a competition to be the first in line.
How do you possess insights into other VPS servers? Only the cloud administrator would have that information.
I mentioned it is a competition to be the first in line, so I am aware other users want to be first and they perform the same requests at the same time.
I did not comprehend your point.
Everything is explicit; suppose 100 users aim to send a request to a website at 12:00:00, and the website receives their requests and queues them to serve one by one.
My question is, why when I send my request at other times does Chrome show no delay, but at 12:00:00 there is a 1-second delay in sending the request?