On the subject of Java code optimisation: I’m sure we’re all familiar with the concept of thread pooling — typically used together with the Executor framework. Configuring your thread pools can be tricky: choose a small value and you’re not making usage of your server power, on the other hand, choose a value large enough […]