File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes Thread Pooling performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Thread Pooling performance" Watch "Thread Pooling performance" New topic
Author

Thread Pooling performance

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
Performance-wise which one is better own Thread Poooling (or) Application servers thread pooling?
David Harkness
Ranch Hand

Joined: Aug 07, 2003
Posts: 1646
If you don't have significant threading experience, the thread pools of your container and many open source projects will be better. The gains you'll see should be minimal in any case unless you write a really poor implementation. My recommendation is to use stuff that works as much as you can and spend your time writing the project-specific code only you can write.

Have you profiled your application and found the thread pool to be a significant chunk of its time? If not, why even consider it? It isn't free just because it costs no money.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread Pooling performance
 
Similar Threads
Connection Pooling
Thread Pooling
JBoss supports Thread pooling?
Number of Entity Beans
Multithreading and Memory Management