You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/06/20 12:28:06 UTC
[jira] [Updated] (IGNITE-1412) .Net: Pass local entry processor
pointer to Java.
[ https://issues.apache.org/jira/browse/IGNITE-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-1412:
-----------------------------------
Labels: .net (was: )
> .Net: Pass local entry processor pointer to Java.
> -------------------------------------------------
>
> Key: IGNITE-1412
> URL: https://issues.apache.org/jira/browse/IGNITE-1412
> Project: Ignite
> Issue Type: Task
> Components: platforms
> Affects Versions: 1.1.4
> Reporter: Vladimir Ozerov
> Labels: .net
>
> Currently we always serialize .Net entry processor and pass only serialized bytes to Java.
> If processor is to be executed locally, then we pass the same bytes back and deserialize them again.
> Instead, we can do the following:
> 1) Serialize entry processor.
> 2) Allocate handle for it.
> 3) Pass bytes and handle to Java.
> 4) In case of local execution, just return back the handle.
> 5) Once execution is finished, handle can be safely released in "finally" block.
> This can be easily implemented only for synchronous entry processing.
> For async mode there is no try/finally. We could release the handle during feature completion, but the problem is that there is no guarantee tha user will ever request this feature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)