[erlang-questions] BERT encoding and WebSocket
Tue Apr 10 07:40:40 CEST 2012
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.
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