Re: Avro schema properties contention on multithread read

2017-07-08 Thread Zoltan Farkas
The order of attributes in Json might matter as far as I can remember, so LinkedHashMap might not be replaceable with a concurrenthashmap. Plus concurrenthashmap is not exactly without concurrency overhead… I wrote a util that creates a immutable schema

Re: Avro schema properties contention on multithread read

2017-07-06 Thread fady
On 05.07.2017 21:53, Zoltan Farkas wrote: > The synchronization in JsonProperties is curently inconsistent (see > getObjectProps()) which makes current implementation @NotThreadSafe > > I think it would be probably best to remove synchronization from those > methods... and add @NotThreadSafe

Re: Avro schema properties contention on multithread read

2017-07-05 Thread Zoltan Farkas
The synchronization in JsonProperties is curently inconsistent (see getObjectProps()) which makes current implementation @NotThreadSafe I think it would be probably best to remove synchronization from those methods… and add @NotThreadSafe to the class… Utilities like