Welcome to MikeBryant.com...  
  Software Projects » Java Thread Throttler   
 

Java Thread Throttler

 
Status: In Design Phase

This project (open source, of course) involves writing some foundation classes that can be 'plugged' into an application to act as a traffic cop of sorts. It will setup and maintain various thread pools and the applicaiton using it will submit various tasks for it to perform.

The tasks requested to be performed will actually be Java classes that implement some interface defined by the throttler. Then, during times when the JVM notices that there isn't much going on, it will promote some of the lower-priority threads and do maintenance work for the hosting application. Likewise,during times of peak processor usage, the throttler will demote some of the working threads. The whole idea is to maximize the usage of the processor without causing harm to the speed of the application.

I see this as being useful in OLTP applications or high-end web apps where the throttler could be used to do clean-up work and run nightly reports, etc. during non-peak times. This project is by no means a small task... Aside from some very high-level design, this project has not yet started.

If you are interested in helping out, please email me.
 

 

Content managed by the Etomite Content Management System.