> PING/PONG mechanism :
> ------------------------------------
> We found in your RFC
> <
https://tools.ietf.org/html/draft-oberstet-hybi-tavendo-wamp-02#section-13.7.3.1.4>description
> on how PING & PONG messages might be encoded over RawSocket transport.
> It looks to us though that this is not currently implemented by autobahn
> <
https://github.com/crossbario/autobahn-python/blob/master/autobahn/twisted/rawsocket.py>
> RawSocket transport implementation.
> Is this correct ?
Yes, correct:
https://github.com/crossbario/autobahn-python/issues/453
>
> Crossing intermediaries :
> ----------------------------------
> Our question was not clear, what we meant was if RawSocket would let you
> reach crossbar proxied by a WebServer like nginx.
No
> Our understanding of the wire protocol is that this is not possible as
> the handshake does not include an HTTP upgrade
> <
https://tools.ietf.org/html/rfc2616#section-14.42> request.
Correct
> In our opinion optionally allowing the transport to start with an
> Upgrade request ( eg asking to upgrade to wamp-over-foobar...) brings
> several benefits :
No, that is reinventing WebSocket. HTTP handshake processing is exactly
one area where RawSocket is much simpler.
> 1. Simplify deployment as port 443 is the unique entry path in the system
You can do that with RawSocket as well.
> 2. Allow to use the webserver for TLS offloading and load balancing.
You can load-balance both WebSocket and RawSocket using load-balancers
working a layer 4 (TCP).
Offloading TLS: to what? Why?
>
> As far as we now understand the crossbar clean codebase, we are not
> bound to use WebSocket or RawSocket but we can implement a Transport
> with the features we need.
Technically, you can of course. But:
- Crossbar.io does not have supported extension APIs for internal modules.
- you are inventing sth uneeded and proprietory (and in any case, you
have to comply to the AGPL, the OSS license of Crossbar.io)
In summary, I'd recommend:
Go with RawSocket as defined, run that over 443/TLS, use a L4 LB and let
Crossbar.io terminate the TLS.
Cheers,
/Tobias
>
> Best regards,
> Marc
>
> On Thursday, October 29, 2015 at 1:46:04 PM UTC+2, Alexander Gödde wrote:
>
> Hi Marc!
>
> First of all: WAMP over RawSocket differs from WAMP over WebSocket
> in the transport layer used, so all differences are down to that.
>
> Now to your specific questions:
>
> 1. RawSocket as specified provides for a pin/pong mechanism (see
> discussion of this feature
> <
https://github.com/wamp-proto/wamp-proto/issues/63>) and the spec
> <
https://tools.ietf.org/html/draft-oberstet-hybi-tavendo-wamp-02#section-13.7.3>
> --
> You received this message because you are subscribed to the Google
> Groups "Crossbar" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
crossbario+...@googlegroups.com
> <mailto:
crossbario+...@googlegroups.com>.
> To post to this group, send email to
cross...@googlegroups.com
> <mailto:
cross...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/crossbario/6d608405-6396-483b-80ad-9df45761fc0a%40googlegroups.com
> <
https://groups.google.com/d/msgid/crossbario/6d608405-6396-483b-80ad-9df45761fc0a%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.