You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/07/20 21:15:00 UTC

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

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

Tsz Wo Nicholas Sze updated RATIS-60:
-------------------------------------
    Component/s: replicated map

> 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
>          Components: replicated map
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>            Priority: Major
>         Attachments: ratis-60-v0.patch
>
>
> 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
(v7.6.3#76005)