These are chat archives for
Sign in to start talking
Full-featured BitTorrent client package and utilities
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.
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
May 24 2017 07:29
btw, is there a way to manually raise priority for specific piece?
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.