bubbles icon indicating copy to clipboard operation
bubbles copied to clipboard

Consumable retention policy

Open Stiivi opened this issue 11 years ago • 0 comments

Define consumable retention policy. Currently the retention is expected to be provided by the object, which is in most of the cases sub-optimal such as consuming all data into list of Python objects. Also this implementation is not aware of context in which the node is being executed. Suggestion:

  1. ExecutionEngine subclasses might insert retention/caching nodes after consumables. Advantage: simple implementation, aware of broader processing context. Disadvantage: might not be backend aware.
  2. Retention operations: retain(object, times) Advantage: backend aware. Disadvantage: not aware of the broader processing context.

Stiivi avatar Jul 02 '13 05:07 Stiivi