Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Loadbalancer Recommendation? Details »»
Loadbalancer Recommendation?
Version: , by reteep reteep is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-12-2007 Last Update: Never Installs: 0
 
No support by the author.

We already splitted web and db server on two dedicated servers, running lighttpd, php fcgi and MySQL5.

However, the load of the webserver is pretty critical, can anyone recommend good software Loadbalancers?

Thanks!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-14-2007, 06:36 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I myself like pound
http://www.apsis.ch/pound/

It doesn't have a pretty gui, but is highly configurable and low on resource usage.

Please share your experience with us afterwards, load-balancing a vbulletin sounds like a challenge, especially if storing the avatars/attachments in the filesystem
Reply With Quote
  #3  
Old 12-15-2007, 02:56 AM
weeno weeno is offline
 
Join Date: Jan 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a round robin on two php servers for now. It works reasonably well, but can get off-balance with high traffic.

There are a few issues that you run into with splitting the php servers into two though, as mentioned above.... mostly you can't save anything to files (attachments, js, avatars) without making modifications.

arn
Reply With Quote
  #4  
Old 12-15-2007, 07:26 AM
reteep reteep is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, we decided to give pound a try, I'll keep you informed about our results.. and yes, we do store avatars/attachments in the filesystem
Reply With Quote
  #5  
Old 12-16-2007, 08:51 AM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lighttpd itself is the best load balancer around.
Reply With Quote
  #6  
Old 12-16-2007, 03:02 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amcd View Post
lighttpd itself is the best load balancer around.
I totally agree.

1 webserver (lighttpd)
- 10.0.0.10
4 php-fastcgi-backends
- 10.0.0.20 ... .23

The config snippet for lighttpd:
Code:
fastcgi.server = (
	".php" => (
		("host" => "10.0.0.20", "port" => 2000, "broken-scriptfilename" => "enable"),
		("host" => "10.0.0.21", "port" => 2000, "broken-scriptfilename" => "enable"),
		("host" => "10.0.0.22", "port" => 2000, "broken-scriptfilename" => "enable"),
		("host" => "10.0.0.23", "port" => 2000, "broken-scriptfilename" => "enable")
	)
)
Reply With Quote
  #7  
Old 12-17-2007, 09:47 AM
reteep reteep is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, didn't know that this is possible, sounds like a great alternative, thanks!
Reply With Quote
  #8  
Old 12-18-2007, 10:36 PM
tonyzhou tonyzhou is offline
 
Join Date: Nov 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nginx is a better load balancer but not as configurable as lighttpd.
Reply With Quote
  #9  
Old 12-19-2007, 07:45 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like that Nginx doesn't suffer from memory leak over time. But you will need to "steal" lighty's files (spawn-fcgi), in order to get it working with PHP5 and XCache. I will give it a try and let you know.
Reply With Quote
  #10  
Old 12-20-2007, 12:34 AM
HDT HDT is offline
 
Join Date: Sep 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this info,will try this alternative.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:29 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.04479 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete