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 <[email protected]> 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 >
