diff options
author | Eric Wong <e@80x24.org> | 2016-10-31 20:27:00 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-10-31 20:28:16 +0000 |
commit | 50e91f1ac0cdbd6da85f298b0e29c94018b5b989 (patch) | |
tree | d5e5210db16efcea3b040d9952faf35296be13e9 | |
parent | 4932b06f13912f371ea2b3d06daf0f6ea3c9271c (diff) | |
download | rainbows-50e91f1ac0cdbd6da85f298b0e29c94018b5b989.tar.gz |
sendfile(2) is fewer syscalls and FDs than splice(2), and an open-file-cache is unlikely to be worth the complexity.
-rw-r--r-- | Static_Files | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Static_Files b/Static_Files index bbc47a8..e2aa622 100644 --- a/Static_Files +++ b/Static_Files @@ -61,11 +61,3 @@ With large files and high-throughput clients, there should be little performance difference compared to optimal C implementation such as nginx and lighttpd. Ruby runtime overhead matters more when serving slower clients and smaller files. - -== The Future... - -We'll also support an open file cache (similar to nginx) which -allows us to reuse open file descriptors. - -Under Linux, we'll support the splice(2) system call for zero-copy -proxying {io_splice}[http://bogomips.org/ruby_io_splice/], too. |