You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Fedechicco <fe...@fastwebnet.it> on 2005/12/09 19:05:36 UTC

[mina] develop a speed measurement

Hi all (sorry my english) I need in mina a speed measurement for socket connection, and I'm developing it (i created a Dashboard interface and a BaseIoSessionDashboarded that extends BaseIoSession, adding the yet implemented measurement methods.)

Maybe that will be usefull also for you, tell me if that interests you.

(very good work with mina, compliments)

by Fedechicco

Re: [mina] develop a speed measurement

Posted by Alex Karasulu <ao...@bellsouth.net>.
Niklas Therning wrote:

>Alex Karasulu wrote:
>  
>
>>Niklas Therning wrote:
>>
>>    
>>
>>>Forgot to mention, you can of course send me the zip-file instead and I
>>>will add it to JIRA for you. :)
>>> 
>>>
>>>      
>>>
>>Hiya Niklas & Fedechicco,
>>
>>Not a big deal here since not many are aware but for legal purposes we
>>need to make sure contributors attach their own sources to JIRA issues. 
>>We basically need tracibility for all contributions.  I hope you
>>understand.
>>
>>Thanks guys,
>>Alex
>>
>>    
>>
>
>Ok, thanks for letting me know.
>
>Fedechicco has sent me the sources. When I've had a look and if its
>going to be included I will open up some issue for him to attach it to.
>  
>

That'll work Niklas.  Thanks for understanding.

Alex


Re: [mina] develop a speed measurement

Posted by Niklas Therning <ni...@trillian.se>.
Alex Karasulu wrote:
> Niklas Therning wrote:
> 
>> Forgot to mention, you can of course send me the zip-file instead and I
>> will add it to JIRA for you. :)
>>  
>>
> Hiya Niklas & Fedechicco,
> 
> Not a big deal here since not many are aware but for legal purposes we
> need to make sure contributors attach their own sources to JIRA issues. 
> We basically need tracibility for all contributions.  I hope you
> understand.
> 
> Thanks guys,
> Alex
> 

Ok, thanks for letting me know.

Fedechicco has sent me the sources. When I've had a look and if its
going to be included I will open up some issue for him to attach it to.

/Niklas

Re: [mina] develop a speed measurement

Posted by Alex Karasulu <ao...@bellsouth.net>.
Niklas Therning wrote:

>Forgot to mention, you can of course send me the zip-file instead and I
>will add it to JIRA for you. :)
>  
>
Hiya Niklas & Fedechicco,

Not a big deal here since not many are aware but for legal purposes we 
need to make sure contributors attach their own sources to JIRA issues.  
We basically need tracibility for all contributions.  I hope you understand.

Thanks guys,
Alex


Re: [mina] develop a speed measurement

Posted by Niklas Therning <ni...@trillian.se>.
Forgot to mention, you can of course send me the zip-file instead and I
will add it to JIRA for you. :)

/Niklas

Niklas Therning wrote:
> Hi,
> 
> The easiest would be if you could attach a zip-file with your source
> files to some issue in JIRA. There already is an issue (called
> DIRMINA-24 - Performance profiler filter) which I think would be
> suitable. The URL is http://issues.apache.org/jira/browse/DIRMINA-24
> 
> You will need to register as a user in JIRA before you can attach the
> file. To register click on the 'Log in' link in the upper right corner.
> The 'Signup' link below the login form will take you to the registration
> form.
> 
> Once you have registered and logged in go to DIRMINA-24 and use the
> 'Attach file' link under the 'Operations' heading in the left column to
> attach your zip-file to the issue.
> 
> Thanks for sharing!
> /Niklas
> 
> fedechicco@gmail.com wrote:
> 
>>sorry, if I would like to send you some source for the PerformanceFilter
>>and other correlated classes, how can I do?
>>Sorry for the OT but I'm a newbe...
>>
>>    ----- Original Message -----
>>    *From:* Trustin Lee <ma...@gmail.com>
>>    *To:* Apache Directory Developers List
>>    <ma...@directory.apache.org>
>>    *Sent:* Saturday, December 10, 2005 6:22 AM
>>    *Subject:* Re: [mina] develop a speed measurement
>>
>>    Hi Fedechicco,
>>
>>    2005/12/10, Fedechicco <fede.chicco@fastwebnet.it
>>    <ma...@fastwebnet.it>>:
>>
>>        Hi all (sorry my english) I need in mina a speed measurement for
>>        socket connection, and I'm developing it (i created a Dashboard
>>        interface and a BaseIoSessionDashboarded that extends
>>        BaseIoSession, adding the yet implemented measurement methods.)
>>         
>>        Maybe that will be usefull also for you, tell me if that
>>        interests you.
>>         
>>        (very good work with mina, compliments)
>>
>>
>>    Thank you for your interest in MINA.  We want to deliver an
>>    implementation of IoFilter which monitors all performance statistics
>>    in runtime including transfer speed.  I think it's better than
>>    putting all data into IoSession.  WDYT?
>>
>>    Trustin
>>    -- 
>>    what we call human nature is actually human habit
>>    --
>>    http://gleamynode.net/ 
> 
> 

Re: [mina] develop a speed measurement

Posted by Niklas Therning <ni...@trillian.se>.
Hi,

The easiest would be if you could attach a zip-file with your source
files to some issue in JIRA. There already is an issue (called
DIRMINA-24 - Performance profiler filter) which I think would be
suitable. The URL is http://issues.apache.org/jira/browse/DIRMINA-24

You will need to register as a user in JIRA before you can attach the
file. To register click on the 'Log in' link in the upper right corner.
The 'Signup' link below the login form will take you to the registration
form.

