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

Use sendFile for streaming partial files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Consistency/Streaming
    • None
    • Performance
    • Normal
    • All
    • 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

            adverg Adverg Ebashinskii
            benedict Benedict Elliott Smith
            Adverg Ebashinskii
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: