facebook / wdt

Warp speed Data Transfer (WDT) is an embeddedable library (and command line tool) aiming to transfer data between 2 systems as fast as possible over multiple TCP paths.
https://www.facebook.com/WdtOpenSource
Other
2.86k stars 391 forks source link

Mandatory Parameters #152

Closed NasrinJaleel93 closed 7 years ago

NasrinJaleel93 commented 7 years ago

What parameters of WdtTransferRequest should be mandatorily set on the receiver and sender end for a successful transfer? Any test code that can refer to?

Edit : Specifically sending and receiving machines in different networks?

nikunjy commented 7 years ago

This would be a good example

https://github.com/facebook/wdt/blob/master/wdtCmdLine.cpp#L265

NasrinJaleel93 commented 7 years ago

I don't clearly understand how the transfer between 2 machines in different networks would take place though. Do I need to give the IP or the fully qualified domain name as the hostname?

ldemailly commented 7 years ago

you need to give whichever address or name the receiver host is reachable under by the sender

typically it's the external IP of the receiver

if ports are blocked / there is no way to make a direct tcp connection, you can't use wdt as is; you'd have to use an intermediate host(s) that can talk to both machine as a proxy. We don't have an in memory proxy for wdt yet so you would need in that case to actually transfer to that intermediate host and then further transfer until you reach your final destination