ThreadLocal Variables and Thread Pools – It Can Go Wrong
Many libraries use ThreadLocal variables to store some thread context data. Usually in web applications this context is a single request (= thread). However, there’s a caveat – most containersContinue reading