On Apr 10, 2013, at 1:46 PM, Emmanuel Bernard <[email protected]> wrote:
>>> I'm not sure JSON should be the format though. As you said it's quite
>>> verbose and string is not exactly the most efficient way to process
>>> data.
>> 
>> What would that format be, then?
> 
> Good question :) BSON is not necessarily smaller than JSON, it is meant
> to be more parseable afair. I did use Avro in Hibernate Search as I find
> ProtBuffer and the others too rigid for my needs to pass arbitrary
> datasets. But if we have a schema and expect a given object type, then
> we can start saving space a lot.

Actually, I would suspect that the JSON compresses much smaller than the size 
of the BSON. The advantage of BSON, however, is the additional types that are 
supported, including binary, timestamps, etc.
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to