Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1344

ReferenceYYYXXX for better message passing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 3.2.0-incubating, 3.1.2-incubating
    • None
    • process
    • None

    Description

      In https://issues.apache.org/jira/browse/TINKERPOP-1343, I was saying that it would be nice to have the element id type be known so we can do writeObject() as opposed to writeObjectAndClass(). I think we could do some good with a hiearchy of classes like:

      ReferenceIntVertex
      ReferenceLongVertex
      ReferenceVertex (Object -- what we have now)
      ReferenceUUIDVertex
      ...
      

      ...likewise for Edge, VertexProperty...

      This will save us an extra 32-bits (4 byte int) on the serialization of messages during OLAP message pass as that is all ReferenceXXX based.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              okram Marko A. Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: