Connection Speed And Bandwidth Calculation
manish_iitg
excellencetechnologies08 at gmail.com
Sun May 17 03:44:50 EDT 2009
Hello,
I checked out the project from svn. Could you provide with some code samples
to use the traffic handler.
Thanks
Manish
Frederic Bregier wrote:
>
> Hi Manish,
>
> I would suggest you to take a look at the branch named "traffic" the
> handler that is currently in progress (works ok for me on my project) that
> should do what you want:
> see at
>
> http://anonsvn.jboss.org/repos/netty/branches/traffic/src/main/java/org/jboss/netty/handler/traffic/
> svn branch traffic in handler traffic
>
> The traffic shaper compute connection speed and some other data (through
> TrafficCounter).
> Then it allows to limit (or not) the speed of each connection (one by one
> on a private computation basis) or globally (all channels will shared a
> "max" bandwidth).
>
> HTH,
> Frederic
>
>
> manish_iitg wrote:
>>
>> Hello,
>>
>> I am using netty, to create a backup application.
>>
>> I need to calculate the connection speed (and also reduce the connection
>> speed) between client and server.
>>
>> I also need to calculate the total data data transferred between the
>> client and server i.e total bandwidth. Is there any efficient way to do
>> this?
>>
>>
>>
>> Thanks
>> Manish
>>
>
>
--
View this message in context: http://n2.nabble.com/Connection-Speed-And-Bandwidth-Calculation-tp2915229p2915448.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list