Niels Basjes created AVRO-3713:
----------------------------------

             Summary: Regression AVRO-1760 : Thread scalability problem with 
the use of SynchronizedMap
                 Key: AVRO-3713
                 URL: https://issues.apache.org/jira/browse/AVRO-3713
             Project: Apache Avro
          Issue Type: Bug
            Reporter: Niels Basjes


This is a regression of AVRO-1760 which is causing production performance 
problems.

In AVRO-1760 the issue was fixed that there is a scalability problem with AVRO 
being used in multithreaded situations.

The solution that was implemented for this ticket uses a different Map 
implementation (part of Guava) that does not have these locking issues:

[https://github.com/apache/avro/commit/363360229e7ea5f816d87f9d5747dd4494d3b862#diff-422f44890f5e0ab1f508a7c75d0d18fc7831a1c3ca13e0c97780617570c50d5cL970-L973]

Investigating the performance of our internal application has made us conclude 
the original problem was reintroduced with this commit:

[https://github.com/apache/avro/commit/c78a3d5ea4e7e511ba9f6182157956db3e65e1a0#diff-422f44890f5e0ab1f508a7c75d0d18fc7831a1c3ca13e0c97780617570c50d5cL986-L988]

which seems to be related to this jira AVRO-2265 "Remove Guava as a dependency".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to