avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Perkins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-2039) Ruby encoding performance improvement
Date Mon, 12 Jun 2017 17:17:00 GMT

     [ https://issues.apache.org/jira/browse/AVRO-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tim Perkins updated AVRO-2039:
    Release Note: Ruby encoding performance improvements
          Status: Patch Available  (was: Open)


This PR is against master which includes the Avro::SchemaValidator class. I believe that a
similar approach could also be applied the current code on the 1.8 branch.

> Ruby encoding performance improvement
> -------------------------------------
>                 Key: AVRO-2039
>                 URL: https://issues.apache.org/jira/browse/AVRO-2039
>             Project: Avro
>          Issue Type: Improvement
>            Reporter: Tim Perkins
> 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

This message was sent by Atlassian JIRA

View raw message