btkador
btkador
With `NumTargetPeers` 5 you get 5 or maybe 20-30 peers after the first batch of get_peers and then the search stops, because `needMorePeers` is not triggered. There are no more...
> In my mind, you control outbound traffic using NumTargetPeers and inbound traffic using RateLimit. let's say you want a minimum of 250 peers and use NumTargetPeers for what it...
just leave your default parameters like they are - what my branch already does. all my new parameters are default disabled.
I need all the options and parameters adjustable for my program code. As mentioned before, you don't need to merge any of my changes, since it seems to work well...
> Why do you have a CleanupPeriod of 3 minutes? That's a high frequency. With those settings, you have to contact your 500 nodes every 300 seconds just to keep...
I've already replaced pastQueries with the lru from peerStore for a test beginning of last week, but discarded it for some reason. Running it again with the profiling enabled right...
had it running with max 1000 `pastQueries` and `pendingQueries` but went up to 20GB used memory in profiler... had to run it again because killed my profiler, so screenshot/data below...
for testing output I've just implemented ``` func (d *DHT) GetNumNodes() int { return d.routingTable.numNodes() } ``` and the number grows way higher than MaxNodes. It's at 500.000 after 5...
I'm using (original) go-cache on multiple places in my code to cache and handle network packet informations for hundred-thousands of packets per second. I've tested the vidmed sync.Map fork yesterday...
> I found code that generates the value in obfuscated app.js, though I can't understand it much: > > `N = function() { var e = O["a"].getItem("bcTokenSha"); if (e) return...