[ 
https://issues.apache.org/jira/browse/IGNITE-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-1412:
-----------------------------------
    Issue Type: Improvement  (was: Task)

> .NET: Pass local entry processor pointer to Java
> ------------------------------------------------
>
>                 Key: IGNITE-1412
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1412
>             Project: Ignite
>          Issue Type: Improvement
>          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)

Reply via email to