[jira] [Commented] (THRIFT-1307) Add compression to Thrift

2011-08-29 Thread Jake Farrell (JIRA)

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

Jake Farrell commented on THRIFT-1307:
--

The plugin interface was just a thought for 3rd party items like snappy to be 
able to easily interact with any existing transport. A wrapper transport, like 
zlib, would be the way to accomplish this right now

> Add compression to Thrift
> -
>
> Key: THRIFT-1307
> URL: https://issues.apache.org/jira/browse/THRIFT-1307
> Project: Thrift
>  Issue Type: New Feature
>  Components: Java - Library
>Reporter: Jerome Boulon
>
> Thrift output could be compressed on the fly similar to what Tomcat/Apache 
> are doing.
> But instead of using Gzip, since performance matter more than the compression 
> ratio, Snappy could be used.
> Snappy: http://code.google.com/p/snappy/
> Snappy is written in C++, but Java bindings are included

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (THRIFT-1307) Add compression to Thrift

2011-08-29 Thread David Nadlinger (JIRA)

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

David Nadlinger commented on THRIFT-1307:
-

Why would a new plugin interface be needed for this? Can't this just be 
implemented with a »wrapper« transport like e.g. zlib for C++?

> Add compression to Thrift
> -
>
> Key: THRIFT-1307
> URL: https://issues.apache.org/jira/browse/THRIFT-1307
> Project: Thrift
>  Issue Type: New Feature
>  Components: Java - Library
>Reporter: Jerome Boulon
>
> Thrift output could be compressed on the fly similar to what Tomcat/Apache 
> are doing.
> But instead of using Gzip, since performance matter more than the compression 
> ratio, Snappy could be used.
> Snappy: http://code.google.com/p/snappy/
> Snappy is written in C++, but Java bindings are included

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (THRIFT-1307) Add compression to Thrift

2011-08-29 Thread Bryan Duxbury (JIRA)

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

Bryan Duxbury commented on THRIFT-1307:
---

Some of the libraries already have compressed transports, usually zlib or gzip. 
I think it would make sense to make a SnappyTransport.

> Add compression to Thrift
> -
>
> Key: THRIFT-1307
> URL: https://issues.apache.org/jira/browse/THRIFT-1307
> Project: Thrift
>  Issue Type: New Feature
>  Components: Java - Library
>Reporter: Jerome Boulon
>
> Thrift output could be compressed on the fly similar to what Tomcat/Apache 
> are doing.
> But instead of using Gzip, since performance matter more than the compression 
> ratio, Snappy could be used.
> Snappy: http://code.google.com/p/snappy/
> Snappy is written in C++, but Java bindings are included

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (THRIFT-1307) Add compression to Thrift

2011-08-29 Thread Jerome Boulon (JIRA)

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

Jerome Boulon commented on THRIFT-1307:
---

+1 on the plugin interface. Snappy is just an example.

> Add compression to Thrift
> -
>
> Key: THRIFT-1307
> URL: https://issues.apache.org/jira/browse/THRIFT-1307
> Project: Thrift
>  Issue Type: New Feature
>  Components: Java - Library
>Reporter: Jerome Boulon
>
> Thrift output could be compressed on the fly similar to what Tomcat/Apache 
> are doing.
> But instead of using Gzip, since performance matter more than the compression 
> ratio, Snappy could be used.
> Snappy: http://code.google.com/p/snappy/
> Snappy is written in C++, but Java bindings are included

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (THRIFT-1307) Add compression to Thrift

2011-08-29 Thread Jake Farrell (JIRA)

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

Jake Farrell commented on THRIFT-1307:
--

This might be a good area to allow for some sort of plugin interface to be able 
to add mutators like this. Would want to avoid using something like snappy 
directly in the code due to it not supporting every client we currently support 
and that snappys clients are mostly 3rd party to their library, would make hard 
to maintain and test and add as a uniform dependency. good idea

> Add compression to Thrift
> -
>
> Key: THRIFT-1307
> URL: https://issues.apache.org/jira/browse/THRIFT-1307
> Project: Thrift
>  Issue Type: New Feature
>  Components: Java - Library
>Reporter: Jerome Boulon
>
> Thrift output could be compressed on the fly similar to what Tomcat/Apache 
> are doing.
> But instead of using Gzip, since performance matter more than the compression 
> ratio, Snappy could be used.
> Snappy: http://code.google.com/p/snappy/
> Snappy is written in C++, but Java bindings are included

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira