Make sure you didn't miss anything with this list of the Best of the Week in the Performance Zone (May 23 to May 30). Here they are, in order of popularity:
Though Java automatically interns all Strings by default, remember that we only need to intern strings when they are not constants, and we want to be able to quickly compare them to other interned strings.
In the rest of this post I will provide some code samples that show how you can accomplish common file related tasks with Java 7 or newer.
This is a brief overview on my concurrency explained using an example on transactions over bank accounts. This example is based in the producer / consumer design pattern in order to simulate real time transactions activity.
Since Grails 2.3 we can define exception methods in our controllers to handle exceptions raised by code invoked in the action methods of the controllers.
Recently I've been working on the parallelization of some Python code and I discovered Joblib. It is a library that supports pipelining and offers a good support for parallelization. In this post we will implement a (very naive) paraller matrix by matrix multiplication algorithm to show the parallelization capabilities of this library.