1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

server resources

Discussion in 'Instagram' started by txholdem, Jan 2, 2016.

  1. txholdem

    txholdem Elite Member

    Joined:
    Feb 23, 2009
    Messages:
    1,718
    Likes Received:
    209
    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?
     
  2. Diplomat

    Diplomat Jr. VIP Jr. VIP

    Joined:
    Oct 25, 2011
    Messages:
    971
    Likes Received:
    468
    Home Page:
    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.
     
  3. davids355

    davids355 Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    10,182
    Likes Received:
    7,830
    Home Page:
    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?
     
  4. Diplomat

    Diplomat Jr. VIP Jr. VIP

    Joined:
    Oct 25, 2011
    Messages:
    971
    Likes Received:
    468
    Home Page:
    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.
     
  5. danceparty

    danceparty Junior Member

    Joined:
    Nov 16, 2012
    Messages:
    101
    Likes Received:
    18
    Location:
    San Fran
    Home Page:
    large sites use cache. install wp-cache plugin or similar
     
    • Thanks Thanks x 1
  6. txholdem

    txholdem Elite Member

    Joined:
    Feb 23, 2009
    Messages:
    1,718
    Likes Received:
    209
    yes, thats what i use.
     
  7. txholdem

    txholdem Elite Member

    Joined:
    Feb 23, 2009
    Messages:
    1,718
    Likes Received:
    209
    thanks for the reminder. my wp-cache for some reason was deactivated. maybe that has something to do with it.
     
  8. Diplomat

    Diplomat Jr. VIP Jr. VIP

    Joined:
    Oct 25, 2011
    Messages:
    971
    Likes Received:
    468
    Home Page:
    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.
     
    • Thanks Thanks x 1
  9. gh0st_0

    gh0st_0 Senior Member

    Joined:
    Mar 3, 2015
    Messages:
    841
    Likes Received:
    508
    Occupation:
    Promoter
    Location:
    behind you
    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.
     
  10. txholdem

    txholdem Elite Member

    Joined:
    Feb 23, 2009
    Messages:
    1,718
    Likes Received:
    209
    what do you get for $20? i am paying $30 for 3cpu 4GB RAM.
    i always hesitate to post my link here. lol.
     
  11. txholdem

    txholdem Elite Member

    Joined:
    Feb 23, 2009
    Messages:
    1,718
    Likes Received:
    209
    my hard drive is SSD.
    so you use nginx to replace appache?
     
  12. MonsterMag

    MonsterMag Power Member

    Joined:
    May 2, 2015
    Messages:
    602
    Likes Received:
    417
    Occupation:
    Self
    Location:
    My Journey Discussion
    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.
     
  13. danceparty

    danceparty Junior Member

    Joined:
    Nov 16, 2012
    Messages:
    101
    Likes Received:
    18
    Location:
    San Fran
    Home Page:
    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 ;)
     
  14. txholdem

    txholdem Elite Member

    Joined:
    Feb 23, 2009
    Messages:
    1,718
    Likes Received:
    209
    whats your server resources?
     
  15. MonsterMag

    MonsterMag Power Member

    Joined:
    May 2, 2015
    Messages:
    602
    Likes Received:
    417
    Occupation:
    Self
    Location:
    My Journey Discussion
    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...
     
    • Thanks Thanks x 1
  16. txholdem

    txholdem Elite Member

    Joined:
    Feb 23, 2009
    Messages:
    1,718
    Likes Received:
    209
    your resources are significantly better than mine. when it starts to 'stutter' whats the loads? 80%?
     
  17. MonsterMag

    MonsterMag Power Member

    Joined:
    May 2, 2015
    Messages:
    602
    Likes Received:
    417
    Occupation:
    Self
    Location:
    My Journey Discussion
    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.
     
    • Thanks Thanks x 1
  18. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,476
    Likes Received:
    11,179
    Occupation:
    CHEAP
    Location:
    DATASETS
    Home Page:
    Memorize these 5 simple letters: N G I N X
     
  19. MonsterMag

    MonsterMag Power Member

    Joined:
    May 2, 2015
    Messages:
    602
    Likes Received:
    417
    Occupation:
    Self
    Location:
    My Journey Discussion
    Yepp, that's what my friend did too... nginx + MariaDB (he claimed its faster).
    I have no idea, so can't really give you in-depth advice.
     
    • Thanks Thanks x 1
  20. Diplomat

    Diplomat Jr. VIP Jr. VIP

    Joined:
    Oct 25, 2011
    Messages:
    971
    Likes Received:
    468
    Home Page:
    I'd go with Nginx (or litespeed if you are feeling rich af) + PHP7 (or PHP5) + memcached + MariaDB
     
    • Thanks Thanks x 1