Subject Re: [IB-Architect] Event datasets RFD
Author Bill Karwin
From: "Jason Wharton" <jwharton@...>
> Being that events are not dispatched until the transaction is closed how
> does one determine when it should be garbage collected? It isn't possible
to
> make it such that upon fetching because there are potentially many clients
> that would respond to the event.

The server knows there are n clients who have expressed an interest in the
event 'blah'. Decrement n when any of these clients does one of the
following:
o Fetches the dataset
o Asks to be removed from the notification list
o Terminates its database connection

When n reaches zero, discard the dataset.

Bill Karwin