thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <>
Subject Re: Thrift serialization compression
Date Wed, 13 Jun 2012 23:42:25 GMT
Some Thrift languages support compressed transports. However, Serializer is
just for getting the raw bytes. You are free to use any other compression
algo you'd like on your serialized objects, though.

There is no way to thrift-serialize arbitrary Ruby objects or hashes.
Thrift is big on schema.

On Mon, Jun 11, 2012 at 5:03 AM, Anand Hegde <> wrote:

> I am using the thrift ruby gem and am doing the following
> serializer =
>                binary_string=serializer.serialize(my_thrift_obj)
> and I am storing this binary_string in a file, but I noticed there is no
> compression at all. Is there any way I can compress my_thrift_obj while
> serializing?
> Also, is there a way to serialize arbitrary ruby hashes to thrift objects?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message