Once you have registered and logged in go to DIRMINA-24 and use the
'Attach file' link under the 'Operations' heading in the left column to
attach your zip-file to the issue.

Thanks for sharing!
/Niklas

fedechicco@gmail.com wrote:
> sorry, if I would like to send you some source for the PerformanceFilter
> and other correlated classes, how can I do?
> Sorry for the OT but I'm a newbe...
> 
>     ----- Original Message -----
>     *From:* Trustin Lee <ma...@gmail.com>
>     *To:* Apache Directory Developers List
>     <ma...@directory.apache.org>
>     *Sent:* Saturday, December 10, 2005 6:22 AM
>     *Subject:* Re: [mina] develop a speed measurement
> 
>     Hi Fedechicco,
> 
>     2005/12/10, Fedechicco <fede.chicco@fastwebnet.it
>     <ma...@fastwebnet.it>>:
> 
>         Hi all (sorry my english) I need in mina a speed measurement for
>         socket connection, and I'm developing it (i created a Dashboard
>         interface and a BaseIoSessionDashboarded that extends
>         BaseIoSession, adding the yet implemented measurement methods.)
>          
>         Maybe that will be usefull also for you, tell me if that
>         interests you.
>          
>         (very good work with mina, compliments)
> 
> 
>     Thank you for your interest in MINA.  We want to deliver an
>     implementation of IoFilter which monitors all performance statistics
>     in runtime including transfer speed.  I think it's better than
>     putting all data into IoSession.  WDYT?
> 
>     Trustin
>     -- 
>     what we call human nature is actually human habit
>     --
>     http://gleamynode.net/ 


Re: [mina] develop a speed measurement

Posted by fe...@gmail.com.
sorry, if I would like to send you some source for the PerformanceFilter and other correlated classes, how can I do?
Sorry for the OT but I'm a newbe...
  ----- Original Message ----- 
  From: Trustin Lee 
  To: Apache Directory Developers List 
  Sent: Saturday, December 10, 2005 6:22 AM
  Subject: Re: [mina] develop a speed measurement


  Hi Fedechicco,


  2005/12/10, Fedechicco <fe...@fastwebnet.it>:
    Hi all (sorry my english) I need in mina a speed measurement for socket connection, and I'm developing it (i created a Dashboard interface and a BaseIoSessionDashboarded that extends BaseIoSession, adding the yet implemented measurement methods.)

    Maybe that will be usefull also for you, tell me if that interests you.

    (very good work with mina, compliments)

  Thank you for your interest in MINA.  We want to deliver an implementation of IoFilter which monitors all performance statistics in runtime including transfer speed.  I think it's better than putting all data into IoSession.  WDYT? 

  Trustin

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

Re: [mina] develop a speed measurement

Posted by fe...@gmail.com.
i think it so, but i think that theese performance statistics should be in the same place of methods:
long getReadBytes();
    long getWrittenBytes();
    long getWrittenWriteRequests();
    int getScheduledWriteRequests();
    long getCreationTime();
    long getLastIoTime();
    long getLastReadTime();
    long getLastWriteTime();
and maybe some others that now is in the IoSession, for three reason:
-> they are statistics too
-> many statistics use the same datas than that methods.

So I'd like to put statistics & that methods all in one single IoFilter.
There is some specific reason because that methods were defined in the IoSession interface?
  ----- Original Message ----- 
  From: Trustin Lee 
  To: Apache Directory Developers List 
  Sent: Saturday, December 10, 2005 6:22 AM
  Subject: Re: [mina] develop a speed measurement


  Hi Fedechicco,


  2005/12/10, Fedechicco <fe...@fastwebnet.it>:
    Hi all (sorry my english) I need in mina a speed measurement for socket connection, and I'm developing it (i created a Dashboard interface and a BaseIoSessionDashboarded that extends BaseIoSession, adding the yet implemented measurement methods.)

    Maybe that will be usefull also for you, tell me if that interests you.

    (very good work with mina, compliments)

  Thank you for your interest in MINA.  We want to deliver an implementation of IoFilter which monitors all performance statistics in runtime including transfer speed.  I think it's better than putting all data into IoSession.  WDYT? 

  Trustin

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

Re: [mina] develop a speed measurement

Posted by Trustin Lee <tr...@gmail.com>.
Hi Fedechicco,

2005/12/10, Fedechicco <fe...@fastwebnet.it>:
>
> Hi all (sorry my english) I need in mina a speed measurement for socket
> connection, and I'm developing it (i created a Dashboard interface and a
> BaseIoSessionDashboarded that extends BaseIoSession, adding the yet
> implemented measurement methods.)
>
> Maybe that will be usefull also for you, tell me if that interests you.
>
> (very good work with mina, compliments)
>

Thank you for your interest in MINA.  We want to deliver an implementation
of IoFilter which monitors all performance statistics in runtime including
transfer speed.  I think it's better than putting all data into IoSession.
WDYT?

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

Re: [mina] develop a speed measurement

Posted by Alex Karasulu <ao...@bellsouth.net>.
Fedechicco wrote:

> Hi all (sorry my english) I need in mina a speed measurement for 
> socket connection, and I'm developing it (i created a Dashboard 
> interface and a BaseIoSessionDashboarded that extends BaseIoSession, 
> adding the yet implemented measurement methods.)
>  
> Maybe that will be usefull also for you, tell me if that interests you.
>  
> (very good work with mina, compliments)
>  

Sure any collaboration and contribution from the community is welcome.  
Please feel free to attach a patch to a JIRA feature and we'll look at 
it and integrate it after review. 

Thanks,
Alex