WAMP Longpoll: new Autobahn + Crossbar releases

#1

Hi all,

we've pushed new releases:

AutobahnPython 0.9.1
AutobahnJS 0.9.5
Crossbar.io 0.9.8

Besides accumulated smaller fixes, these releases now provide initial support for WAMP-over-Longpoll.

That means: WAMP in browsers lacking WebSocket support (and without using a Flash fallback) - such as IE9 or old Android Webkit.

To test with Crossbar.io:

pip install -U crossbar
crossbar init --template longpoll
crossbar start

and open http://localhost:8080 in Chrome and IE9. See the attached screenshot.

Also, AutobahnJS is now available for Bower (https://github.com/tavendo/AutobahnJS/#get-it) and older releases are hosted as well.

Cheers,
/Tobias

PS: I have tested this with IE9 only. This should work in principle with other browsers lacking WebSocket as well, like IE8 - but there are general JS issues with IE8 I don't have time to track down. Help on this would be welcome!

https://github.com/tavendo/AutobahnJS/issues/108

0 Likes

#2

Tobias, what was the motivation to incorporate Long polling, have you compared performance between LP and WAMP ?.

I applaud you as this is a pretty neat trick to push (no pun intended) LP based Web apps over to WAMP.

Regards

BOB

···

On Monday, September 22, 2014 1:02:28 PM UTC+1, Tobias Oberstein wrote:

Hi all,

we’ve pushed new releases:

AutobahnPython 0.9.1

AutobahnJS 0.9.5

Crossbar.io 0.9.8

Besides accumulated smaller fixes, these releases now provide initial
support for WAMP-over-Longpoll.

That means: WAMP in browsers lacking WebSocket support (and without
using a Flash fallback) - such as IE9 or old Android Webkit.

To test with Crossbar.io:

pip install -U crossbar

crossbar init --template longpoll

crossbar start

and open http://localhost:8080 in Chrome and IE9. See the attached
screenshot.

Also, AutobahnJS is now available for Bower
(https://github.com/tavendo/AutobahnJS/#get-it) and older releases are
hosted as well.

Cheers,

/Tobias

PS: I have tested this with IE9 only. This should work in principle with
other browsers lacking WebSocket as well, like IE8 - but there are
general JS issues with IE8 I don’t have time to track down. Help on this
would be welcome!

https://github.com/tavendo/AutobahnJS/issues/108

0 Likes

#3

Hi!

The motivation was to provide an alternative transport - as a fallback for situations in which there is no WebSocket support.This can be older browsers, or devices where there are no WebSocket implementations available, or resource constraints make use of already-implemented HTTP mechanisms advantageous - think embedded devices.

While WAMP started out with WebSocket as its transport, there is no necessary connection between the two.

Regards,

Alex

···

Am Dienstag, 9. Dezember 2014 16:40:31 UTC+1 schrieb wamp...@gmail.com:

Tobias, what was the motivation to incorporate Long polling, have you compared performance between LP and WAMP ?.

I applaud you as this is a pretty neat trick to push (no pun intended) LP based Web apps over to WAMP.

Regards

BOB

On Monday, September 22, 2014 1:02:28 PM UTC+1, Tobias Oberstein wrote:

Hi all,

we’ve pushed new releases:

AutobahnPython 0.9.1

AutobahnJS 0.9.5

Crossbar.io 0.9.8

Besides accumulated smaller fixes, these releases now provide initial
support for WAMP-over-Longpoll.

That means: WAMP in browsers lacking WebSocket support (and without
using a Flash fallback) - such as IE9 or old Android Webkit.

To test with Crossbar.io:

pip install -U crossbar

crossbar init --template longpoll

crossbar start

and open http://localhost:8080 in Chrome and IE9. See the attached
screenshot.

Also, AutobahnJS is now available for Bower
(https://github.com/tavendo/AutobahnJS/#get-it) and older releases are
hosted as well.

Cheers,

/Tobias

PS: I have tested this with IE9 only. This should work in principle with
other browsers lacking WebSocket as well, like IE8 - but there are
general JS issues with IE8 I don’t have time to track down. Help on this
would be welcome!

https://github.com/tavendo/AutobahnJS/issues/108

0 Likes