You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Joel Turkel (Jira)" <ji...@apache.org> on 2020/12/07 15:38:00 UTC
[jira] [Created] (AVRO-3000) Avoid unnecessary schema compatibility
checks
Joel Turkel created AVRO-3000:
---------------------------------
Summary: Avoid unnecessary schema compatibility checks
Key: AVRO-3000
URL: https://issues.apache.org/jira/browse/AVRO-3000
Project: Apache Avro
Issue Type: Improvement
Components: ruby
Affects Versions: 1.10.0
Reporter: Joel Turkel
Assignee: Joel Turkel
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)