I need a server to be able to handle 1000 requests per second

Discussion in 'Web Hosting' started by ASTRAPI, Oct 27, 2009.

  1. bhanuprasad1981

    bhanuprasad1981 Active Member

    Messages:
    665
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #21
    i would say go with litespeed web server preferred is 2 core license as it has cache option :)
     
    bhanuprasad1981, Oct 30, 2009 IP
  2. Asako

    Asako Peon

    Messages:
    266
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #22
    I believe litespeed wont give you any good if its all about sql. + we have run litespeed test in comparison with mpm worker optimized and its appear worker mpm does give a good result for web serving
     
    Asako, Oct 30, 2009 IP
  3. g-Vector

    g-Vector Well-Known Member

    Messages:
    221
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    130
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #23
    Yeah, he has to make clear whether it's 1000 SQL requests to the MySQL database by Invision, or 1000 webserver requests from the web.
    The thing that confused me at first was why he mentioned the 100 port (assuming 100mbit/s), if all is on the same box. No SQL requests are leaving the box by local network NIC (over CAT or fiber, or WHY).
    The SQL requests would be going through a RAID subsystem. The webserver requests would go through the 100 port.

    If he's concerned about Apache performance, he could run ab to see how he is doing while changing things : http://httpd.apache.org/docs/2.0/programs/
    But it usually is not just one part of what's in the box that is bottlenecking.

    EDIT:
    Try something like -n 2000 = 2000 requests; -c 1000 = 1000 concurrent requests (that's what you want) :
    ab -n 2000 -c 1000 http://www.yourbitoftheweb.com/invisionproblempage.php
    ab -n 2000 -c 1000 http://www.yourbitoftheweb.com/anyofmywebpages.php
    ab -n 2000 -c 1000 http://www.yourbitoftheweb.com/anyofmyphotos.jpg
    Code (markup):
    Don't melt your box. Start with less.

    If I remember well there is a Apache versus Lighttpd benchmark article over at howtoforge which shows the ab-command strings they used.
     
    Last edited: Oct 30, 2009
    g-Vector, Oct 30, 2009 IP
  4. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #24
    Does using memcache and caching also using .htaccess file is a problem?

    1000 from the web.
     
    ASTRAPI, Oct 30, 2009 IP
  5. Brinesh

    Brinesh Peon

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #25
    How many parallel connection do u want to server , say this as the throttle capacity of the sever , and search for hosting that provide the throttle you need

    With best regards
    Brinesh
     
    Brinesh, Oct 30, 2009 IP
  6. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #26
    I want about 1.000 connections per second.
     
    ASTRAPI, Oct 31, 2009 IP
  7. Asako

    Asako Peon

    Messages:
    266
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #27
    Go for dedicated SQL server. You wont get any problem if you use that.
     
    Asako, Oct 31, 2009 IP
  8. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #28
    Yes but 2 servers it will cost a lot i think ....
     
    ASTRAPI, Oct 31, 2009 IP
  9. nick-a

    nick-a Active Member

    Messages:
    446
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #29
    Get a quadcore Q9650, load the SQL DB into ram (enough ram to do so), and you're probably at least half way there, then optimise the mysql tables etc, use invision and memcached combined, I don't know what parts to cache though because I don't invision.
     
    nick-a, Nov 1, 2009 IP
  10. g-Vector

    g-Vector Well-Known Member

    Messages:
    221
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    130
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #30
    @ASTRAPI:
    Have you found a resolution yet ?
    Check the speed of this forum and tell me what you think.
    http://www.dubstepforum.com/
    Code (markup):
    It's hosted on a custom config VPS with 6 dedicated CPU cores and 15K RPM RAIDed 10 SAS drives. It was migrated to the VPS, from 2 dedi's.
    In parallel with the forum, the VPS also runs an instance of OpenX Ad Server with over 10,000,000 impressions per month.
    This hosting comapny also specialises in hosting and optimizing OpenX Ad Servers.
    Total cost to host the forum is $140/month.
    The good thing is that their hosting company is running a buy1get2 promo as of today. You buy one VPS, and you get a second one free. You are even allowed to resell the free VPS.
    I do not know if this is also valid for custom configs.
     
    g-Vector, Nov 9, 2009 IP