3

I have an issue where some or all of my NioProcessor threads in MINA are becoming overloaded. This is because I actually am performance-tuning my application; I do want it taking on as much work as possible and am figuring out how to monitor it so it can reduce workload when it is full. I was looking through MINA's source code looking for some sort of structure such as a task queue that worker threads poll from because ideally I can monitor that pool and take some action to reduce work when it becomes full. Does anyone have sufficiently knowledge of MINA's implementation to know if such a structure exists or how to access it?

4

1 回答 1

0

看看 mina-integration-jmx,它是一个附加组件。有了它,您可以公开 mina 的内部以进行监控,例如过滤器、会话、...

请参阅此处的用户指南。

于 2012-12-12T09:20:40.987 回答