Question Using VPS by many people at the same time

Jan 19, 2023
19
1
15
Hi
suppose I and others for example 100 person each have a VPS with for example 4 GB ram and 4 CPU whitin a data center and each of them send an http request to a specific URL at a same time with chorme browser .

I want to know if it affects the system and the speed of my chrome in VPS because of the other people use their VPS at that time?
 
Hi
suppose I and others for example 100 person each have a VPS with for example 4 GB ram and 4 CPU whitin a data center and each of them send an http request to a specific URL at a same time with chorme browser .

I want to know if it affects the system and the speed of my chrome in VPS because of the other people use their VPS at that time?
The basic answer is "Yes".

The real question you're asking is "How much?"
Which cannot be answered without a LOT more info on the entire system.
 
Hi
suppose I and others for example 100 person each have a VPS with for example 4 GB ram and 4 CPU whitin a data center and each of them send an http request to a specific URL at a same time with chorme browser .

I want to know if it affects the system and the speed of my chrome in VPS because of the other people use their VPS at that time?
I would say UNKNOWN. Why? There is no way to know how those 101 virtual servers are distributed among the physical hardware in that data center. You made it an unknowable problem by having it be a data center. Not a host or even a rack of hosts, but a data center.
101 VMs on a host (assuming each is running a copy of the web server servicing the URL) would impact each other.
101 VMs evenly spread across a rack of hosts? No impact to each other. The network traffic would be the only possible impact and HTTP traffic is not great.
101 VMs in a data center is probably the same as a rack, but it COULD be on a single physical host.
 
I dont know how the VPS is made but they say RAM and CPU is dedicated for me.
I made a test with my VPS as follows
I wrote a javascript program that send the http requst at specific time and program registers the time that request is sent. I obsereved that when there is low load of other VPS the time difference from set and registered time is around 20 ms
but at high load of other VPS is around 1 second .
I want to know why ?
aren't RAM and CPU for me? Why would anyone else's function work affect my system ?
 
I dont know how the VPS is made but they say RAM and CPU is dedicated for me.
I made a test with my VPS as follows
I wrote a javascript program that send the http requst at specific time and program registers the time that request is sent. I obsereved that when there is low load of other VPS the time difference from set and registered time is around 20 ms
but at high load of other VPS is around 1 second .
I want to know why ?
aren't RAM and CPU for me? Why would anyone else's function work affect my system ?
How do you know what the other VPS's are doing at that particular instant?

Other things may impact, like bandwidth I/O.
 
I dont know how the VPS is made but they say RAM and CPU is dedicated for me.
I made a test with my VPS as follows
I wrote a javascript program that send the http requst at specific time and program registers the time that request is sent. I obsereved that when there is low load of other VPS the time difference from set and registered time is around 20 ms
but at high load of other VPS is around 1 second .
I want to know why ?
aren't RAM and CPU for me? Why would anyone else's function work affect my system ?
How do you have insight on other VPS servers? Only the cloud admin would have that insight.
 
I said , it is a competition to be the first one in a que , so I know other users wants to be the first one and they do the same request in the same time .
Dribbling out little tiny bits of information does not help us out here, help you.

Having a dedicated bit of RAM and CPU has nothing to do with whose requests get to the server first, or how they are sequenced, and then processed.
 
Dribbling out little tiny bits of information does not help us out here, help you.

Having a dedicated bit of RAM and CPU has nothing to do with whose requests get to the server first, or how they are sequenced, and then processed.
I did not get what you mean .
everything is clear , suppose 100 user wants to send a request to a website at time 12:00:00 and website receive their request and put them in a que and serve them one by one .
my question is why when I send my request at other time chrome has no delay but at time 12:00:00 chrome has 1 second delay to send the request .
 
I said , it is a competition to be the first one in a que , so I know other users wants to be the first one and they do the same request in the same time .
That has NOTHING to do with VPS or "noisy neighbors" on a host.
That is about how far away and how the internet has routed the requests.
I did not get what you mean .
everything is clear , suppose 100 user wants to send a request to a website at time 12:00:00 and website receive their request and put them in a que and serve them one by one .
my question is why when I send my request at other time chrome has no delay but at time 12:00:00 chrome has 1 second delay to send the request .
We (or at least I) don't understand WHAT you are trying to understand. Is this a real situation or a made up scenario ? In your scenario is it a 1 second delay to send? Or a 1 second delay at receipt? Or a 1 second delay in generating the response ? Those are all very different situations.

