-
- Downloads
track and publish two new stats:
* netDb.failedPeers (how many peers didn't reply to a lookup in time) * netDb.searchCount (how many searches we send out in a 3 hour period) probabalistically include the leaseSet of the sender in the garlic sent to a peer if the client requests it to be included (aka if they want replies). By default, this is enabled (disable by setting the I2CP prop "shouldBundleReplyInfo=false"). Also, by default the probability is 30% (w00 h00, arbitrary values!), which can be overridden via the I2CP prop "bundleReplyInfoProbability=80" (or =10, or =100, etc). The tradeoff here is quicker replies in exchange for bandwidth (the dbStore). Yeah, it'd be nice if there were something keeping track of which leaseSet each client sent to each peer so that it could explicitly include it only if it were necessary, but for now that's probably overkill.
Showing
- router/java/src/net/i2p/router/StatisticsManager.java 2 additions, 0 deletionsrouter/java/src/net/i2p/router/StatisticsManager.java
- router/java/src/net/i2p/router/message/OutboundClientMessageJob.java 51 additions, 1 deletion.../src/net/i2p/router/message/OutboundClientMessageJob.java
- router/java/src/net/i2p/router/message/OutboundClientMessageJobHelper.java 49 additions, 5 deletions...et/i2p/router/message/OutboundClientMessageJobHelper.java
- router/java/src/net/i2p/router/networkdb/kademlia/SearchJob.java 4 additions, 2 deletions...java/src/net/i2p/router/networkdb/kademlia/SearchJob.java
Loading
Please register or sign in to comment