logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> How-to's & Documentation & Tips View previous topic :: View next topic
Reply to topic   Topic: Easy HTTP load balancing with Apache
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Sun 20 Dec '09 12:18    Post subject: Easy HTTP load balancing with Apache Reply with quote

Usually a single AMP system is enough to serve - let's say - around 500 concurrent users. Sometimes more, sometimes less, strongly depending on the particular web application, the overall architecture of your system, of course the hardware itself, and how you define "concurrent users".

Nevertheless, if your server gets too slow, you'll need to take actions. You may upgrade your server up to the maximum (aka vertical scaling), optimize your software (aka refactoring), and finally add more servers (aka horizontal scaling). The whole process of horizontal scaling is quite complex and far too much for a single blog post, but here's a first shot. Others will follow.

Read more.....at http://blogs.sun.com/oswald/entry/easy_http_load_balancing_with


Steffen
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Tue 05 Jan '10 11:17    Post subject: Reply with quote

Well I tried that on my linux test box and while restarting using graceful I get some errors

Code:

[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(8) failed in child 10552 for worker proxy:reverse
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(0) failed in child 10552 for worker http://servera
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(2) failed in child 10552 for worker http://serverb
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(4) failed in child 10552 for worker http://serverc
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(6) failed in child 10552 for worker http://serverd
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(1) failed in child 10552 for worker http://servera
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 10552 for worker http://serverb
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(5) failed in child 10552 for worker http://serverc
[Sun Dec 20 16:43:16 2009] [error] proxy: ap_get_scoreboard_lb(7) failed in child 10552 for worker http://serverd
Back to top


Reply to topic   Topic: Easy HTTP load balancing with Apache View previous topic :: View next topic
Post new topic   Forum Index -> How-to's & Documentation & Tips