Tuning the Bear: Multi Selector Threads in Grizzly 1.5

Picture of a Grizzly Bear

Proper use of an NIO framework like Grizzly allows you to handle lots of I/O with a minimum number of threads. Still, increasing the allocation of threads for certain tasks can be an important performance-tuning tool.

Fortunately, Grizzly makes it easy to customize these settings. In his latest blog entry, Oleksiy shows an example of increasing your Grizzly instance's pool of threads for OP_ACCEPT and OP_READ events.


Post a Comment:
Comments are closed for this entry.