You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Dhruv Mahajan (JIRA)" <ji...@apache.org> on 2015/05/28 23:52:17 UTC

[jira] [Created] (REEF-350) Removing code duplication in Wake and GroupCommunication

Dhruv Mahajan created REEF-350:
----------------------------------

             Summary: Removing code duplication in Wake and GroupCommunication
                 Key: REEF-350
                 URL: https://issues.apache.org/jira/browse/REEF-350
             Project: REEF
          Issue Type: Improvement
          Components: GroupCommunications, Wake.NET
         Environment: .NET
            Reporter: Dhruv Mahajan


Right now Wake Layer and Group Communication Layer is going through changes for efficiency and removing data copying multiple times  REEF-179. Currently we have internal IWritable implementation for Wake and IStreamingCodec API at group communication side. There is lot of code duplication between the old and new APIs.

We aim to do the two following things:

a) Convert IWritable interface in Wake and Network Service layer to IStreamingCodec.
b) Remove the old code based on Codec and retain the external facing APIs for backward compatibility. However beneath these old APIs the new IStreamingCodec based implementation will be running. We will provide an internal ICodec to IStreamingCodec converter to maintain the backward compatibility in case user still wants to give the ICodec interface for messages.



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