This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Thread monitoring and managing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Thread monitoring and managing" Watch "Thread monitoring and managing" New topic
Author

Thread monitoring and managing

Karthik Anant
Greenhorn

Joined: Nov 02, 2009
Posts: 20
Hi All,

I have a server application which runs(spawns) multiple threads for running various tasks, and many of them run the same task for various clients. I want all the threads doing the same task to occupy same priority and memory (dont want one client to use up my jvm too much). so am thinking of having some kind of a monitoring/managing on the threads.
Can anyone please suggest me any good available mechanisms for doing this?

I found a sourceforge project by name Simple Java Thread Management(SJT)
http://simplethread.sourceforge.net/

But am not finding it very good, and wondering if there are better options.

Appreciate the help, thanks in advance.
Edward Harned
Ranch Hand

Joined: Sep 19, 2005
Posts: 288

For a professional thread management project on SourceForge go here: http://coopsoft.com/JavaProduct.html


Ed's latest article: A Java Parallel Calamity http://coopsoft.com/ar/Calamity2Article.html
Karthik Anant
Greenhorn

Joined: Nov 02, 2009
Posts: 20
Thanks Edward,
Am looking for a solution to checking the cpu cycles taken by each of my thread.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Thread monitoring and managing
 
Similar Threads
Putting a time out on individual threads inside ThreadPoolExecutor
URLyBird - Database Access
Would becoming an architect limit freelance or contract opportunities?
background processing - thread
Multiple Thread Pool Framework - HowTo