Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old October 20th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Because you then have to check and store 10 minutes worth of packets instead of only one number and the query lifetime worth of packets.

And because a slowly changing "connection quality" is a neat GUI feature.

To make it visually appealing it would be possible to just substract the minimum connection quality and multiply the result with (1/(1 - min. quality)), so users see "OK, it went negative, so the node was disconnected". Could even be done with a simply 0%-100% "progressbar" which goes red when it closes in on 0 and turns dark read when the node gets disconnected (<=0).
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #22 (permalink)  
Old October 20th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

you only need to store 2 additional numbers.. total packages and dropped packages since last check.
__________________
Reply With Quote
  #23 (permalink)  
Old October 20th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

You're right - I had a wrong preconception in my mind (store every packet info instead of just adding them up).
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #24 (permalink)  
Old October 25th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

But please use TCPs algorithm at least for incoming traffic - there the faster update time is more important, since we replicate the queries.

Besides: Should I keep spending quite some time to find elegant solutions, or should I rather first write a short idea and only do more extensive thinking/testing when you did a test (and save time which might else be wasted on stuff which never gets in)?
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #25 (permalink)  
Old October 25th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

You should find time to use a more comfortable communication device then a forum... like IRC maybe
__________________
Reply With Quote
  #26 (permalink)  
Old October 26th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

The problem with IRC is that we have different IRC times (I'm online a couple of times per week).
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #27 (permalink)  
Old November 27th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

Quote:
Originally Posted by GregorK View Post
They are not off, they are active just not configurable through the UI anymore.

Check NetworkHostsContainer.periodicallyCheckHosts()

Cant we just disable the allow to become UltraPeer in the UI? Or are you strictly speaking about being an ultrapeer and then trying to normalize traffic?

Or did i misunderstand?
Reply With Quote
  #28 (permalink)  
Old November 27th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Well the rules apply to both, UP and leafs. After going through some tests and algorithm tuning we pretty much implemented Arnes idea of connection quality calculation.
It's not as smart as Arne would like it to be but should do a better job then the old one.
__________________
Reply With Quote
  #29 (permalink)  
Old November 27th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

Just looking a the code
Reply With Quote
  #30 (permalink)  
Old November 27th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Host.calcSentQuality()
in case you have not found it already.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.