How much traffic can a VPS handle?

Marc van Leeuwen

Premium Member
Joined
May 29, 2016
Messages
1,132
Points
63
I have a VPS 4GB of RAM. Can I know how much traffic can a VPS handle? Is it estimated by what factors?
 

Rob Whisonant

Moderator
Joined
May 24, 2016
Messages
2,489
Points
113
It depends on many factors. Page sizes, if it's database driven or not just to name two.

Also, a badly optimized script can slow a VPS way down.

What I see most with VPSs is that the mysql server is the weak link that slows things down.
 

buzybee-kevin

New member
Joined
Oct 26, 2014
Messages
83
Points
0
Their are a lot of factors that go into answering this question. The fact of the matter is that it really cannot be answered definitively. We can only offer a ballpark answer based on the best possibility scenario. A VPS with 4 GB should be able to handle a very busy website with well over several thousand visitors a day. It is estimated by these factors

Node type CPU,RAM architecture,
virtualization technology ie Xen,KVM,Openvz
Virtualization tech settings,
HDD,SSD type,
RAID type,
OS type,
Website code type ie PHP,HTML,
Website code optimization quality,
Bandwidth allocated to your server and saturation,
 

BountySite

Member
Joined
Mar 2, 2016
Messages
43
Points
8
What are you running?
If you are talking about how many connections 4GB RAM can handle, then you do the math with number of connections in all TCP states.
You will have to optimize some kernel params to increase some default limits.

Check this link for ref
https://serverfault.com/questions/1...ximum-number-of-connections-on-a-linux-server

It the server is running mostly image rendering, with nginx, you can do very high traffic( 1000(s) / second)
 

vps9

New member
Joined
Apr 22, 2015
Messages
64
Points
0
Is your website static?
Does it have any animation or heavy elements?
What is the optimisation performed on the website?
What is the size of database? and query takes how much time to fetch data?

These are some of the factors of the traffic assumption or calculation
 

Mivocloud

New member
Joined
Dec 22, 2020
Messages
13
Points
3
Best answer
The completion of resources depends on several factors:
1) What was installed on the server (control panel, a monitoring server, etc.)
2) Plugins running on the site.
3) Unminified styles.
4) Database with many requests and not optimized.
5) Lack of cache on the site (very big mistake of many users).
6) Server location versus your location

These are just the basic factors.
 

hipcat

Moderator
Staff member
Joined
Jun 14, 2013
Messages
1,236
Points
113
The CPU usage is a big one...how many queries to the database. I've had even shared hosting handle up to 51000 visitors in a day because it wasn't drawing much actual usage, so yours should be able to go much higher, depending on the many factors others have already pointed out.
 

alexhost2

New member
Joined
Jan 30, 2021
Messages
5
Points
3
There are a lot of things, you can't know at 100%.

This can be heavy website, low specs in VPS to handle with those traffic.
Server configuration
Images without compression

Everything can make the VPS not handle with that traffic, so is not possible to say "hey you will be fine" unless you buy the best configuration available.
 
Newer threads
Replies
7
Views
3,302
Replies
5
Views
2,927
Replies
4
Views
3,178
Latest threads
Replies
1
Views
7
Replies
1
Views
6
Replies
1
Views
124
Recommended threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top