Double buffer get and cat
Open
kind/enhancement
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
We should double-buffer IPFS get and cat. That is, have one goroutine reading from the datastore and filling buffers to send back to the client and another goroutine actually writing these buffers.
From some basic testing with https://github.com/stebalien/go-dbuf, this gives a 10% speedup on an SSD with badger. However, I _think_ we can do better.
Contributor guide
Assessment
This issue has not been assessed yet.