Igor Katson
|
726a5e14f9
|
Limit concurrency of torrent initialization
|
2024-08-15 18:55:46 +01:00 |
|
Igor Katson
|
f22814c77b
|
Postgres example storage
|
2024-08-15 13:31:56 +01:00 |
|
Igor Katson
|
d77d96bd48
|
Now saving torrent updates properly to the new db
|
2024-08-15 11:20:20 +01:00 |
|
Igor Katson
|
5384f8c9db
|
Fix the bug thanks to e2e test
|
2024-08-14 12:14:57 +01:00 |
|
Igor Katson
|
53d61d0428
|
fixing bugs
|
2024-08-14 12:14:57 +01:00 |
|
Igor Katson
|
55649e181a
|
untested support for send_metadata_piece
|
2024-08-14 12:14:57 +01:00 |
|
Igor Katson
|
c7ed475f54
|
Use bytes crate for zerocopy and memory re-use (#182)
* Use bytes. Not yet zerocopy everywhere but compiles
* Actually zerocopy
* Actually zerocopy
* Not actually storing the torrent on disk now
|
2024-08-14 12:08:46 +01:00 |
|
Igor Katson
|
55aeb07994
|
use byte::Bytes instead of ByteBufOwned to store torrent bytes
|
2024-08-13 06:43:52 +01:00 |
|
Igor Katson
|
fe7a1e09ba
|
Store torrent bytes in memory
|
2024-08-12 23:43:23 +01:00 |
|
Igor Katson
|
70dcb2e6cb
|
First pass to implement socks5 support
|
2024-08-08 00:46:39 +01:00 |
|
Igor Katson
|
91f03cb81d
|
Merge pull request #158 from izderadicka/suppress_dead_code_warnings
Mark dead code explicitly
|
2024-08-02 09:00:33 +01:00 |
|
Ivan
|
e08821bff7
|
Mark dead code explicitly
|
2024-07-27 08:46:33 +02:00 |
|
Ivan
|
7e8935388c
|
Use BlockingSpawner
|
2024-07-27 08:17:04 +02:00 |
|
Ivan
|
1c9aa8ca72
|
Fist naive attempt to improve streaming
at leat inform executor about blocking call
|
2024-07-20 20:03:42 +02:00 |
|
Igor Katson
|
ace4bed0c6
|
Folders and files are now deleted more comprehensively
|
2024-06-21 15:17:41 +01:00 |
|
Igor Katson
|
3b0987ec23
|
Fix new stealing bug (ppl_cache)
|
2024-05-04 23:19:36 +01:00 |
|
Igor Katson
|
8a86d04631
|
Dont spam haves
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
44aa75f34b
|
Reimplement maybe_transmit_haves with a broadcast channel
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
7ed7e277c0
|
maybe_transmit_haves: need to optimise
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
b3cb194700
|
Downgrade a couple messages
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
eafd274a0b
|
--defer-writes-up-to
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
a3c4ca70fb
|
Nothing
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
3769cae1ce
|
dont blow up memory
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
43008f2857
|
Less work when defer writes is disabled
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
573185bcfa
|
Remove async_trait
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
1744f0c101
|
Disk write queue
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
640d2c31bc
|
Debugging
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
ca9afa8535
|
Add per piece locks
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
e53f5a7f23
|
Fix the ordering bug in deferred writes, but its a slow fix
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
54b17d5ee1
|
Write through cache impl
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
776c865781
|
Remove unused disk_work_queue_tx
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
9bcd18e7af
|
It really helps to write to disk in a separate thread!
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
fa557cedd9
|
another attempt (sucks)
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
7e71e4188f
|
Dirty fix to test previous commit
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
d03943db8d
|
Another disk indirectio attempt
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
d25309e358
|
Defer writes command line flag
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
b8bbe6a87f
|
Move disk writes to a queue
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
5027d8ccd1
|
All storage factories are generic now
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
fd30ad9cbf
|
Tweak everything for APIs to support everything while not changing too much
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
aec1b94544
|
No sleeps, wait properly now
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
f466facd1a
|
Small tweaks
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
f2ae2f67f4
|
Custom storage example
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
6c3dfbc52f
|
Add storage example
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
3e37b4698f
|
remove impl for box dyn storage
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
dc137c075f
|
Move to storage folder
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
67c22c9313
|
It compiles now
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
42bbf84ea5
|
Fixing up initialization to allow passing in custom storages
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
1b49257019
|
Storages
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
609f9d92ae
|
Remove outdated comment
|
2024-05-02 09:11:45 +01:00 |
|
Igor Katson
|
d2e37ead51
|
Download speed: dont lag behind disk
|
2024-05-02 09:10:36 +01:00 |
|