Archived

This forum has been archived. Please start a new discussion on GitHub.

Distributed G.C

Does the ice framework provide anything to help identifying and destroying remote objects which are no longer accessible by clients. E.g. a remote object that was returned from a remote method call and was discarded by the caller (or the caller crashed and could not destroy it)?

Comments

  • matthew
    matthew NL, Canada
    No, there is no such mechanism built into Ice. In fact, to the best of my knowledge, there is no reliable and scalable distributed GC in any commercial middleware.

    The simplest approach to solve this problem is sessions with associated timeouts. Check Michi's article "The Grim Reaper: Making Objects Meet Their Maker" in issue 3 of our newsletter Connections - http://www.zeroc.com/newsletter/issue3.pdf.