Hi Dave,
Am 10.09.2015 um 14:59 schrieb David Chappelle:
> In looking at the crossbar implementation a router can have multiple
> realms configured. Just curious what the rationale is behind this rather
> than only allowing a router to be associated to a single realm. In the
A router is a technical thing (a piece of code), wheras realms are
logical, WAMP level entities.
User can use realms to map and isolate different applications,
environments (test1/test2), tenants, ..
There are various use cases. Having the ability for multiple realms in
the same router process is something we've learned from our first WAMP
router implementation (which was closed source).
> bonefish implementation I opted to only allow a 1:1 relationship between
> routers and realms which made implementation much simpler. Pros/cons of
> both approaches? Should this be a part of the basic specification?
The WAMP spec deliberately does not restrict this. It's an
implementation detail of the router. In fact, the WAMP spec makes a
clear separation between things that must behave "identical" across
implementations, and stuff where implementations can differentiate.
But I agree in so far as the spec probably should discuss the options
for implementations: only 1 realm vs multiple realms to make this
freedom more explicit ..
> A router is a technical thing (a piece of code), wheras realms are
> logical, WAMP level entities.
>
> User can use realms to map and isolate different applications,
> environments (test1/test2), tenants, ..
>
> There are various use cases. Having the ability for multiple realms in
> the same router process is something we've learned from our first WAMP
> router implementation (which was closed source).
>
>
> Can you share a specific use case or limitations?
See above for us cases
Cheers,
/Tobias
Am 10.09.2015 um 17:24 schrieb Elvis Stansvik:
> On Thursday, September 10, 2015 at 3:37:53 PM UTC+2, Tobias Oberstein wrote:
>
> > A router is a technical thing (a piece of code), wheras
> realms are
> > logical, WAMP level entities.
> >
> > User can use realms to map and isolate different applications,
> > environments (test1/test2), tenants, ..
> >
> > There are various use cases. Having the ability for multiple
> realms in
> > the same router process is something we've learned from our
> first WAMP
> > router implementation (which was closed source).
> >
> >
> > Can you share a specific use case or limitations?
>
> See above for us cases
>
>
> I think Dave meant use cases for having multiple realms per router
> process. Multiple realms could still be managed using a
Ah, ok.
Well, doing multiple realms with 1 realm per process means: you _have_
to use _different_ listening ports for different realms. With CB you can
still choose to do that, or you can run on 1 port. User choice.
Also note: Crossbar decouples not only router processes from realms, but also from transports!
E.g. you can start multiple transports (eg websocket and rawsocket) that are serving clients in the same realm. Or multiple realms.
This is also quite important! Eg running websocket plus longpoll on 443, and rawsocket on a second port. Cb supports 18 different transport flavors! All of this allows to address a lot of scenarios. User choice.
Again, this architecture stems from the experience we gained with the previous 2 router implementions we wrote.
Sent from Mobile (Google Nexus 5)
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.
To post to this group, send email to cross...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/974cf84f-bf3d-4767-b1f5-1d618733809a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wampws+un...@googlegroups.com.
To post to this group, send email to wam...@googlegroups.com.
Visit this group at http://groups.google.com/group/wampws.
To view this discussion on the web visit https://groups.google.com/d/msgid/wampws/CABuE%2BY62otVumWp_OndHfArPOT4zsMcjwa0ngUJ9EF4PV_a0XQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to crossbario+unsubscribe@googlegroups.com.
To post to this group, send email to cross...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/974cf84f-bf3d-4767-b1f5-1d618733809a%40googlegroups.com.
--
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "WAMP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wampws+unsubscribe@googlegroups.com.
This very feature is the only omission to the full matrix of transport options.
RawSocket is specified already with this in mind, but it is not yet possible in CB. And I don't know of any router providing it. We will have it in CB.
You will be able to run WebSocket, Longpoll and RawSocket plus all the CB HTTP Web services over TLS all on port 443 using one server certificate.
This is in my view the most desirable configuration for running in production. No reverse proxying or anything in front. Unneeded. It is what we will run ourselfes most of the time.
It will have the broadest range possible rgd client support, feature set and security.
Sidenote on security: CB by default will accept exactly 4 ciphers for TLS. All provide PFS. All the old and insecure crap is deactivated.
Say sorry to IE on XP;) Though Chrome/Firefox works great even on XP.
Sent from Mobile (Google Nexus 5)
To view this discussion on the web visit https://groups.google.com/d/msgid/wampws/CAO7yyAWN-6Jn4448Eu_ZThy_LoVftjU2dK0Kxx9z9eDsWqLyDA%40mail.gmail.com.
Being pedantic here: Longpoll is a fully featured transport. And it runs from a Web service along with WebSocket today.
Whats not yet there is adding RawSocket into above mix on the same port. But as said, its easy shit, as we already did the hard work figururin out how to make that fly .. some impl. bits are missing.
Sent from Mobile (Google Nexus 5)
To unsubscribe from this group and stop receiving emails from it, send an email to crossbario+...@googlegroups.com.
To post to this group, send email to cross...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/974cf84f-bf3d-4767-b1f5-1d618733809a%40googlegroups.com.
--
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "WAMP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wampws+un...@googlegroups.com.
To post to this group, send email to wam...@googlegroups.com.
Visit this group at http://groups.google.com/group/wampws.
To view this discussion on the web visit https://groups.google.com/d/msgid/wampws/CABuE%2BY62otVumWp_OndHfArPOT4zsMcjwa0ngUJ9EF4PV_a0XQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "WAMP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wampws+un...@googlegroups.com.
To post to this group, send email to wam...@googlegroups.com.
Visit this group at http://groups.google.com/group/wampws.
To view this discussion on the web visit https://groups.google.com/d/msgid/wampws/1d82ec1e-d18c-4d58-8024-ff248481389c%40googlegroups.com.