Repository navigation
XDRIVE transport: local storage - #6745
Conversation
|
Sorry, I'll try it on the local disk first, and then on the final target. |
|
List 548 ms , get 850 ms , put 2.9s gaaad daaaam 1 race ohh dont worry my ethernet its a shit i have 100 mbits RTT client-server 2.4s 400 kb 12.4c = 31.5 kb/s its my house in a yakutsk Race 1 HAHAHAH 8 paralel get 1307 kb/s 4 pararels put 60 kb/s DIrve cut 60 kb/s ?? Maybe a have trouble for my uplink i think so Race 2 Okay go t chks for server moscow and Amsterdam NL Race 1 4 next next put 199 yeaaaaah a true i have a local trouble my uplink :( RACE 2 RACE 3 race 4 Speaking of Google Drive, it’s acting like a total bitch—the smaller the file, the slower the speed. Maybe—hahaha—it’s about "bumping" the transfer? I don't think so, but it's something worth keeping in mind. |
|
@Risaro 基于现在的 xdrive 分支进行 rebase,该 PR 本地测试通过后即可合并,与 Google Drive 等服务的集成可以放别的 PR |
|
|
|
@RPRX I use AI only for reading and making sense of classes, and for writing commit messages - because I'm a clumsy Russian guy poking around in someone else's code, and I'm afraid my usual WIP commit names are the kind nobody likes. So I use these gadgets for the tidying-up parts, especially network tests and similar things. They also help me find my way around code that isn't mine. So yes, a lot of this is AI slop, but I read through what it wrote and it looks reasonable enough, and a rewrite can come later. About your question on the comment - no, bro, I wasn't inspired by it. My thinking is that when you're storing data on someone else's storage service, it's better to use plain native net/http(smoke rest api for api drives); the binary stays smaller that way. I read your branch and the user comments - people are asking for Yandex Disk and a lot of other integrations like that, and I don't think stuffing your Xray with that kind of thing is worth it. This branch was made so you'd remember this idea again, and because I want to help. I'll rebase now, push there, and start the rewrite - for your peace of mind. |
ece72b9 to
c410618
Compare
|
@RPRX I’ll give you a shout next time everything is ready. I just checked with Mux—you’re right, I’ve still got a lot of work to do here with retries and the like. Then comes the rewrite, and after that, I plan to add a route for Mail Cloud instead of Yandex Disk. |
c410618 to
858fa9a
Compare
|
@Risaro 显然我只是 引入 N 种网盘 SDK 当然不是预期方案, 我对 XDRIVE 的设计理念是它需要把 Mux 交给 VLESS 层去完成,一个出站只建一个 session,而 H2/H3 多路复用是另一回事 |
Current state: #6745 is local storage only now, as you asked, and the Google Drive backend is split out and waiting for its own PR. The Windows CI failure is fixed, and it was a real bug rather than a flake. I wrote the announcement timestamp into the file name with second granularity, so a session created late in a second could be judged stale before the listener accepted it. It is nanoseconds now, with a regression test that fails on the old code. All 30 checks are green. |
|
@RPRX Bro, I want to implement this as an xhttp method, universally. |
858fa9a to
8c6a6f7
Compare
aa561e1 to
c159481
Compare
这是符合预期的
As an xhttp method 指的是什么 Mail Cloud 就是 mail.ru 吗?其实你可以一次性把尽可能多的 service 塞进 #6748 |
c159481 to
0d4ff13
Compare
…y, ignoring IP whitelists (#5645) #5414 (comment) #5581 (comment) #5645 (comment) #6745 (comment) #6748 (comment) --------- Co-authored-by: Risaro <[email protected]>
infra/conf/transport_internet.gousesxdrive.Config, but the file does not importtransport/internet/xdrive, so the package does not build on this branch:Adding the import fixes it.