• Hannah Howard's avatar
    Add allocator for memory backpressure (#108) · 034465b7
    Hannah Howard authored
    * test(benchmarks): add large file tests
    
    add tests of large file processing to benchmarks
    
    * feat(allocator): add allocator for memory backpressure
    
    add an allocator that manages global memory allocations on responder and blocks peerresponsesenders
    as needed
    
    * feat(allocator): add method to release all peer memory
    
    * feat(allocator): refactor w/ mutex
    
    refactor allocator to remove go routine and address a few PR comments
    
    * Update responsemanager/allocator/allocator.go
    Co-authored-by: default avatarSteven Allen <steven@stebalien.com>
    
    * fix(impl): update constants in readable form
    Co-authored-by: default avatarSteven Allen <steven@stebalien.com>
    034465b7
graphsync.go 13.3 KB