Sponsored Content
Special Forums News, Links, Events and Announcements Software Releases - RSS News Crossroads Load Balancer 2.36 (Default branch) Post 302257706 by Linux Bot on Wednesday 12th of November 2008 11:20:07 PM
Old 11-13-2008
Crossroads Load Balancer 2.36 (Default branch)

Image Crossroads is a daemon running in user space, and features extensive configurability, polling of back ends using wake up calls, status reporting, many algorithms to select the 'right' back end for a request (and user-defined algorithms for very special cases), and much more. Crossroads is service-independent: it is usable for any TCP service, such as HTTP(S), SSH, SMTP, and database connections. In the case of HTTP balancing, Crossroads can provide session stickiness for back end processes that need sessions, but aren't session-aware of other back ends. Crossroads can be run as a stand-alone daemon or via inetd, and features a management Web interface for monitoring and for modification of parameters. License: GNU General Public License v3 Changes:
The balancer control script xrctl was rewritten to use an XML configuration file describing all services. The management Web interface is much richer, allowing modification of more properties of the balancer and allowing addition or deletion of back ends. DOS protection was extended to delay or block client IP addresses that exceed a connection threshold. Resolved back end host names are cached to ease the load on DNS. Back end verification supports HTTP GET or TCP connects to ports other than the back end itself. Portability issues for gcc 3.4, Solaris, and 64-bit systems were solved. Image

Image

More...
 
DBIx::Class::Storage::DBI::Replicated::Balancer::Random(User Contributed Perl DocumentatDBIx::Class::Storage::DBI::Replicated::Balancer::Random(3)

NAME
DBIx::Class::Storage::DBI::Replicated::Balancer::Random - A 'random' Balancer SYNOPSIS
This class is used internally by DBIx::Class::Storage::DBI::Replicated. You shouldn't need to create instances of this class. DESCRIPTION
Given a pool (DBIx::Class::Storage::DBI::Replicated::Pool) of replicated database's (DBIx::Class::Storage::DBI::Replicated::Replicant), defines a method by which query load can be spread out across each replicant in the pool. This Balancer uses List::Util keyword 'shuffle' to randomly pick an active replicant from the associated pool. This may or may not be random enough for you, patches welcome. ATTRIBUTES
This class defines the following attributes. master_read_weight A number greater than 0 that specifies what weight to give the master when choosing which backend to execute a read query on. A value of 0, which is the default, does no reads from master, while a value of 1 gives it the same priority as any single replicant. For example: if you have 2 replicants, and a "master_read_weight" of 0.5, the chance of reading from master will be "20%". You can set it to a value higher than 1, making master have higher weight than any single replicant, if for example you have a very powerful master. METHODS
This class defines the following methods. next_storage Returns an active replicant at random. Please note that due to the nature of the word 'random' this means it's possible for a particular active replicant to be requested several times in a row. AUTHOR
John Napiorkowski <john.napiorkowski@takkle.com> LICENSE
You may distribute this code under the same terms as Perl itself. perl v5.18.2 2013-07-12 DBIx::Class::Storage::DBI::Replicated::Balancer::Random(3)
All times are GMT -4. The time now is 06:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy