GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MR::IPROTO::CLUSTER (3)

.ds Aq ’

NAME

MR::IProto::Cluster - cluster of servers

CONTENTS

DESCRIPTION

This class is used to implement balancing between several servers.

EXPORTED CONSTANTS

RR Round robin algorithm
HASH Hashing algorithm using CRC32
KETAMA Ketama algorithm

ATTRIBUTES

balance Balancing algorithms. Possible values are constants: RR, HASH, KETAMA. Or their string analogs: ’round-robin’, ’hash-crc32’, ’ketama’.
servers ArrayRef of MR::IProto::Cluster::Server.

PUBLIC METHODS

server( $key? ) Get server from balancing using $key.
timeout( $new? ) Used to set $new timeout value to all servers. If argument is skipped and timeout is equal for all servers then returns it value, if timeout is different then returns undef.

SEE ALSO

MR::IProto, MR::IProto::Cluster::Server.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MR::IPROTO::CLUSTER (3) 2012-03-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.