thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject Re: Thread safe client code
Date Thu, 01 Jul 2010 16:15:48 GMT
Adding concurrency control the the generated code means that even
single-threaded applications have to carry the weight of all the extra
machinery involved.

When I need concurrent access, I usually throw a queue in front of the
client (or pool of clients) and that's all it takes.

-Bryan

On Thu, Jul 1, 2010 at 8:28 AM, Sanjit Jhala <sjhalaz@gmail.com> wrote:

> I noticed that the client code generated by Thrift is not thread safe. Is
> this worth implementing or is the added complexity not worth the
> performance
> gain relative to locking at the application level ?
>
> -Sanjit
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message