vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   Loadbalancer Recommendation? (https://vborg.vbsupport.ru/showthread.php?t=164979)

reteep 12-12-2007 05:38 AM

Loadbalancer Recommendation?
 
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!

Kentaurus 12-14-2007 06:36 AM

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

weeno 12-15-2007 02:56 AM

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

reteep 12-15-2007 07:26 AM

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 :o

amcd 12-16-2007 08:51 AM

lighttpd itself is the best load balancer around.

TECK 12-16-2007 03:02 PM

Quote:

Originally Posted by amcd (Post 1402029)
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")
        )
)


reteep 12-17-2007 09:47 AM

Oh, didn't know that this is possible, sounds like a great alternative, thanks!

tonyzhou 12-18-2007 10:36 PM

Nginx is a better load balancer but not as configurable as lighttpd.

TECK 12-19-2007 07:45 PM

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.

HDT 12-20-2007 12:34 AM

Thanks for this info,will try this alternative.


All times are GMT. The time now is 04:21 PM.

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.01113 seconds
  • Memory Usage 1,729KB
  • 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)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete