Questions from newbie

#1

Hello,

I’m trying to design and build a system (using plain python) which supports both push AND pull model natively (not using ssh for push, for example).

This system must be scalable in order to support high availability installation.
My first thought was to take a brokerless message queue. I thought about 0mq, but its security implementation is horrible and it is too low. AMQP was the second option, but it is extremely complex even for simple tasks, major broker implementations do not support SSL/TLS CRLs and written in java/erlang/c++ which makes them difficult to patch and extend.

Finally I found WAMP and Autobahn as its implementation. It looks great from the first view, and it seems like it fits all my needs. But I found that the documentation is pretty bad, especially about WAMP broker concept.

Considering Crossbar as WAMP broker implementation, my questions are:

  1. Can I have multiple brokers decoupled on different servers but gathered in a single “federation”? If yes, is there an article describing this?
  2. Can I use nginx to proxy connections to the broker or brokers? If yes, is there an article describing this?
    Thanks for your answers!
0 Likes

#2

Hi Dmitry,

Finally I found WAMP and Autobahn as its implementation. It looks great
from the first view, and it seems like it fits all my needs. But I found
that the documentation is pretty bad, especially about WAMP broker concept.

Have you looked at http://wamp.ws/why/ ? In general: we know we need to improve on the docs and would love to hear some hints how to improve. Do you have any specific suggestions we might take into consideration?

Considering Crossbar as WAMP broker implementation, my questions are:

1. Can I have multiple brokers decoupled on different servers but
    gathered in a single "federation"? If yes, is there an article
    describing this?

This feature is not yet there, but it will be in Crossbar.io. Multiple brokers will cooperate to form realms that span machines.

2. Can I use nginx to proxy connections to the broker or brokers? If
    yes, is there an article describing this?

nginx is able to proxy WebSocket, and hence should be able to proxy Crossbar.io WAMP-over-WebSocket transports. I haven't done this myself (since I don't have a need to do so), but any article describing proxying WebSocket using nginx should do ..

If you research this and try with Crossbar.io, please consider contributing to the Crossbar.io docs:

http://crossbar.io/docs/Reverse-Proxies/

which is rendered from this

https://github.com/crossbario/crossbar/wiki/Reverse%20Proxies

and the latter you can "just edit" (it's a Wiki).

Cheers,
/Tobias

···

Thanks for your answers!

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/d2fb388f-0b6e-477c-8ec7-927aa5fa59ff%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/d2fb388f-0b6e-477c-8ec7-927aa5fa59ff%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#3

Hi Tobias,

Have you looked at http://wamp.ws/why/ ? In general: we know we need to
improve on the docs and would love to hear some hints how to improve. Do
you have any specific suggestions we might take into consideration?

Nothing very specific yet, since i did not dive deeply into crossbar/autobahn yet, but I’d like to see docs to be more structured - “from nothing to expert” (rabbitmq tutorial is a nice example). Right now I see many non-structured Wiki pages and the documentation that is generated from them.

This feature is not yet there, but it will be in Crossbar.io. Multiple
brokers will cooperate to form realms that span machines.

Good to know.

nginx is able to proxy WebSocket, and hence should be able to proxy
Crossbar.io WAMP-over-WebSocket transports. I haven’t done this myself
(since I don’t have a need to do so), but any article describing
proxying WebSocket using nginx should do …

If you research this and try with Crossbar.io, please consider
contributing to the Crossbar.io docs:

http://crossbar.io/docs/Reverse-Proxies/

which is rendered from this

https://github.com/crossbario/crossbar/wiki/Reverse%20Proxies

and the latter you can “just edit” (it’s a Wiki).

Sure I will, once I’ll make this working.

Cheers,
Dmitry.

0 Likes