From: "Stef" <[EMAIL PROTECTED]> > Am 19.03.2003 21:25:43, schrieb "Anonymous" <[EMAIL PROTECTED]>: > > >hello, > > > >I'm thinking about the following question: > > > >looking at the /servlet/nodestatus/loadStats.txt we can see many nodes with > >a very low request/H value and others with a very high value... > > > >my question is, is it possible to implement a code based on this information > >wich look for low used nodes and then put this nodes in the own routing > >table? > > I think it's not so easy. Some nodes runs with 500 or more threads on a > Highend PC with X GHz and Y MB RAM with a fast Internet connection; > others on a P233 with 128MB RAM on a normal ADSL connection. > > Load balancing should really balance the load of nodes. But Java > doesn't provide ressource information about the computer and > not every user want to provide 100% of PC power for Freenet...
But freenet already has load-estimation code; you can see it on mainport. If that were used to do load-balancing, things would be good. BUT: Nodes can lie. A node that always reports 0% load might be able to do some bad things. Hrm. But maybe only with bad design. BUT: This load stat can also change rather quickly. Although I suppose if it were a byte (integer 1-100), it would be easy enough to send along with requests. In any case, I'm sure the dev team isn't ignorant of any of this; it's just not top-priority right now. Although maybe it would be a good thing to see before the next slashdot attack. If done right, of course. :) --hobbs _______________________________________________ devl mailing list [EMAIL PROTECTED] http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl