Ian has agreed that we should prioritize darknet traffic over opennet traffic when we have peers of both kinds.
How can we implement this? We can interfere in the token allocation algorithm. When a request completes, we generate a token which we can allocate to a node, allowing it to do a request. And when we add a new node, we generate some tokens for it. We can grant a darknet node more tokens than an opennet node; we can increase the maximum bucket/queue size, we can increase the likelihood of allocating tokens to a darknet node, or even not fill the darknet buckets at all until the opennet ones are full. Specific suggestions would be welcome. Those peers which we have darknet connections to, we have a special relationship with, and we should allow them to send more requests. This will involve some level of misrouting, to the extent that opennet nodes will sometimes not be able to route to their first choice for a specific request, solely because it is a darknet node. Likewise darknet nodes will often route to their second choice because it's a darknet node... As far as I can see this is unavoidable. Is it a problem? Quite possibly. If anyone has a better non-gimmick idea for encouraging people to use the darknet even if they have opennet connections already, please give me it. -- 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/tech/attachments/20060711/d8a86e58/attachment.pgp>
