Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15219

Use sendFile for streaming partial files

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 4.x
    • Component/s: Consistency/Streaming
    • Labels:
      None
    • Change Category:
      Performance
    • Complexity:
      Normal
    • Platform:
      All
    • Impacts:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              benedict Benedict Elliott Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: