You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2017/03/30 21:03:41 UTC

[jira] [Created] (RATIS-60) Allow direct PB support for Message and SMLogEntry

Enis Soztutar created RATIS-60:
----------------------------------

             Summary: Allow direct PB support for Message and SMLogEntry
                 Key: RATIS-60
                 URL: https://issues.apache.org/jira/browse/RATIS-60
             Project: Ratis
          Issue Type: Sub-task
            Reporter: Enis Soztutar
            Assignee: Enis Soztutar


Right now, for flexibility, both Message and SMLogEntry are ByteStrings. This allows using custom serialization formats other than PB (or maybe use a different  version of PB). 

However, this is very inefficient for the common case where both the messages and SM Log Entries are themselves PB objects. We unnecessarily serialize twice. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)