ThreadLocal's ThreadPoolExecutor
It's just theoretical idea - has anybody tried to use TreadPoolExecutor in
ThreadLocal context?
Possible use cases for this is handling some calculation for http request
for user. It won't go into shared thread pool executor so long running
tasks form one user won't kill(on timeout) tasks for other users.
No comments:
Post a Comment