Am 31.08.2015 um 20:07 schrieb Dave Barndt:
> Hi,
>
> OK, it looks like the problem is not related to the implementation, but
> to a change in the setup of SSL/TLS in the most recent version (0.10.5)
> of AutobahnPython, in its autobahn.wamp.ApplicationRunner client helper.
> I've opened a question in the Autobahn group about this.
>
> Meanwhile, if we remove SSL/TLS, then when we run "App A" as a guest
> worker of Crossbar A, when it spawns the WAMP component to connect to
> Crossbar A, the connection DOES complete. That seems to be exactly what
> we need - ensuring we wait until Crossbar A is running before trying to
> connect to it.
>
> Can someone confirm that this is indeed true? _Does Crossbar wait until
> the router is initialized before it starts other containers and/or guest
> workers?_
With Crossbar.io running in standalone mode (the only one avail. today),
it works like this:
1. the node configuration is read once during startup
2. the controller process starts
3. each worker from the workers list is started one after the other, in
strict order
4. starting a worker means: starting everything inside, eg all
transports of a router
Whether a worker is a router, container or guest does not matter as far
as order is concerned.
So given a worker list [R1, C1] with a Router1 and Container1, C1 won't
be even started before R1 hasn't started with all listening transports!
So a component in C1 can assume that R1 is started already.
> --
> 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/8efc66cc-ab17-415b-876b-19d2a2b00fd9%40googlegroups.com
> <
https://groups.google.com/d/msgid/crossbario/8efc66cc-ab17-415b-876b-19d2a2b00fd9%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.