multithreading

  • submit to reddit

TDD for multithreaded applications

This article describes some practices for test-driving multithreaded and distributed applications written in Java. The example I worked on and we will use is a peer-to-peer application composed of many Nodes (clients) and of a few Supernodes (servers).The...

4 replies - 4218 views - 01/03/12 by Giorgio Sironi in Articles

Java Threads on Steroids

If you're much into concurrency, then you must have stumbled upon the disruptor concurrency framework engineered and open-sourced by LMAX.

5 replies - 7899 views - 08/11/11 by Wojciech Kudla in Articles

Parallelism for dummies

If you have not lived under a rock, you have probably heard that the clock frequencies of our CPUs haven't increased in years, and they probably won't in the next ones. This speed barrier, imposed by the limits to miniaturization, is the driving force behind...

0 replies - 7058 views - 06/14/11 by Giorgio Sironi in Articles

Getting Started with Parallel Programming

Multi-core computers have shifted the burden of software performance from chip designers to software architects and developers. In order to gain the full benefits of this new hardware, we need to parallelize our code. The goal of this article is to introduce...

6 replies - 15561 views - 06/23/09 by Haytham ElFadeel in Articles

Avoid NIO, Get Better Throughput

The Java NIO (new/non-blocking I/O) API introduced in Java 1.4 is arguably the most arcane part of the standard library.  With channels, selectors, byte buffers and all the associated flipping, marking, compacting, event-handling and...

5 replies - 10171 views - 09/03/08 by Dan Dyer in Articles

Java Concurrency: Reentrance Lockout

Reentrance lockout is a situation similar to deadlock and nested monitor lockout.

3 replies - 5814 views - 06/14/08 by Jakob Jenkov in News

Java Concurrency: Read / Write Locks

Jakob has done a great series on Java Concurrency - check out the first 14 articles at his blog. Going forward, we're delighted to announce that you'll also be able to follow the series here on JavaLobby.

19 replies - 18212 views - 06/09/08 by Jakob Jenkov in News