javaee / grizzly

Writing scalable server applications in the Java™ programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly NIO framework has been designed to help developers to take advantage of the Java™ NIO API.
https://javaee.github.io/grizzly/
Other
222 stars 60 forks source link

SameThreadIOStrategy selectors monitoring #1953

Closed szymeker closed 7 years ago

szymeker commented 7 years ago

Is there a way to monitor number of active selectors? Is there a indicator that selectors are running close to the limit?

Strategy: SameThreadIOStrategy Grizzly version: org.glassfish.grizzly:grizzly-framework:2.3.28

rlubke commented 7 years ago

Review the documentation on monitoring [1]. Selector runners can be monitored via this facility in association with the kernel thread pool.

[1] https://javaee.github.io/grizzly/monitoring.html