Created
March 3, 2020 09:58
-
-
Save games647/e17c2faaa294c30dcb1dd798a9ab2b5d to your computer and use it in GitHub Desktop.
Zero-Copy Notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* https://en.wikipedia.org/wiki/Zero-copy | |
* Java input streams can support zero-copy through the java.nio.channels.FileChannel's transferTo() method if the underlying operating system also supports zero copy | |
* Only **from** file | |
* Linux: sendFile call | |
* Windows: TransmitFile | |
* Linux 4.18 supports **from** socket zero-copy | |
* Microsoft Windows supports zero-copy through the TransmitFile API. | |
* Alternative: Mapping direct memory telling the kernel to use that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment