The Artima Developer Community
Sponsored Link

Java Answers Forum
Optimizing timer operation

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
WD

Posts: 4
Nickname: webdevil
Registered: Aug, 2003

Optimizing timer operation Posted: Aug 9, 2003 2:22 PM
Reply to this message Reply
Advertisement
Hi All,
I am working on a application that pulls the data from a database,process it and put it in another database. I doing multi-threading with the use of java.util.Timer. My problem is that the amount of data that needs to be pulled and processed is insane. Right now I am trying with different combinations of no of threads and time interval for the Timer object to come up with better solution.
Are there any ways that Timer operation can be optimized?
Is there any relation between no of threads and no of cpu on the box running the app for better performance?

Thanks,
WD

Topic: rmic loaded the class but gives NoClassDefFoundError Previous Topic   Next Topic Topic: Question abt java and windows

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use