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
  #12  
Old 12-21-2007, 04:27 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've made a RPM for Nginx. This thing is really amazing, performance wise.
The lighty memory leaking is present only when you use PHP4, so who cares... The configuration is a little primitive... plus I had to patch the hell of build files to make it 100% compatible with CentOS 5.1.
Still, the results are impressive.

I'm going to do a deep analysis and let you guys know about my results.
Let see how is the server load is on a web cluster with 5,000 hammering users...

EDIT: This is an interesting read:
http://hostingfu.com/article/nginx-v...or-a-small-vps
Reply With Quote
  #13  
Old 12-25-2007, 01:46 AM
EricGT EricGT is offline
 
Join Date: Jan 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am now running my site on two very powerful servers, but before I bought these systems, I was running a dual Xeon DB server and six dual processor P-III front end servers. I started out using round-robin DNS. The DNS method is problematic because it has no real failover capability and it does not distribute traffic evenly. The first box in the list gets twice as much traffic as the middle boxes and the last box gets about 50% more. I used a common NFS share on the DB server for my images directory.

I next used Pound and it worked much better for me. I am now running an Astaro firewall, which has built-in load balancing capability, although I am not currently running multiple front-end boxes. Eric
Reply With Quote
  #14  
Old 12-25-2007, 08:05 AM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On most websites, and certainly on any vbulletin forum, the load on the webserver is never an issue. Almost any hardware can easily handle that.

The problem is almost always PHP. (Of course, MySQL load is also an issue but that is a different topic altogether.) Now, if only you can decouple PHP from the webserver (dont use mod_php, i feel FastCGI is best), you can use multiple servers for PHP processing. You just just need a webserver which can interface with multiple backend processes over TCP/IP. My experience with lighttpd for this has been absolutely fabulous.
Reply With Quote
  #15  
Old 12-27-2007, 07:30 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amcd, I used to be a fervent lighty user until recently, when I discovered nginx.
Then, I realized what I was missing all this time... I will NEVER go back to lighttpd.

Isn't that a lot easier?

Code:
upstream vbulletin {
	server 192.168.1.2:9000 weight=3;
	server 192.168.1.3:9001;
	server 192.168.1.4:9002;
}

server {
	listen			80;
	server_name		vbulletin.com www.vbulletin.com;

	location / {
		proxy_pass	http://vbulletin; 
	}
}
Reply With Quote
  #16  
Old 12-27-2007, 08:49 PM
EricGT EricGT is offline
 
Join Date: Jan 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As much as I have learned over the years, it is always a bit humbling to come and hang out on a site like this and see how much I have left to learn. This is the problem with being self-taught and not networking with other geeks of a feather. I never know what I am missing out on.
Reply With Quote
  #17  
Old 12-28-2007, 05:46 AM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the info, Teck. I will try to install nginx on one of my smaller sites which I am going to revamp next week.
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:01 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.04052 seconds
  • Memory Usage 2,261KB
  • 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)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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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