[erlang-questions] BERT encoding and WebSocket
Tue Apr 10 08:10:21 CEST 2012
Thanks for sharing your experience.
I thought BERT would help saving some bandwidth, but the outputs at
seem to say that BERT does not help saving much.
On Tue, Apr 10, 2012 at 2:40 PM, dmitry kolesnikov
> I would not recommend to use BERT to integrate erlang FE with
> with it on JS side. Eventually, we started to use base64 due to some
> browser behavior... Another Major issue was to maintain interface
> We rolled back to JSON. I would recommend jsx library on erlang, it is
> fast and light.
> Best Regards,
> Dmitry >-|-|-*>
> On 10.4.2012, at 5.26, ngocdaothanh <> wrote:
>> What is the best way to use BERT encoding (http://bert-rpc.org/) with
>> 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
More information about the erlang-questions