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:
- running placement logic for optimizing configuration of the memory data grid, wherein the memory data grid includes a plurality of data partitions and a plurality of containers;
providing a performance impact of adding new members to the memory data grid for adding available space to the memory data grid;
creating one or more replica data partitions from the plurality of data partitions;
converting one of the one or more 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 also based on removal of a container from the memory data grid;
determining whether the memory data grid is sufficient to replicate all of the plurality of data partitions;
determining whether adding a new container to the memory data grid will cause stress to in-memory housekeeping operations;
turning a replication of the data partitions on and off based on availability in the memory data grid to replicate all of the plurality of data partitions to minimize replication of one of a plurality of data partitions in the memory data grid for stabilizing 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 plurality of data partitions in the plurality of containers in the memory data grid; and
dynamically changing a data partition synchronization to an optimal data partition synchronization based on one of the policies.
2 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:
-
running placement logic for optimizing configuration of the memory data grid, wherein the memory data grid includes a plurality of data partitions and a plurality of containers; providing a performance impact of adding new members to the memory data grid for adding available space to the memory data grid; creating one or more replica data partitions from the plurality of data partitions; converting one of the one or more 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 also based on removal of a container from the memory data grid; determining whether the memory data grid is sufficient to replicate all of the plurality of data partitions; determining whether adding a new container to the memory data grid will cause stress to in-memory housekeeping operations; turning a replication of the data partitions on and off based on availability in the memory data grid to replicate all of the plurality of data partitions to minimize replication of one of a plurality of data partitions in the memory data grid for stabilizing 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 plurality of data partitions in the plurality of containers in the memory data grid; and dynamically changing a data partition synchronization to an optimal data partition synchronization based on one of the policies. - 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 computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:
-
computer readable program code that runs placement logic for optimizing configuration of the memory data grid, wherein the memory data grid includes a plurality of data partitions and a plurality of containers; computer readable program code that provides a performance impact of adding new members to the memory data grid for adding available space to the memory data grid; computer readable program code that creates one or more replica data partitions from the plurality of data partitions; computer readable program code that converts one of the one or more 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 also based on an amount of congestion in the memory data grid; computer readable program code that determines whether the memory data grid is sufficient to replicate all of the plurality of data partitions; computer readable program code that determines whether adding a new container to the memory data grid will cause stress to in-memory housekeeping operations; computer readable program code that turns a replication of the data partitions on and off based on availability in the memory data grid to replicate all of the plurality of data partitions to minimize replication of one of a plurality of data partitions in the memory data grid for stabilizing 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 plurality of data partitions in the plurality of 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 policies. - 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 plurality of containers; 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 optimizing configuration of the memory data grid, wherein the memory data grid includes a plurality of data partitions; provide a performance impact of adding new members to the memory data grid for adding available space to the memory data grid; create one or more replica data partitions from the plurality of data partitions; convert one of the one or more 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 also based on a number of available and stored ones of the data partitions; determine whether the memory data grid is sufficient to replicate all of the plurality of data partitions; determine whether adding a new container to the memory data grid will cause stress to in-memory housekeeping operations; turn a replication of the data partitions on and off based on availability in the memory data grid to replicate all of the plurality of data partitions to minimize replication of one of a plurality of data partitions in the memory data grid for stabilizing 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 plurality of data partitions in the plurality of containers in the memory data grid; and dynamically change a data partition synchronization to an optimal data partition synchronization based on one of the policies. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification