• Adin Schmahmann's avatar
    fullrt rework batching (#720) · 6fff2a3b
    Adin Schmahmann authored
    * fullrt: do bulk sending explictly on peers
    
    Bulk sending now happens by dividing the keys to groups and then for each group collecting which peers need which records. This allows us to deal with peers individually and protect the connections for the duration while still dealing with the case of sending lots of data such that the routing table is updated in the middle of the send.
    
    * added additional logging including histograms of success and failure
    6fff2a3b
dht_test.go 2.34 KB