server resources

txholdem

Elite Member
Joined
Feb 23, 2009
Messages
1,834
Reaction score
236
servers are way more expensive than i thought.

I have a linux vps with 3core cpu, 4GB RAM, and it was almost brought down by 173 visitors (according to google real time)?
the wordpress post was a simple article with 7 pages. only 173 visitors at the same time? cpu load was up to 80%.

what do those large sites have on their server?
 
That's how it does.. it depends on the resources people are using. If you have stable 173 people doing stuff that requires CPU and database for example, then you might need a server with better CPU + some nice optimization.
 
Yea, doesn't surprise me. Depends on the technology behind the VPS as well and whether the server itself is perhaps over utilised.

But I think if you are getting traffic like that you should look at something a bit bigger- maybe dedicated server?
 
Well, I'd go with a cloud server so it would be possible to scale whenever it's required. I mean it would take few clicks to get a new server up instead of waiting hours/days.
 
servers are way more expensive than i thought.

I have a linux vps with 3core cpu, 4GB RAM, and it was almost brought down by 173 visitors (according to google real time)?
the wordpress post was a simple article with 7 pages. only 173 visitors at the same time? cpu load was up to 80%.

what do those large sites have on their server?

large sites use cache. install wp-cache plugin or similar
 
Well, I'd go with a cloud server so it would be possible to scale whenever it's required. I mean it would take few clicks to get a new server up instead of waiting hours/days.

yes, thats what i use.
 
For Wordpress cache to be effective you need SSD because that way it won't slow down your disk which WILL happen with regular HDD. Also if possible, use nginx for caching. It makes much more sense + it's a lot faster. It also caches static files, but it can cache HTML files as well, but keep in mind that then you might have issues with wp-admin area.
 
Hey dude depending on what host u using but here is a hosting service that you will LOVE!
https://mediatemple.net/


  • 30GB SSD storage
  • 400,000 monthly visitors
  • 2 sites
$20

As you can see it is not a promotional link and I'm not on their team, im jsut a very satisfied custmer. I was hosting my sites on Hostgator and when i got 100+ visitors on my site at the same time the sites would crush. Thank i transfered to MT WP hsoting plan for $20 and i didint had any kind of problems + the support is amazing! 10000000000000 time better than any other host for that price.
 
Hey dude depending on what host u using but here is a hosting service that you will LOVE!
https://mediatemple.net/


  • 30GB SSD storage
  • 400,000 monthly visitors
  • 2 sites
$20

As you can see it is not a promotional link and I'm not on their team, im jsut a very satisfied custmer. I was hosting my sites on Hostgator and when i got 100+ visitors on my site at the same time the sites would crush. Thank i transfered to MT WP hsoting plan for $20 and i didint had any kind of problems + the support is amazing! 10000000000000 time better than any other host for that price.

what do you get for $20? i am paying $30 for 3cpu 4GB RAM.
i always hesitate to post my link here. lol.
 
For Wordpress cache to be effective you need SSD because that way it won't slow down your disk which WILL happen with regular HDD. Also if possible, use nginx for caching. It makes much more sense + it's a lot faster. It also caches static files, but it can cache HTML files as well, but keep in mind that then you might have issues with wp-admin area.

my hard drive is SSD.
so you use nginx to replace appache?
 
Get a pro to look up the configuration. I had a lot of problems with namecheap. When I let a friend look over it who does hosting for a living, he said they didn't even completely set up the server and the settings were completely off of what I would need.
Server was crashing at ~450 online.
I had no problems since he 'fixed' it even with 600+ online.
 
sysadmin tasks are not easy because you have to debug your code and see where you are really hurting. it takes years of practice but what was mentioned is correct.

nginx+php5 to cache your static pages (most websites are static). wordpress has tons of bloatware for caching that you could try.

if you grow to say 200k uniques per day, you will probably have your mysql as a bottleneck, at that point you need to look into nosql databases or memcache for db queries.

you are better off hiring a sysadmin for 1hr than learning all this yourself, word of advice ;)
 
Get a pro to look up the configuration. I had a lot of problems with namecheap. When I let a friend look over it who does hosting for a living, he said they didn't even completely set up the server and the settings were completely off of what I would need.
Server was crashing at ~450 online.
I had no problems since he 'fixed' it even with 600+ online.

whats your server resources?
 
whats your server resources?
Xeon E3-1220 v3 4 Cores x 3.1 GHz
RAM 8 GB DDR3
HARD DRIVE 500 GB
BANDWIDTH 10 TB

I have 650 online right now, 140 requests currently being processed, 110 idle workers and it starts stuttering a bit, will definitely need to move to some better server soon and switch away from WP - it's just too bloated...
 
Xeon E3-1220 v3 4 Cores x 3.1 GHz
RAM 8 GB DDR3
HARD DRIVE 500 GB
BANDWIDTH 10 TB

I have 650 online right now, 140 requests currently being processed, 110 idle workers and it starts stuttering a bit, will definitely need to move to some better server soon and switch away from WP - it's just too bloated...

your resources are significantly better than mine. when it starts to 'stutter' whats the loads? 80%?
 
your resources are significantly better than mine. when it starts to 'stutter' whats the loads? 80%?
Load is not measured in % it can be higher than 100
When it started to 'stutter' the load was above 70 which is super high but still managed to stay online. I don't know which processes caused this, but about half an hour later I had 680+ online and a load of 'only' 20. Right now with ~400 my load is 4-5.
I know this is caused by the WP theme I use.. it's totally bloated with useless crap features I don't need and not optimized at all also I'm not using any CDN yet.

I'll switch to an own CMS as soon as it's finished and will outhost js/css and image files to a CDN.
 
Memorize these 5 simple letters: N G I N X
 
I'd go with Nginx (or litespeed if you are feeling rich af) + PHP7 (or PHP5) + memcached + MariaDB
 
Back
Top