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

Sending Buffers #153

Closed NasrinJaleel93 closed 7 years ago

NasrinJaleel93 commented 7 years ago

From looking at the code, there seems to be no direct support for this. Any leads on what could be a good starting point to incorporate this feature?

ldemailly commented 7 years ago

The ByteSource interface is in theory how that would work but it'll take work as the DirectorySourceQueue is the only concrete queue implementation and makes FileByteSource concrete classes directly as well. but it would be a nice cleanup to make that vision a reality

A practical short term workaround is to map your memory to /dev/shm files and send those using the existing code