general load balancing issues

From: Bogdan TARU (bgd_at_icomag.de)
Date: 12/15/03

  • Next message: Matthew Seaman: "Re: general load balancing issues"
    Date: Mon, 15 Dec 2003 12:46:52 +0100
    To: freebsd-hackers@freebsd.org
    
    

            Dear hackers,

     Up until now, I had a setup with 4-5 webservers, one 'main' server on
     which all the changes to the websites were done, and the rest which
     were rsync-ing the web repository to the local drives. The content is
     either static or dynamic (PHP). Of course, I was load balancing (DNS
     round-robin) only the statical domains, and the ones involving PHP
     scripts which fetched all the informations from a database. The
     domains which involved PHP sessions were left on the 'main' server.

     Right now I am considering a setup with one common NFS repository for
     the configuration files, Apache binaries, Web content and temp
     directory for PHP, NFS resource which will be mounted on all the
     'front' webservers. I am wondering, though, if I will be able (by
     having one common temp directory for PHP) to load-balance the domains
     involving sessions: will the sessions be lost when connsecutive hits
     go to different webservers, or not?

     I will also be interested in finding out more opinions about this
     sort of setup (interested in what are the pitfalls of the common NFS
     repository) from the people who already got it implemented.

     Thank you,
     bogdan
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Matthew Seaman: "Re: general load balancing issues"

    Relevant Pages

    • Re: Seeking information on NAT with multiple external addresses
      ... 10 Internet Valid IP Addresses needed for 10 one-to-one mappings ... Setup #2: 1 Internet Valid IP Address needed if you use Apache ... the backend webservers... ... keep performance implicaitons in mind (could be limited by front end server) ...
      (comp.security.firewalls)
    • Re: Seeking information on NAT with multiple external addresses
      ... 10 Internet Valid IP Addresses needed for 10 one-to-one mappings ... Setup #2: 1 Internet Valid IP Address needed if you use Apache ... the backend webservers... ... keep performance implicaitons in mind (could be limited by front end server) ...
      (comp.security.firewalls)
    • Re: write with cURL
      ... each other's files using PHP, you've stated that I would have to pay ... shared hosting account and I will promptly remit payment. ... to illustrate that your PHP setup would allow one user on one account ... information regarding the server name, login, or IP publicly. ...
      (alt.php)
    • Re: Two MySQL servers, one script
      ... or you'll have to really think about the databasesetup. ... Then you'll have to have a PHP script running on one server, get the output of that on the other for the output comes to mind), and link the related data on that server with it with a bunch of queries. ... On a typical HTTP request, PHP code will be executed, and all you get is the output. ...
      (comp.lang.php)
    • Re: Last resort, php
      ... --Jonathan Maltz [Microsoft MVP - Windows Server, ... > for a long time on my old 2k server box i had iis 5 ... > running with php, worked great, was easy to setup, no ... > matter what i do or how i have php configured, ...
      (microsoft.public.inetserver.iis)