HBase
  1. HBase
  2. HBASE-41

[REST] Support multipart/related instead of xml input/output

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
      None

      Description

      XML is bulky and slow, but the only way currently supported for multi-column gets/puts/etc. We should add support for multipart/related encoded entity bodies since that will be all binary and presumably faster and more compact.

        Activity

        Hide
        stack added a comment -

        Does stargate do this andrew?

        Show
        stack added a comment - Does stargate do this andrew?
        Hide
        Andrew Purtell added a comment -

        Protobufs encoding is neither bulky nor slow and Stargate supports multi column and multi row gets and puts with it. There is support for binary encoding also but not multipart – operations with application/octet-stream encoding are limited to single KVs. Multipart/related is not necessarily efficient. Timestamps and column names would be sent as X-headers mixed between the binary blobs, and the part headers and border adds more overhead. The only reason to support it is if someone cannot use protobufs as an alternative to XML. I filed HBASE-1788 against Stargate for this but set the priority to trivial. Vote to increase.

        Show
        Andrew Purtell added a comment - Protobufs encoding is neither bulky nor slow and Stargate supports multi column and multi row gets and puts with it. There is support for binary encoding also but not multipart – operations with application/octet-stream encoding are limited to single KVs. Multipart/related is not necessarily efficient. Timestamps and column names would be sent as X-headers mixed between the binary blobs, and the part headers and border adds more overhead. The only reason to support it is if someone cannot use protobufs as an alternative to XML. I filed HBASE-1788 against Stargate for this but set the priority to trivial. Vote to increase.
        Hide
        Andrew Purtell added a comment -

        Closing. HBASE-1788 supersedes.

        Show
        Andrew Purtell added a comment - Closing. HBASE-1788 supersedes.

          People

          • Assignee:
            Andrew Purtell
            Reporter:
            Bryan Duxbury
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development