×

Data communication in a distributed data grid

  • US 10,572,486 B2
  • Filed: 02/26/2015
  • Issued: 02/25/2020
  • Est. Priority Date: 02/26/2015
  • Status: Active Grant
First Claim
Patent Images

1. A first node, comprising:

  • a first memory to store data as one or more cache entries of a distributed cache distributed over a grid of nodes comprising at least the first node and an iterator node;

    a first processor coupled to the first memory, the first processor to;

    receive, over a network from a second processor of the iterator node, a search request to search the data in the first memory, wherein the search request corresponds to a search query of the grid received at the iterator node and wherein the search request comprises;

    search criteria defined by the search query; and

    a memory capacity threshold of a second memory coupled to the second processor of the iterator node;

    identify result data comprising data in the first memory that matches the search criteria;

    communicate, to the iterator node, the result data;

    determine whether pause criteria of a pause condition is satisfied, the pause condition pertaining to the memory capacity of the second memory exceeding the memory capacity threshold during communication of the result data, wherein the memory capacity of the second memory is determined in view of an amount of result data communicated by the first node and by other nodes to the iterator node;

    in response to satisfying the pause criteria of the pause condition, pause communicating the result data to the iterator node for at least a predetermined length of time, wherein the pause condition is to prevent an out of memory (OOM) condition from occurring at the iterator node, wherein prevention of the OOM condition improves communication efficiency and network bandwidth in the grid of nodes;

    determine that the predetermined length of time is satisfied and that a resume criteria of a resume condition is satisfied responsive to receiving, from the iterator node, a resume message, wherein the resume message indicates to the first node to resume communicating result data to the iterator node, the resume condition pertaining to memory capacity of the second memory falling below the memory capacity threshold; and

    in response to satisfying the resume criteria of the resume condition, resume communicating the result data to the iterator node.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×