Yes, this is a problem, and as it says it would only work for some site
designs (where you're OK with sharding the live userbase). We're fixing
this architectural issue in the next major Channels release, but it's going
to take a little time.

Andrew

On Mon, Aug 7, 2017 at 4:21 AM, Cristiano Coelho <cristianocc...@gmail.com>
wrote:

> About docs here: http://channels.readthedocs.io/en/stable/deploying.html
>
> "The fundamental difference is that the group mechanic requires all
> servers serving the same site to be able to see each other*; if you
> separate the site up and run it in a few, large clusters, messages to
> groups will only deliver to WebSockets connected to the same cluster.*
> For some site designs this will be fine, and if you think you can live with
> this and design around it (which means never designing anything around
> global notifications or events), this may be a good way to go."
>
> It's not clear to me, the exact meaning of this. Channels won't work
> properly if there are multiple servers (load balanced) running the
> ASGI/listener (interface server?) code? Does this mean a broadcast
> happening at one node will only deliver to all the clients connected to
> that node? Isn't the point of using redis to be able to broadcast to
> everyone across every server?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/ef02b7bb-9d36-42ae-9cff-454bd2f3a558%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ef02b7bb-9d36-42ae-9cff-454bd2f3a558%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFwN1urQgP2MK%2B1MRhN83K_17jrER%2BRmTknU1Ar7-pBJY_aZSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to