thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] Commented: (THRIFT-110) A more compact format
Date Thu, 21 Aug 2008 18:18:44 GMT

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

Noble Paul commented on THRIFT-110:
-----------------------------------

bq.protobuf's binary protocol is probably stable. I doubt it is being changed. 

even so, we may have other requirements which protobuf may not support for instance protobuf
does not have map thrift has . We can copy ideas from there but we *do not* need to maintain
compatibility. That can prove a real millstone around our neck . 

> A more compact format 
> ----------------------
>
>                 Key: THRIFT-110
>                 URL: https://issues.apache.org/jira/browse/THRIFT-110
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Noble Paul
>
> Thrift is not very compact in writing out data as (say protobuf) . It does not have the
concept of variable length integers and various other optimizations possible . In Solr we
use a lot of such optimizations to make a very compact payload. Thrift has a lot common with
that format.
> It is all done in a single class
> http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/common/util/NamedListCodec.java?revision=685640&view=markup
> The other optimizations include writing type/value  in same byte, very fast writes of
Strings, externalizable strings etc 
> We could use a thrift format for non-java clients and I would like to see it as compact
as the current java version

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message