Load-balancing in replication engine of directory server
First Claim
1. A computer product for automatic load-balancing in a plurality of directory servers comprising a master server and one or more replication servers, the computer product comprising a non-transitory computer readable medium, upon which is stored computer readable information that, upon being executed on one or more computers, causes steps comprising:
- receiving a request for the plurality of directory servers, wherein the plurality of directory servers are Lightweight Directory Access Protocols (LDAP) servers and the request is an LDAP request;
identifying the received request to be a read request;
conducting a first availability check to determine whether the plurality of directory servers are available or busy;
determining, from the first availability check, that the one or more replication servers are busy; and
assigning the read request to the master server if the master server is determined to be available, or else conducting a second availability check if the master server is determined to be busy, wherein an automatic load-balancing policy seeks to assign the read request to an available one of the one or more replica servers, if any, before seeking to assign the read request to the master server.
1 Assignment
0 Petitions
Accused Products
Abstract
An embodiment of this invention provides a new LDAP server control to automate load balancing for replication based directory infrastructure. This solution is applicable to both master-master and master-replica based replication topologies. If one or more of the replication servers or the master servers are available for processing, the request is assigned to them based on output of a weighted non-uniform random number generator. This LDAP server control allows gaining very high performance while doing multiple parallel heavy LDAP operations. This LDAP control prevents the exposure of the replication directory server details to the outer world and therefore proves helpful in easing the security concerns.
31 Citations
20 Claims
-
1. A computer product for automatic load-balancing in a plurality of directory servers comprising a master server and one or more replication servers, the computer product comprising a non-transitory computer readable medium, upon which is stored computer readable information that, upon being executed on one or more computers, causes steps comprising:
-
receiving a request for the plurality of directory servers, wherein the plurality of directory servers are Lightweight Directory Access Protocols (LDAP) servers and the request is an LDAP request; identifying the received request to be a read request; conducting a first availability check to determine whether the plurality of directory servers are available or busy; determining, from the first availability check, that the one or more replication servers are busy; and assigning the read request to the master server if the master server is determined to be available, or else conducting a second availability check if the master server is determined to be busy, wherein an automatic load-balancing policy seeks to assign the read request to an available one of the one or more replica servers, if any, before seeking to assign the read request to the master server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer product for automatic load-balancing in a plurality of directory servers comprising a plurality of master servers and a plurality of replication servers, the computer product comprising a non-transitory computer readable medium, upon which is stored computer readable information that, upon being executed on one or more computers, causes steps comprising:
-
receiving a request for the plurality of directory servers, wherein the plurality of directory servers are Lightweight Directory Access Protocols (LDAP) servers and the request is an LDAP request; identifying the received request to be a read request; conducting a first availability check to determine whether the plurality of directory servers are available or busy; determining, from the first availability check, that the plurality of replication servers are busy; and assigning the read request to one of the plurality of master servers if at least one of the plurality of master servers is determined to be available, or else conducting a second availability check if all of the plurality of master servers are determined to be busy, wherein an automatic load-balancing policy seeks to assign the read request to an available one of the one or more replica servers, if any, before seeking to assign the read request to the master server. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system configured for automatic load-balancing comprising:
-
a plurality of master servers among a plurality of directory servers; a plurality of replication servers among the plurality of directory servers, wherein the plurality of directory servers are Lightweight Directory Access Protocols (LDAP) servers and the request is an LDAP request; and means for load balancing configured to receive a read request for the plurality of directory servers, determine from a first availability check that the plurality of replication servers are busy, and assign the read request to one of the plurality of master servers if at least one of the plurality of master servers is determined to be available, or else conduct a second availability check if all of the plurality of master servers are determined to be busy, wherein an automatic load-balancing policy seeks to assign the read request to an available one of the one or more replica servers, if any, before seeking to assign the read request to the master server. - View Dependent Claims (18, 19, 20)
-
Specification