storj/pkg/eestream
Kaloyan Raev ed72a5e542
Optimize eestream upload for slow piece storage nodes (#48)
* Buffered eestream EncodeReader

* Extracted fillBuffer() helper function

* Slow channels will be closed if there are still at least k fast channels

* Doc comment for maxBufferMemory

* Use timer more efficiently

* Timer initialization should be inside the for-loop

* Parallel copy of encoded data to reader buffer channels

* Transfer input read errors to output encoded readers

* minimum and optimum thresholds

* Use time.AfterFunc

* Simplify error handling in constructor
2018-05-30 18:27:09 +03:00
..
aesgcm_test.go AES GCM implementation and unit test code (#19) 2018-05-15 18:11:03 +03:00
aesgcm.go AES GCM implementation and unit test code (#19) 2018-05-15 18:11:03 +03:00
bits_test.go eestream: make secretbox example harder to fall victim to nonce reuse 2018-04-16 06:52:23 -06:00
bits.go eestream: make secretbox example harder to fall victim to nonce reuse 2018-04-16 06:52:23 -06:00
common.go pkg/eestream: initial 2018-04-11 07:46:34 -06:00
crc_test.go pkg/eestream: initial 2018-04-11 07:46:34 -06:00
decode.go Optimize eestream upload for slow piece storage nodes (#48) 2018-05-30 18:27:09 +03:00
encode.go Optimize eestream upload for slow piece storage nodes (#48) 2018-05-30 18:27:09 +03:00
pad_test.go Do not fail decoding on first read error (#17) 2018-04-23 20:17:50 -06:00
pad.go HTTP Ranger (#11) 2018-04-17 07:39:14 -06:00
rs_test.go Optimize eestream upload for slow piece storage nodes (#48) 2018-05-30 18:27:09 +03:00
rs.go pkg/eestream: initial 2018-04-11 07:46:34 -06:00
secretbox_test.go HTTP Ranger (#11) 2018-04-17 07:39:14 -06:00
secretbox.go eestream: make secretbox example harder to fall victim to nonce reuse 2018-04-16 06:52:23 -06:00
transform_test.go Decoder can tolerate readers with unexpected EOF and random data (#27) 2018-05-04 14:52:49 -06:00
transform.go Decoder can tolerate readers with unexpected EOF and random data (#27) 2018-05-04 14:52:49 -06:00