[ 
https://issues.apache.org/jira/browse/CASSANDRA-15219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520594#comment-17520594
 ] 

Jon Meredith commented on CASSANDRA-15219:
------------------------------------------

I really like the idea of offloading moving bits around to the kernel, but I 
was wondering how would sendfile integrate with 
{{stream_throughput_outbound_megabits_per_sec}} and {{ 
inter_dc_stream_throughput_outbound_megabits_per_sec}}? And would it only be 
for the {{Epoll}} ?

> Use sendFile for streaming partial files
> ----------------------------------------
>
>                 Key: CASSANDRA-15219
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15219
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Streaming
>            Reporter: Benedict Elliott Smith
>            Assignee: Adverg Ebashinskii
>            Priority: Normal
>             Fix For: 4.x
>
>
> 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
(v8.20.1#820001)

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

Reply via email to