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

Ruby encoding performance improvement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.9.0
    • ruby
    • None
    • Ruby encoding performance improvements

    Description

      For a use case with a few levels of nesting and unions in several places within the schema we saw a 5x improvement in encoding performance with these changes to encoding using Ruby.

      1. Avoid the exhaustive validation of schemas in a union

      2. Avoid the repeated validation of nested schemas

      https://github.com/apache/avro/pull/230

      Attachments

        Issue Links

          Activity

            People

              tjwp Tim Perkins
              tjwp Tim Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: