These are chat archives for anacrolix/torrent

24th
May 2017
Matt Joiner
@anacrolix
May 24 2017 07:11
You'd need to implement a storage backend. I don't think a memory based one exists yet.
See the storage package for examples.
Denis
@elgatito
May 24 2017 07:13
I was thinking something like a mmap storage for N-th pieces, which are deleted while they are read, and readahead pieces start downloading when space is available
Denis
@elgatito
May 24 2017 07:29
btw, is there a way to manually raise priority for specific piece?
Matt Joiner
@anacrolix
May 24 2017 08:27
You could reduce your readahead to ensure you don't waste space in your cache on readahead. You can raise priority by seeking a torrent.Reader to where you want in the torrent. That's also how you read the data anyway.