CLIENT-INITIATED LEADER ELECTION IN DISTRIBUTED CLIENT-SERVER SYSTEMS
First Claim
1. A method for a client-initiated leader election in a distributed system, the method comprising:
- receiving a master listener election request by at least one listener of a plurality of listeners in the distributed system;
arranging a list of configured listeners in a descending priority order, wherein the list of configured listeners comprises one or more listeners set for connection;
selecting a listener with a highest priority from the list of configured listeners;
determining an availability of the selected listener;
verifying a connectivity to the selected listener using a ping utility program;
assigning the selected listener as a master listener based on the connectivity; and
connecting to the master listener.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for a client-initiated leader election in a distributed system including receiving a master listener election request by at least one listener of a plurality of listeners in the distributed system, arranging a list of configured listeners in a descending priority order, the list of configured listeners comprises one or more listeners of the plurality of listeners set for connection, selecting a listener with a highest priority from the list of configured listeners, determining an availability of the selected listener, verifying a connectivity to the selected listener using a ping utility program, assigning the selected listener as a master listener based on the connectivity, and connecting to the master listener.
5 Citations
20 Claims
-
1. A method for a client-initiated leader election in a distributed system, the method comprising:
-
receiving a master listener election request by at least one listener of a plurality of listeners in the distributed system; arranging a list of configured listeners in a descending priority order, wherein the list of configured listeners comprises one or more listeners set for connection; selecting a listener with a highest priority from the list of configured listeners; determining an availability of the selected listener; verifying a connectivity to the selected listener using a ping utility program; assigning the selected listener as a master listener based on the connectivity; and connecting to the master listener. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system for a client-initiated leader election in a distributed system, the computer system comprising:
-
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising; receiving a master listener election request by at least one listener of a plurality of listeners in the distributed system; arranging a list of configured listeners in a descending priority order, wherein the list of configured listeners comprises one or more listeners set for connection; selecting a listener with a highest priority from the list of configured listeners; determining an availability of the selected listener; verifying a connectivity to the selected listener using a ping utility program; assigning the selected listener as a master listener based on the connectivity; and connecting to the master listener. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for a client-initiated leader election in a distributed system, the computer program product comprising:
-
a computer readable non-transitory article of manufacture tangibly embodying computer readable instructions which, when executed, cause a computer to carry out a method comprising; receiving a master listener election request by at least one listener of a plurality of listeners in the distributed system; arranging a list of configured listeners in a descending priority order, wherein the list of configured listeners comprises one or more listeners set for connection; selecting a listener with a highest priority from the list of configured listeners; determining an availability of the selected listener; verifying a connectivity to the selected listener using a ping utility program; assigning the selected listener as a master listener based on the connectivity; and connecting to the master listener. - View Dependent Claims (18, 19, 20)
-
Specification