Replies: 1 comment
-
Initial proposal: Problem statementThe fixed execution order framework (FEO) in S-CORE requires stable sample data over the full execution of a task chain to support reprocessing. This concept can be compared to a snapshot mechanism. Trivial approachWithout much thought, one might choose to let the service activity retrieve the data from the original producer and provide it with its own service offer Zero-copy capable approachTo provide a snapshot feature with zero copy in mind, a more sophisticated approach is necessary. With that in mind, the original problem statement can be generalized to: The straight-forward solution would be to allow process A to send the sample pointer to process B.
Finding a solution to these questions is difficult. Therefore, we propose a different approach. For this we introduce the SamplePtrHandle. This handle does not allow direct access to a sample. For this API, the same restrictions apply as for the Further, calling Formalized APIsSamplePtr
The API The SamplePtrHandle contains:
It can not be constructed by the user and may only be retrieved using the above API. ProxyEvent
For a given SamplePtrHandle,
In all other cases a corresponding error is returned. Usage in FEOThe task chain is started by the service activity that retrieves the SamplePtrs for all relevant samples. With those proxies the activities call At the end of the task chain the service activity is scheduled once more to release the the SamplePtrs. For communication within a task chain, the normal communication scheme (using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions