[erlang-questions] Binary encoding for small objects: BSON or erlang:term_to_binary ?

Bob Ippolito bob@REDACTED
Mon Aug 2 15:12:51 CEST 2010


On Monday, August 2, 2010, Max Lapshin <max.lapshin@REDACTED> wrote:
> On Mon, Aug 2, 2010 at 4:57 PM, Zvi <zvi.avraham@REDACTED> wrote:
>> Which format would you choose: BSON or erlang:term_to_binary ?
>> ProtoBuffers ruled out because it requires schema.
>>
>
> BSON will require less modifications to external source code, but
> erlang:term_to_binary is much more convenient.

There are plenty of implementations of external term format in other
programming languages, it's probably not any more exotic than BSON and
likely to be lots faster at least on the erlang side.

-bob


More information about the erlang-questions mailing list