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

Zhitao Li commented on MESOS-5946:
----------------------------------

Proposal:

Similar to how [grpc handles compression | 
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests ], the 
{{api/v1}} endpoint will add support to a new optional header 
{{Message-Accept-Encoding}}.

If this header is present with a supported value (initially only {{identity}} 
and {{gzip}}), each line in recordio response will be processed accordingly 
(no-op for {{identity}} which is the default case, and gzip-compressed for 
{{gzip}}).

> Consider supporting compression for the event stream.
> -----------------------------------------------------
>
>                 Key: MESOS-5946
>                 URL: https://issues.apache.org/jira/browse/MESOS-5946
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Anand Mazumdar
>            Assignee: Zhitao Li
>              Labels: mesosphere
>
> Currently, we support GZIP compression for HTTP based responses in 
> Libprocess. However, for events streamed on the persistent connection 
> (RecordIO encoded) for schedulers/executors/subscribers, we don't yet have 
> support for compression. 
> We would need an implementation of GZIP/other compression technique that 
> would work efficiently for streaming data and is not fixed length based.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to