You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Joo Seong (Jason) Jeong (JIRA)" <ji...@apache.org> on 2016/08/11 06:24:22 UTC

[jira] [Created] (REEF-1520) Enable concurrent processing of .NET driver-side events

Joo Seong (Jason) Jeong created REEF-1520:
---------------------------------------------

             Summary: Enable concurrent processing of .NET driver-side events
                 Key: REEF-1520
                 URL: https://issues.apache.org/jira/browse/REEF-1520
             Project: REEF
          Issue Type: Improvement
          Components: REEF Driver, REEF.NET Driver
    Affects Versions: 0.16
            Reporter: Joo Seong (Jason) Jeong


A .NET driver is backed by a Java driver, with driver-side events being delegated from Java to .NET via JNI. However, for the ease of development, we currently have setup all events to be processed one at a time, sequentially.
{code:Java}
// org.apache.reef.javabridge.generic.JobDriver
public void onNext(final AllocatedEvaluator allocatedEvaluator) {
  synchronized (JobDriver.this) {
    ..
  }
}

public void onNext(final ActiveContext context) {
  synchronized (JobDriver.this) {
    ..
  }
}
{code}
Concurrent processing is NOT inherently impossible, since we already have it on the Java side. We can make improvements to the code so that concurrency is allowed for the .NET side too.



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