Sane Number of Threads

Marc-André Laverdière marcandre.laverdiere at gmail.com
Thu May 19 03:34:48 EDT 2011


I think that the rule of thumb they said is twice the number of cores.
Of course, your worker thread pool in the execution handler can be much bigger.

On 5/19/11, Dustin Norlander <dustinn at gmail.com> wrote:
> Wondering how big to make the I/O threadpool.  I am currently using an
> Execution handler so my code should all be executed in a separate
> thread, just wondering how many threads to assign to the IO pool?
>
> Seems with asynch i/o the number of io threads should be very small
> since it should not ever block, is this correct?  any reason to ever
> assign more threads then the # of cores?
>
> thanks for any advice,
> Dustin
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>


-- 
Marc-André LAVERDIÈRE
"Perseverance must finish its work so that you may be mature and complete,
not lacking anything." -James 1:4
http://asimplediscipleslife.blogspot.com/
mlaverd.theunixplace.com



More information about the netty-users mailing list