[jira] [Created] (IGNITE-1052) Need to implement light-weight closure execution

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1052) Need to implement light-weight closure execution

Anton Vinogradov (Jira)
Yakov Zhdanov created IGNITE-1052:
-------------------------------------

             Summary: Need to implement light-weight closure execution
                 Key: IGNITE-1052
                 URL: https://issues.apache.org/jira/browse/IGNITE-1052
             Project: Ignite
          Issue Type: Improvement
            Reporter: Yakov Zhdanov
            Priority: Critical


Current run() or call() methods results in task invocation. Need to avoid this and introduce a new way to remotely execute code
* closure processor installs its own message listeners
* message should contain closure to execute
* closure is submitted to pool on arrive
* closure takes 1 param - Grid on which it is being executed
* when closure finishes result is sent back
* injections should be supported
* peer deployment should be supported
* GridGain will not interrupt closure runner if sender leaves/fails - client can install listener and get notification on his own. Closure is supposed to be very fast, so no need to handle failures.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)