News for hackers. Stuff that matters.
Re:Thread pools: How do I use them? by smegel on Sunday March 27, 2016 @03:31PM (#11371152)
Maybe "Scala concurrency surprises" would be a better title.
Re:Thread pools: How do I use them? by masklinn on Sunday March 27, 2016 @03:57PM (#11371270)
It uses the JVM's threadpools directly so it applies to more or less any JVM-based language, and the problems it talks about (expensive sequential operation before threadpool submission and unbounded threadpool queue) are pretty common issues.

Witness the unbounded and unconfigurable (though replaceable — at your own risk since you're setting a "private" variable of the pool) queue of Python 3's threadpool: https://hg.python.org/cpython/file/default/Lib/concurrent/fu...