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

Thin 3.0: Optimize server-side Tuple handling using known schema version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.0-alpha3
    • 3.0
    • thin client

    Description

      Thin client protocol is schema-aware, but the known schema is thrown away on the server after deserialization, and Table API has to match it against schemas again.

      SchemaAware interface can be used to preserve known schema when passing tuples to the Table API (see how TupleMarshallerImpl checks for SchemaAware).

      Example: table.Upsert(Tuple t)

      1. Client: match user tuple to schema, serialize with schema version, send to server
      2. Server: read schema version, read tuple data, create Tuple, throw away schema version, pass to Table API
      3. Server: match tuple to schema

      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:
                Resolved: