|
|
|
|
|
by hedora
2199 days ago
|
|
Ummm. Linux’s NFS client includes a kernel page cache. You can just mmap or read the file without doing anything else. That is zero or one memcpy overhead. S3 clients have to copy the data over the network, assemble the tcp packets, decrypt and checksum for ssl, and then memcpy the result. That’s at a minimum. They may be doing other work, like verifying the s3 checksum, or allocating memory to store the object. They have to do that once per lambda process, again, at a minimum. They might do it once per lambda invocation. I wonder how amazon bills DRAM if multiple lambdas mmap the same thing read only. |
|