×

Coordinated garbage collection in distributed systems

  • US 10,642,663 B2
  • Filed: 05/27/2015
  • Issued: 05/05/2020
  • Est. Priority Date: 09/10/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a plurality of hardware computing nodes interconnected via a network, each of which comprises at least one processor and a memory, and each of which hosts one or more virtual machine instances, wherein each virtual machine instance has its own heap memory and garbage collector that are not shared with other virtual machine instances; and

    a garbage collection coordinator;

    wherein each of the virtual machine instances executes a respective process of a distributed application that communicates over the network with one or more other ones of the processes of the distributed application executing on respective other virtual machine instances, and wherein performing a garbage collection on one of the virtual machine instances hosted on a particular node of the plurality of computing nodes delays execution of one or more other of the virtual machine instances hosted on respective nodes of the plurality of computing nodes other than the particular node;

    wherein the garbage collection coordinator is configured to;

    receive information from at least one node of the plurality of hardware computing nodes indicating that the at least one node is not ready to receive communications from other ones of the processes of the distributed application;

    determine that a particular garbage collection should be performed on one of the virtual machine instances dependent, at least in part, on the received information; and

    initiate garbage collection on the one of the virtual machine instances.

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