Friday, December 11, 2009

web sockets almost working .... - Erlang Programming | Google Groups

Sounds obscure at first, but this offers amazing speed and moves erlang closer to the mainstream. Nice.

web sockets almost working .... - Erlang Programming | Google Groups: "Thanks now it works beautifully, I've enclosed listings below.

First reflection - this is amazing - the overhead is tiny and there is
no parsing
headers etc. The erlang just had to send

[0] ... bytes .. [255] and it ended up in the browser.

This will kill Ajax, keep-alive connections etc, now all google has to
do is ship
the parse trees of HTML pages instead of *text* and browsers can skip parsing
and concentrate on rendering and stuff will go fast ...

Now somebody just has to be the first to implement
http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-65
in Erlang"