Commit graph

839 commits

Author SHA1 Message Date
Igor Katson
427f490a61 Clone storage factories... 2024-05-03 02:53:52 +04:00
Igor Katson
07a5b69a25 Hacked in mmap default 2024-05-03 02:53:52 +04:00
Igor Katson
79a523f2fe Add --experimental-mmap-storage 2024-05-03 02:53:52 +04:00
Igor Katson
ed05ffc6f7 Create mmap file storage 2024-05-03 02:53:52 +04:00
Igor Katson
7031023a31 Move filesystem storage into a different folder 2024-05-03 02:53:52 +04:00
Igor Katson
2c500049e8 Move around storage into folders 2024-05-03 02:53:52 +04:00
Igor Katson
6233cc9d12 better type_id for nested storages 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
f0b63b5926 A few renames in generics 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
ce7c7a3f89 Getting ~5-6 mbs 2024-05-03 02:53:52 +04:00
Igor Katson
f3a4e99bb6 allowlist ip 2024-05-03 02:53:52 +04:00
Igor Katson
b597ee0fad Slowdown again 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
e4adfa569a storages generics 2024-05-03 02:53:52 +04:00
Igor Katson
fdc9243a41 log buf.len() 2024-05-03 02:53:52 +04:00
Igor Katson
6cc7fa7ae0 micros vs millis 2024-05-03 02:53:52 +04:00
Igor Katson
1c880bf75f remove slow storage 2024-05-03 02:53:52 +04:00
Igor Katson
4054c36d5e Revert "allowlist ip"
This reverts commit 1860cc632724c1cb70b026e969e104d1f657aac4.
2024-05-03 02:53:52 +04:00
Igor Katson
5912cbe4c2 logs 2024-05-03 02:53:52 +04:00
Igor Katson
c5a73f1d4f Add timing storage 2024-05-03 02:53:52 +04:00
Igor Katson
d3413370d2 Slow storage impl 2024-05-03 02:53:52 +04:00
Igor Katson
45375fe2db allowlist ip 2024-05-03 02:53:52 +04:00
Igor Katson
bc5098355f Move mmap to storages from example 2024-05-02 12:29:46 +04:00
Igor Katson
3398babba9 Mmap custom storage example 2024-05-02 12:29:46 +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
ebd4731c09 Small tweak 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
e3254f97bf E2E streaming test 2024-05-02 12:29:46 +04:00
Igor Katson
f466facd1a Small tweaks 2024-05-02 12:29:46 +04:00
Igor Katson
cd33f99352 Move files around a bit 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
c6a8761a8d Move storage to mod.rs 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
Igor Katson
648c4edf71
Add explanation to peer semaphore 2024-05-02 09:04:57 +01:00
Igor Katson
04d8b5f7c8 128 works even better 2024-05-01 15:55:55 +04:00
Igor Katson
371d1ff927 Bump up peer semaphore 2024-05-01 15:55:55 +04:00
Igor Katson
5cac8ac02c fix after rebase on remove-reopen 2024-05-01 00:43:51 +04:00