]> Sergey Matveev's repositories - btrtrc.git/commit
Create a pieceStore interface, and merge in my httpfile backend, and replace data...
authorMatt Joiner <anacrolix@gmail.com>
Sat, 3 Oct 2015 14:22:46 +0000 (00:22 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 3 Oct 2015 14:22:46 +0000 (00:22 +1000)
commitb0b57948902f85cb3445c28c8a70c24534ad2abc
tree2929d94b5876cb413cdd3d43f1dca277696731c3
parentefe294ac35631e0d84ed6032fcc12d8a929d8c9c
Create a pieceStore interface, and merge in my httpfile backend, and replace data/blob

data/blob was aging, and had severe performance problems. It's now possible to use missinggo/filecache as a data backend to pieceStore which is better tested and performs excellently.
client_test.go
data.go
data/blob/store.go [deleted file]
data/file/file.go
data/pieceStore/blob.go [moved from data/blob/blob.go with 70% similarity]
data/pieceStore/dataBackend/fileCache/backend.go [new file with mode: 0644]
data/pieceStore/dataBackend/http/backend.go [new file with mode: 0644]
data/pieceStore/dataBackend/i.go [new file with mode: 0644]
data/pieceStore/store.go [new file with mode: 0644]
torrent.go