You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by da...@daune-consult.com on 2005/09/01 09:35:03 UTC

[Mina] JMX instrumentation

Hi,

it seems that Mina JMX instrumentation is planned, but I don't know when.

I actually need some performance counters (throughput, total nr of connections,
current and max nr of concurrent connections...) for an application based on
Mina.

I am going to spend some time on this, and I could do it in Mina code as well,
so that everyone can benefit.

But I would need feedback on needed counters and some help for the best places
to probe.

What do you think of this ?

J-F


Re: [Mina] JMX instrumentation

Posted by da...@daune-consult.com.
> That's sound very interesting :)
> I'm working on implementing a fail-over service and replication on my
> MINA bassed server, and I need to monitor some parameters (different
> MINA Protocol stacks status, CPU usage , free RAM and dozen of custom
> parameters) for triggering a service migration (killing the running
> service on the main server and start the service on the backup server).
>
> I'm really new to JMX instrumentation but i think it could really help
> me, so I'm willing to help to get it into Mina.
>
> Julien

JMX is really simple, as you will notice.

I need counters providing qualitative and quantitative information 
about server
load.

A first good data would be the time a SessionManager is idle (blocked on
Selector.select()). Then, workTime = lifeTime - idleTime (I don't know if
vocabulary is the more appropriate one) This workTime is valuable for
statistics.

J-F



Re: [Mina] JMX instrumentation

Posted by Julien Vermillard <jv...@archean.fr>.
Le jeudi 01 septembre 2005 à 09:35 +0200, daune.jf@daune-consult.com a
écrit :
> Hi,
> 
> it seems that Mina JMX instrumentation is planned, but I don't know when.
> 
> I actually need some performance counters (throughput, total nr of connections,
> current and max nr of concurrent connections...) for an application based on
> Mina.
> 
> I am going to spend some time on this, and I could do it in Mina code as well,
> so that everyone can benefit.
> 
> But I would need feedback on needed counters and some help for the best places
> to probe.
> 
> What do you think of this ?
> 
That's sound very interesting :)
I'm working on implementing a fail-over service and replication on my
MINA bassed server, and I need to monitor some parameters (different
MINA Protocol stacks status, CPU usage , free RAM and dozen of custom
parameters) for triggering a service migration (killing the running
service on the main server and start the service on the backup server).

I'm really new to JMX instrumentation but i think it could really help
me, so I'm willing to help to get it into Mina.

Julien


Re: [Mina] JMX instrumentation

Posted by Trustin Lee <tr...@gmail.com>.
Hi, Jean-Francois,

2005/9/1, daune.jf@daune-consult.com <da...@daune-consult.com>:
>
> I am going to spend some time on this, and I could do it in Mina code as
> well,
> so that everyone can benefit.


Wow, thank you so much for your great plan. :)

But I would need feedback on needed counters and some help for the best
> places
> to probe.


JMX integration is planned to be included in version 1.1:

http://issues.apache.org/jira/browse/DIRMINA-29

We could keep talking about it there by leaving comments. I'll start
enumerating the requirements.

Thanks,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/