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

Avoid unnecessary schema compatibility checks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.11.0, 1.10.2
    • ruby
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: