thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Hegde <anandghe...@gmail.com>
Subject Thrift serialization compression
Date Mon, 11 Jun 2012 12:03:48 GMT
I am using the thrift ruby gem and am doing the following

serializer = Thrift::Serializer.new()

                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?

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