suppose 100 user wants to send a request to a website at time 12:00:00 and website receive their request and put them in a que and serve them one by one .
You make an assumption about the website here. Most commercial websites are written so that all 100 (or 1000) requests can be handled IN PARALLEL. They use load balancing hardware and dozens of hosts behind the single entry point. Google.com doesn't queue requests to a single host. There are 1000s of geographically diverse hosts processing requests in parallel.
 
That has NOTHING to do with VPS or "noisy neighbors" on a host.
That is about how far away and how the internet has routed the requests.

We (or at least I) don't understand WHAT you are trying to understand. Is this a real situation or a made up scenario ? In your scenario is it a 1 second delay to send? Or a 1 second delay at receipt? Or a 1 second delay in generating the response ? Those are all very different situations.


You make an assumption about the website here. Most commercial websites are written so that all 100 (or 1000) requests can be handled IN PARALLEL. They use load balancing hardware and dozens of hosts behind the single entry point. Google.com doesn't queue requests to a single host. There are 1000s of geographically diverse hosts processing requests in parallel.
It is a real situation not made up scenario .
it is very clear ,I am talking about the time that request will be send by chrome , I know the time that request reach to website depends on many factors but it does not important in my question .
my question is why chrome browser send the request toward the website with 1 second delay after the time that I set when other users of VPS do the same request .
I explain more
forget everything that I said
I open google .com and write a javascript program that make a time setting field in the page .
I set the time to for example 12:00:00:00 (h:m:s:ms)
when the time reach to 12:00:00:00 javascript program prompts the time is 12:00:00:20 or 12:00:00:15 or other time with not more than 20 ms
but when other users of VPS do the same job at time 12:00:00:00 my chrome browser javascript program prompts the time is 12:00:01:45 or 12:00:00:990 or other time which is around 1 second more than 12:00:00:00
my question is why if my VPS RAM and CPU is dedicated for me but the other VPS usage affect the time of chrome response ?
 
It is a real situation not made up scenario .
it is very clear ,I am talking about the time that request will be send by chrome , I know the time that request reach to website depends on many factors but it does not important in my question .
my question is why chrome browser send the request toward the website with 1 second delay after the time that I set when other users of VPS do the same request .
I explain more
forget everything that I said
I open google .com and write a javascript program that make a time setting field in the page .
I set the time to for example 12:00:00:00 (h:m:s:ms)
when the time reach to 12:00:00:00 javascript program prompts the time is 12:00:00:20 or 12:00:00:15 or other time with not more than 20 ms
but when other users of VPS do the same job at time 12:00:00:00 my chrome browser javascript program prompts the time is 12:00:01:45 or 12:00:00:990 or other time which is around 1 second more than 12:00:00:00
my question is why if my VPS RAM and CPU is dedicated for me but the other VPS usage affect the time of chrome response ?
Have you ever used wireshark to actually watch the network traffic ? That might give you some insight.
Your PC doesn't know anything about the load on the far end. It does things as soon as possible. What could be slowing things? DNS? HTTPS setup ?
 
Have you ever used wireshark to actually watch the network traffic ? That might give you some insight.
Your PC doesn't know anything about the load on the far end. It does things as soon as possible. What could be slowing things? DNS? HTTPS setup ?
I think it is realted to the way that VPS is created .
As I said 100 VPS are in a same datacenter and may be using same physical resource , I dont Know .
In fact my service provider say I should use decicated server not VPS . but dedicated server is more expensive
.
 
I think it is realted to the way that VPS is created .
As I said 100 VPS are in a same datacenter and may be using same physical resource , I dont Know .
In fact my service provider say I should use decicated server not VPS . but dedicated server is more expensive
.
"I think" is not evidence. 100VPS hosts may have ZERO intersecting resources or 100% intersecting. WE can't know that and neither can you. As I said several posts prior, only the cloud admin has insight. You are guessing.
Your hosting provider is saying to use a dedicated server because you have all the physical resources, not shared with anyone. That costs more.
 
Finally I found the reason for mentioned delay .
If I connect to server and main watching window in my PC is the webpage from VPS there is a little delay near milisecond in JavaScript code but if I disconnect the remote desktop connection to VPS , the server is working by itself but there is near 1 second delay in JavaScript code in chrome webpage .