[jira] [Updated] (AVRO-2039) Ruby encoding performance improvement

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (AVRO-2039) Ruby encoding performance improvement

JIRA jira@apache.org

     [ 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)

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

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
(v6.4.14#64029)