Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1239

TupleProtocol- An extremely compact, temporary protocol

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • Java - Compiler
    • None

    Description

      Currently, protocols are built to be pretty robust to 'schema' changes. This is done by sending metadata about when a struct or a field will start/end, the number of fields to expect and the types of each field, etc. However, there are cases when the recipient knows all of this, even before it receives this metadata. In these cases, sending the metadata unnecessarily eats up bandwidth. The TupleProtocol rectifies this by sending and receiving only the value of each field in a specified order. The only metadata passed is about variable information such as the size of a container or which optional fields are set.

      Attachments

        1. tuple_protocol.patch
          4 kB
          Armaan Sarkar
        2. tuple_generator.patch
          7 kB
          Armaan Sarkar
        3. thrift-1239-v4.patch
          88 kB
          Armaan Sarkar
        4. thrift-1239-v3.patch
          79 kB
          Armaan Sarkar
        5. thrift-1239-v2.patch
          80 kB
          Bryan Duxbury
        6. pluggable_serializer_master.patch
          156 kB
          Armaan Sarkar

        Issue Links

          Activity

            People

              armaansarkar Armaan Sarkar
              armaansarkar Armaan Sarkar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: