webserver + database server

Discussion in 'Databases' started by jonnyshaw89, Sep 30, 2009.

  1. #1
    i have some webservers with 1and1 with locally hosted mysql databases and i am looking to get a dedicated database server.

    my problem is do i get them hosted with 1and1 aswell or will it make much difference in performance if i had them at rackspace?
     
    jonnyshaw89, Sep 30, 2009 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    you want your db servers as close as possible to the web-servers for fastest and most reliable page render speed - if your web-server hits an external remote server, not good unless you have to...
     
    ccoonen, Sep 30, 2009 IP
  3. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #3
    Hosting both servers within the same DC is recommended. This was you can ensure that the latency between them is minimal. Have both servers setup with 2 nics, one for the the outside internet coming in, and one between each other, so they can use that to talk.
     
    RHS-Chris, Oct 1, 2009 IP
  4. harrysmith

    harrysmith Well-Known Member

    Messages:
    466
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Yes, try to place a load balance server ahead of your webservers and database server. Set traffic routing rules on this load balanced server for better performance also its recommended to have a private LAN connect between databases & webservers for optimum performance.
     
    harrysmith, Oct 1, 2009 IP
  5. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #5
    RHS-Chris is right. Host your both servers in the same datacenter and connecting each other over LAN.

    How can you set a load balancer a head of 2 servers when one is web server and the other is database server?
     
    mwasif, Oct 1, 2009 IP
  6. jonnyshaw89

    jonnyshaw89 Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    thats for the advice guys. gonna get it at 1&1
     
    jonnyshaw89, Oct 1, 2009 IP