Libraries
Learn about open-source libraries, vendor code, and blocked threads.
Open source and vendor code libraries
Libraries are notorious sources of blocking threads, whether they are open-source packages or vendor code. Many libraries that work as service clients do their own resource pooling inside the library. When a problem occurs, these often make request threads block forever. Of course, these never allow you to configure their failure modes, like what to do when all connections are tied up waiting for replies that’ll never come.
If it’s an open source library, then we may have the time, skills, and resources to find and fix such problems. Better still, we might be able to search through the issue log to see if other people have already done the hard work for us.
On the ...