[erlang-questions] BERT encoding and WebSocket

Heinz N. Gies <>
Wed Apr 11 18:20:08 CEST 2012


I was thinking about the same,
after some testing I went to use JSON it was smaller then BERT+base64 for my cases without it I had problems with transmissions.

Regards,
Heinz
--
Heinz N. Gies

http://licenser.net

On Apr 10, 2012, at 04:26, ngocdaothanh wrote:

> What is the best way to use BERT encoding (http://bert-rpc.org/) with
> WebSocket?
> 
> BERT is binary but WebSocket does not support binary at this moment.
> Should I use base64 to encode BERT binary to normal string? Base64 has
> 33% overhead (http://en.wikipedia.org/wiki/Base64). How much space can
> BERT save compared to JSON?
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list