avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: transceiver can be shared between clients/threads?
Date Tue, 06 Sep 2011 22:21:10 GMT
Transceiver and Requestor should actually be thread-safe.

What version of Avro are you using?  Can you provide a test case that
shows how this fails?  If so, please file a bug report.

Thanks,

Doug

On 09/06/2011 03:06 PM, Scott Carey wrote:
> I do not believe the current implementation is thread-safe.
> 
> On 9/6/11 9:05 AM, "Yang" <teddyyyy123@gmail.com
> <mailto:teddyyyy123@gmail.com>> wrote:
> 
>     from the constructor of SpecificRequestor, it does not seem to have
>     restrictions, 
>     but after I share the same transceiver between clients, it gave errors.
>     I looked into the code, it seems it does have some per-instance
>     state info, so I guess 
>     a transceiver can not be shared between clients, 
> 
>     could you please confirm?
> 
>     Thanks
>     Yang

Mime
View raw message