On Thu, Jul 06, 2006 at 04:21:16PM +0100, Michael Rogers wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Toseland wrote: > > Hmmm. So when are tokens created exactly? > > During the first few seconds of the connection - instead of creating > them all at once, you create (say) one per second, preventing an initial > burst of requests.
But then you have to completely arbitrarily decide how frequently to create these tokens. So you haven't solved the problem. Also these are tokens for incoming requests. How about: When we add a link we create a token for it. This then allows us to accept requests from that node; when a request is completed we recycle the token. We cannot forward faster than we are allowed to by our upstream nodes. If requests consistently complete more slowly than upstream tokens become available, we create another token. Or something similar? I don't think we have solved the critical question of when and how to create tokens. > > Cheers, > Michael -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20060706/a1fbbbfb/attachment.pgp>
