Apache Directory Project - [Mina] JMX instrumentation

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > September 2005 > [Mina] JMX instrumentation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Mina] JMX instrumentation
daune.jf-/BlEExAzoZbjMQX/wY3yqAC/G2K4zDHf@publ

2005-09-01, 2:45 am

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


Julien Vermillard

2005-09-01, 7:45 am

Le jeudi 01 septembre 2005 à 09:35 +0200, daune.jf-/BlEExAzoZbjMQX/wY3yqAC/G2K4zDHf@public.gmane.org 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


daune.jf-/BlEExAzoZbjMQX/wY3yqAC/G2K4zDHf@publ

2005-09-01, 7:45 am

> 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



Trustin Lee

2005-09-22, 2:45 am

Hi, Jean-Francois,

2005/9/1, daune.jf-/BlEExAzoZbjMQX/wY3yqAC/G2K4zDHf@public.gmane.org <daune.jf-/BlEExAzoZbjMQX/wY3yqAC/G2K4zDHf@public.gmane.org>:
>
> 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/

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com