Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-19970

Java thin 3.0: Combine hashing with serialization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-beta1
    • 3.1
    • thin client

    Description

      Currently, we calculate colocation hash separately (see ClientTable.doSchemaOutInOpAsync), and then serialize the data into BinaryTuple.

      This causes double work:

      • Extract columns from the user-provided object (POJO or Tuple)
      • Extract value bytes (for some types like strings) - expensive and allocates an array

      Instead, we can calculate the colocation hash while serializing the data into a BinaryTuple, like the C# client does.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: