vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to go about load balancing? (https://vborg.vbsupport.ru/showthread.php?t=157295)

sanfrancisco 09-07-2007 11:33 PM

how to go about load balancing?
 
hi guys,

have been searchign these forums on and off for 2 days looking for some definitive guide to load balancing, but not finding anything.

basically just want two httpd servers and one mysql server (which also acts as one of the httpd servers).

any pointers would be welcomed :)

thanks!

Paul M 09-07-2007 11:38 PM

What information exactly are you after ? how much do you know already ?

sanfrancisco 09-07-2007 11:40 PM

well, i own a box, have run and managed a web hosting company for a few years. have one mega large board which has been growing much more than i realized it would, and it's having a bad effect on my dedicated box. i have another spare box right now and would rather set up some http load balancing. i know the theory behind it, but in practice it'd be nice to have some sort of "step 1 - copy files over, step 2" etc etc....

Marco van Herwaarden 09-08-2007 11:28 AM

There is no really step-by-step instructions for this. It will all depend a lot on the hardware and software you are using for the load-balancing.

Best place to ask this would be at the Server Configuration forum at vbulletin.com.

Paul M 09-08-2007 01:49 PM

A simple system is not hard to set-up, you just install the vb files on each web server, pointing to the database (mysql will need to be running tcp networking). You then have two dns entries for your site, one for each ip address. When a client requests the dns address of your server, the dns server should alternately send each address, so in theory you should get about 50% of requests on each box.

I have sucessfully used this method on a site when we were very heavily loaded.

Such a system is quick and easy, anything above this will start needing extra hardware and software.


All times are GMT. The time now is 05:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00903 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete