On Mar 15, 2013, at 4:05 PM, Mark Thomas wrote:
> On 15/03/2013 20:53, Nick Williams wrote:
>> If I understand this correctly (which I may not), BIO dedicates a
>> thread to a request from beginning to end and then recycles that
>> thread only when the request has completed (which is perfect), bu
On 15/03/2013 20:53, Nick Williams wrote:
> If I understand this correctly (which I may not), BIO dedicates a
> thread to a request from beginning to end and then recycles that
> thread only when the request has completed (which is perfect), but
> NIO and APR do not do that. More than one request m
2013/3/16 Nick Williams :
> I know, I know. "Don't use ThreadLocals." I've seen it on this list at least
> 100 times. But avoiding ThreadLocal variables can be hard:
>
> 1) Spring Framework uses ThreadLocals for things like the RequestContext. You
> can't just turn that off.
> 2) Spring Security
I know, I know. "Don't use ThreadLocals." I've seen it on this list at least
100 times. But avoiding ThreadLocal variables can be hard:
1) Spring Framework uses ThreadLocals for things like the RequestContext. You
can't just turn that off.
2) Spring Security uses ThreadLocals for things like the