This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread Pooling performance

 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Performance-wise which one is better own Thread Poooling (or) Application servers thread pooling?
 
David Harkness
Ranch Hand
Posts: 1646
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic