WEB thinking of moving to slicehost, any suggestions?

Discussion in 'OT Technology' started by biawokauns, Jan 24, 2009.

  1. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    any experience with slicehost?

    we're doing 5mil pageviews a mo, pushing 400gb/mo in bandwidth and still growing. our current box is not able to sustain our growth.

    we'd be moving from a dual core, 3ghz machine to a shared VPS.
     
  2. TheDarkHorizon

    TheDarkHorizon \xC0\xFF\xEE

    Joined:
    Sep 26, 2002
    Messages:
    2,396
    Likes Received:
    0
    Location:
    San Francisco, CA
    What is the bottleneck? CPU usage for the web server? Disk access for the database? I'm not sure why you would move from having dedicated hardware to sharing precious disk I/O with other users. I use a 1GB slice for Trac/SVN hosting, and the disk performance can be quite pitiful at times. I couldn't imagine hosting any large production site on Slicehost. At the higher tiered price plans, you're better off getting dedicated hardware.
     
  3. RG

    RG New Member

    Joined:
    May 4, 2003
    Messages:
    28,233
    Likes Received:
    0
    Location:
    Connecticut
    linode.com is comparable to SH but with more datacenters to choose from, more resources, and their control panel offers more fine-grained control for your vps. i've used both and they are equally fine.
     
  4. autox

    autox OT Supporter

    Joined:
    Oct 18, 2002
    Messages:
    98,812
    Likes Received:
    460
    Ive been thinking about upgrading my liquidweb server, but I think I'll wait for it to get a little worse before I do.
     
  5. Mikenotmike

    Mikenotmike

    Joined:
    Jun 1, 2001
    Messages:
    6,244
    Likes Received:
    0
    Location:
    USA
    I thought the general progression was to go from a vps to a dedi, not the other way around, please elaborate
     
  6. autox

    autox OT Supporter

    Joined:
    Oct 18, 2002
    Messages:
    98,812
    Likes Received:
    460
    :werd:
     
  7. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    our hardware isn't that great. slicehost offers more bandwidth and what looks to be like a reasonable vps.

    from what I understand, the bottleneck is the database, not the webserver. we do approx 1.5 million queries in a 15min timespan (1,500 queries/sec) transferring ~2.5gb of data.

    why wouldn't you run a production site on slicehost? my line of thinking was even though it is shared, it's still better than our dedicated box
     
  8. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    our shitbrix site
     
  9. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    yeah, shared -> vps -> dedi

    i was just thinking our dedicated box isn't THAT great, it's about 185/mo.
     
  10. Mikenotmike

    Mikenotmike

    Joined:
    Jun 1, 2001
    Messages:
    6,244
    Likes Received:
    0
    Location:
    USA
    I'm interested in seeing how your upgrade works out, keep us posted. I'm getting my 1st dedi in a week or so, probably the same type of box your on now but with some hd upgrades
     
  11. TheDarkHorizon

    TheDarkHorizon \xC0\xFF\xEE

    Joined:
    Sep 26, 2002
    Messages:
    2,396
    Likes Received:
    0
    Location:
    San Francisco, CA
    What kind of drives do you use right now? I would first split up the web server and database onto two different machines. I also wonder why you're doing 1500 queries a second with 5M page views if you get 10, maybe 25 web requests/sec? Are you running a lot of background tasks on the database?
     
  12. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    I'll have to check what drives we are using. That's what I've heard, I guess we are on a shared-nothing system right now? Splitting up the DB/Web would help a lot.

    Where did you get the 10/25 web requests sec?

    Our ad delivery is all through openx, so it's a bunch of quieries for each page load in addition to the normal page load. 150-200 people refreshing is easily 1500 queries.
     
  13. TheDarkHorizon

    TheDarkHorizon \xC0\xFF\xEE

    Joined:
    Sep 26, 2002
    Messages:
    2,396
    Likes Received:
    0
    Location:
    San Francisco, CA
    It was a guess based off of your 5M monthly page views stat. If you're saying 150-200 people refresh in a second to get 1500 queries, then you would be getting 10x what I would have imagined you would be getting. You would also benefit from separating the database for your site and OpenX, as I would assume OpenX is write heavy.
     
  14. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    ah gotcha, i'm not sure of all the queries that are going on...i'd have to take another look. all i know is the fucking server keeps crashing and it's annoying as fuck. :o

    i think openx is very db intensive, I'm thinking of moving it off to openx hosted (100 million impressions for free).
     
  15. autox

    autox OT Supporter

    Joined:
    Oct 18, 2002
    Messages:
    98,812
    Likes Received:
    460
    my database has been getting hit really hard lately, so I dont know what I need to focus on when it comes to upgrades. Ram, HDD speed, or cpu?
     
  16. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    optimize the queries, see if you can cache them. the common suggestion from everybody has been to move the db to a dedicated box. db servers are spedd differently.

    paging logik....
     
  17. autox

    autox OT Supporter

    Joined:
    Oct 18, 2002
    Messages:
    98,812
    Likes Received:
    460
    I made a thread about it on webhostingtalk, so hopefully they will give me some info too. I hope its shit I can fix by just optimizing some stuff, but Im willing to spend more $ if I need to
     
  18. Logik

    Logik Livin la vida broka

    Joined:
    Jun 30, 2000
    Messages:
    20,667
    Likes Received:
    1
    Location:
    The Steel City
    only on a separate machine if your current hardware cannot handle the load.

    and if the two aren't connected by a san, you're wasting your time :o
     
  19. autox

    autox OT Supporter

    Joined:
    Oct 18, 2002
    Messages:
    98,812
    Likes Received:
    460
    yea its pretty not necessary at this point for that, plus I have no clue what Im doing anyway
     
  20. autox

    autox OT Supporter

    Joined:
    Oct 18, 2002
    Messages:
    98,812
    Likes Received:
    460
    I copied this from my process manager(sorted by cpu %) the mysql is using 20.4% and its light right now. The apache ones are using 3.8% and down. If I sort by memory the only high one is: /usr/sbin/clamd which is using 4.8% the rest are usuing 1% and below, so I guess memory isnt the problem?
    3321 mysql 0
    20.4
    1.5 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/host.mysite.com.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
    27266 nobody 0
    3.8
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27268 nobody 0
    3.2
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27812 nobody 0
    2.7
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27811 nobody 0
    2.6
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27621 nobody 0
    2.4
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27270 nobody 0
    2.2
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27569 nobody 0
    2.0
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27618 nobody 0
    1.8
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27081 nobody 0
    1.8
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27205 nobody 0
    1.6
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27254 nobody 0
    1.5
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27726 nobody 0
    1.5
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27313 nobody 0
    1.5
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27727 nobody 0
    1.4
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27568 nobody 0
    1.3
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27252 nobody 0
    1.3
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27308 nobody 0
    1.2
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27648 nobody 0
    1.2
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    26474 nobody 0
    1.1
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27207 nobody 0
    1.1
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    26974 nobody 0
    1.1
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27745 nobody 0
    1.1
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27042 nobody 0
    1.1
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27649 nobody 0
    1.0
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    26643 nobody 0
    0.9
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    26813 nobody 0
    0.9
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27271 nobody 0
    0.9
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    26796 nobody 0
    0.8
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27283 nobody 0
    0.8
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
    27650 nobody 0
    0.8
    0.5 /usr/local/apache/bin/httpd -k start -DSSL
     
  21. thomor25

    thomor25 I make money online....

    Joined:
    Jun 11, 2000
    Messages:
    11,101
    Likes Received:
    0
    Location:
    Denver Colorado
    fuck slicehost this is what you need to do

    get an operton or xeon server make sure it has a scsi drive and just put the database on it. Then get another box for the web server with a sata drive. Run that setup for a while. The problem is you need an scsi drive and to seperate the database from the web server. If you have any questions let me know as I've had to do this with my servers before and have had tons more traffic then you. If you need help let me know.
     
  22. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    can you stick with a shared host for the webserver and get the scsi dedi box?
     
  23. thomor25

    thomor25 I make money online....

    Joined:
    Jun 11, 2000
    Messages:
    11,101
    Likes Received:
    0
    Location:
    Denver Colorado
    i don't see why not but with a shared host you can't really modify the httpd.conf to be super fast so it might be better to go with a vps.
     
  24. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    Have you looked at Amazon AWS? It's a great solution if you need to scale
     
  25. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    shit is $$$ :(
     

Share This Page