Optimization of in-memory data grid placement
First Claim
Patent Images
1. A method for optimizing data partition distribution in a memory data grid which includes a plurality of data partitions, comprising:
- synchronizing the plurality of data partitions;
running placement logic for a data partition distribution which optimizes a configuration of a memory data grid;
determining performance change of the memory data grid after adding new members to the memory data grid for adding available space to the memory data grid;
determining whether the memory data grid will become unstable if at least one of the synchronized plurality of data partitions is added, wherein a created data partition replication is shut off when it is determined that the memory data grid will become unstable if the at least one of the synchronized plurality of data partitions is added;
turning the created data partition replication on and off based on availability in the memory data grid to replicate all of the synchronized plurality of data partitions;
creating one or more replica data partitions from the plurality of data partitions;
converting a first one of the replica data partitions to a corresponding primary data partition;
determining an optimal data partition distribution in the memory data grid based on network topology and by observing network latency, disaster recovery parameters, grid size, and grid performance for containers placed in the memory data grid;
creating a plurality of policies for deciding whether synchronization of the optimal data partition distribution should be synchronous or asynchronous;
reducing invalidation traffic by placing the synchronized plurality of data partitions with the containers in the memory data grid; and
dynamically changing a data partition synchronization to an optimal data partition synchronization based on one of the polices.
3 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and program product for optimizing distribution and availability of data partitions is disclosed. Placement logic is run for data partition distribution which optimizes a configuration of a memory data grid. A determination of a change in performance of the memory data grid after adding new members to the memory data grid is provided. Replication of data partitions in the memory data grid is minimized. Optimum data partition distribution in the memory data grid is determined.
27 Citations
21 Claims
-
1. A method for optimizing data partition distribution in a memory data grid which includes a plurality of data partitions, comprising:
-
synchronizing the plurality of data partitions; running placement logic for a data partition distribution which optimizes a configuration of a memory data grid; determining performance change of the memory data grid after adding new members to the memory data grid for adding available space to the memory data grid; determining whether the memory data grid will become unstable if at least one of the synchronized plurality of data partitions is added, wherein a created data partition replication is shut off when it is determined that the memory data grid will become unstable if the at least one of the synchronized plurality of data partitions is added; turning the created data partition replication on and off based on availability in the memory data grid to replicate all of the synchronized plurality of data partitions; creating one or more replica data partitions from the plurality of data partitions; converting a first one of the replica data partitions to a corresponding primary data partition; determining an optimal data partition distribution in the memory data grid based on network topology and by observing network latency, disaster recovery parameters, grid size, and grid performance for containers placed in the memory data grid; creating a plurality of policies for deciding whether synchronization of the optimal data partition distribution should be synchronous or asynchronous; reducing invalidation traffic by placing the synchronized plurality of data partitions with the containers in the memory data grid; and dynamically changing a data partition synchronization to an optimal data partition synchronization based on one of the polices. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for optimizing data partition distribution in a memory data grid, the computer program product including a non-transitory machine-readable storage medium having computer readable code embodied therewith, the computer readable program code comprising:
-
computer readable program code that optimizes a data partition distribution in a memory data grid which includes a plurality of data partitions; and computer readable program code that synchronizes the plurality of data partitions; computer readable program code that runs placement logic for the data partition distribution which optimizes a configuration of the memory data grid; computer readable program code that determines a performance change in the memory grid after adding new members to the memory data grid for adding available space to the memory data grid; computer readable program code that determines whether the memory data grid will become unstable if at least one of the synchronized plurality of data partitions is added, wherein a created data partition replication is shut off when it is determined that the memory data grid will become unstable if the at least one of the synchronized plurality of data partitions is added; computer readable program code that turns the created data partition replication on and off based on availability in the memory data grid to replicate all of the synchronized plurality of data partitions; computer readable program code that creates one or more replica data partitions from the synchronized plurality of data partitions; computer readable program code that converts one of the replica data partitions to a corresponding primary data partition; computer readable program code that determines an optimal data partition distribution in the memory data grid based on network topology, and by observing network latency, disaster recovery parameters, grid size, and grid performance for containers placed in the memory data grid; computer readable program code that creates a plurality of policies for deciding whether synchronization of the optimal data partition distribution should be synchronous or asynchronous; computer readable program code that reduces invalidation traffic by placing the synchronized plurality of data partitions with the containers in the memory data grid; and computer readable program code that dynamically changes a data partition synchronization to an optimal data partition synchronization based on one of the polices. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a computer including a computer processor for optimizing data partition distribution in a memory data grid which includes a plurality of data partitions; and a data partition optimization engine for synchronizing the plurality of data partitions, the data partition optimization engine being operable to; run placement logic for data partition distribution which optimizes a configuration of the memory data grid; determine performance change of the memory data grid after adding new members to the memory data grid for adding available space to the memory data grid; determine whether the memory data grid will become unstable if at least one of the synchronized plurality of data partitions is added, wherein a created data partition replication is shut off when it is determined that the memory data grid will become unstable if the at least one of the plurality of data partitions is added; turn a replication of the data partitions on and off based on availability in the memory data grid to replicate all of the synchronized plurality of data partitions;
create one or more replica partitions from the synchronized plurality of data partitions;convert one of the replica data partitions to a corresponding primary data partition; determine an optimal data partition distribution in the memory data grid based on network topology, and by observing network latency, disaster recovery parameters, grid size, and grid performance for containers placed in the memory data grid; create a plurality of policies for deciding whether synchronization of the optimal data partition distribution should be synchronous or asynchronous; reduce invalidation traffic by placing the synchronized plurality of data partitions with the containers in the memory data grid; and dynamically change a data partition synchronization to an optimal data partition synchronization based on one of the polices. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification