You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2019/07/16 09:52:00 UTC

[jira] [Created] (CASSANDRA-15219) Use sendFile for streaming partial files

Benedict created CASSANDRA-15219:
------------------------------------

             Summary: Use sendFile for streaming partial files
                 Key: CASSANDRA-15219
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15219
             Project: Cassandra
          Issue Type: Bug
            Reporter: Benedict


In the case of compressed files, sendFile is a drop-in replacement for our current buffered reads/writes.  For uncompressed files, we probably want to only optionally compress them for streaming, as in many cases CPU will constrain more than the network, particularly to a local replica.  In the case that we need to compress, we can add a pipeline to the Netty handler to compress the whole stream.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org