Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3000

Avoid unnecessary schema compatibility checks

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.11.0, 1.10.2
    • Component/s: ruby
    • Labels:
      None

      Description

      Profiling Ruby Avro decoding of our event processing pipeline shows Avro is spending a fair amount of time validating that the reader and writer schemas are compatible. These checks are unnecessary for the fairly common case of the reader and writer schemas being the same. Eliminating these unnecessary checks when the reader and writer schemas are the same improves the throughput of our decoding benchmarks by 1.3X.

      Github PR coming shortly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joelturkel Joel Turkel
                Reporter:
                joelturkel Joel Turkel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: