Forums Register Login

Thread Pooling performance

+Pie Number of slices to send: Send
Performance-wise which one is better own Thread Poooling (or) Application servers thread pooling?
+Pie Number of slices to send: Send
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.
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 638 times.
Similar Threads
Threads/pooled sessions and cache
Switch vs if else
If not listening to socket but might later, kill threads in pool, recreate?
Accessing Web context in a thread in WAS 5.1
connection pool ? (JBoss / DBCP / c3po )
Connection pools
What better: return Hashtable[] or List of Hashtables?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:03:19.