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

Reduce time spent validating schemas

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.1
    • python
    • None
    • Reviewed

    Description

      avro.io has a validate method that currently occupies around half the time it takes to serialize a fairly complex record through a datafile. validate() gets called repeatedly during an object's traversal, even though validate itself is already recursive. This introduces combinatorially excessive validation that has a significant impact on the performance of serializing complex records.

      Attachments

        1. AVRO-673.patch
          1 kB
          Erik Frey

        Activity

          People

            erikfrey Erik Frey
            erikfrey Erik Frey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: