Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The Best of the Week (May 23): Performance Zone

DZone's Guide to

The Best of the Week (May 23): Performance Zone

· Java Zone
Free Resource

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

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:

1. String Interning - What, Why and When ?

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.

2. Java File I/O Basics

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.

3. Java conccurency: a brief overview

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.

4. Grails Goodness: Exception Methods in Controllers

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.

5. Code parallelization with joblib

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.

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}