Thursday, February 01, 2007

A pool of thread

It is not a great and visually spectacular feature, but I think it is very important for performance questions.
I have added a thread pool to manage the execution of threads.

When working with WMS layers, every data request works in a new thread. This can derive (if too many request are made) on a great number of threads working at the same time and with its own resource consumption.
A thread's pool solves this situations limiting the number of threads that can be working in a given moment, and avoiding the massive consumption of resources.