METHODS AND SYSTEMS FOR LOAD BALANCING BASED ON DATA SHARD LEADER
First Claim
1. A method comprising:
- prior to assigning a first data shard included in a first cluster of data shards as a leader of the first cluster of data shards, determining whether a first computing node storing the first data shard also stores a second data shard designated as a leader of a second cluster of data shards, yielding a determination; and
when the determination indicates that the first computing node stores the second data shard designated as the leader of the second cluster of data shards, designating the first data shard as non-electable to be the leader of the first cluster of data shards and electing an alternate data shard included in the first cluster of data shards as the leader of the first cluster of data shards.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are systems, methods, and computer-readable storage media for load balance resources amongst computing nodes. Various embodiments of the present technology can be used to, prior to assigning a first data shard included in a first cluster of data shards as a leader of the first cluster of data shards, determine whether a first computing node storing the first data shard also stores a second data shard designated as a leader of a second cluster of data shards, yielding a determination, and when the determination indicates that the first computing node stores the second data shard designated as the leader of the second cluster of data shards, designate the first data shard as non-electable to be the leader of the first cluster of data shards and electing an alternate data shard included in the first cluster of data shards as the leader of the first cluster of data shards.
118 Citations
20 Claims
-
1. A method comprising:
-
prior to assigning a first data shard included in a first cluster of data shards as a leader of the first cluster of data shards, determining whether a first computing node storing the first data shard also stores a second data shard designated as a leader of a second cluster of data shards, yielding a determination; and when the determination indicates that the first computing node stores the second data shard designated as the leader of the second cluster of data shards, designating the first data shard as non-electable to be the leader of the first cluster of data shards and electing an alternate data shard included in the first cluster of data shards as the leader of the first cluster of data shards. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A controller comprising:
-
one or more computer processors; and a memory storing instructions that, when executed by the one or more computer processors, cause the controller to; prior to assigning a first data shard included in a first cluster of data shards as a leader of the first cluster of data shards, determine whether a first computing node storing the first data shard also stores a second data shard designated as a leader of a second cluster of data shards, yielding a determination; and when the determination indicates that the first computing node stores the second data shard designated as the leader of the second cluster of data shards, designate the first data shard as non-electable to be the leader of the first cluster of data shards and elect an alternate data shard included in the first cluster of data shards as the leader of the first cluster of data shards. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable medium storing instructions that, when executed by one or more computer processors of a controller, cause the controller to:
-
prior to assigning a first data shard included in a first cluster of data shards as a leader of the first cluster of data shards, determine whether a first computing node storing the first data shard also stores a second data shard designated as a leader of a second cluster of data shards, yielding a determination; and when the determination indicates that the first computing node stores the second data shard designated as the leader of the second cluster of data shards, designate the first data shard as non-electable to be the leader of the first cluster of data shards and elect an alternate data shard included in the first cluster of data shards as the leader of the first cluster of data shards. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification