When you do a group send, the message doing the sending fans out the send to all the target channels (currently using individual commands, and soon with a Lua script inside Redis). We're not using redis pub-sub - we use lists instead.
Andrew On Fri, Mar 30, 2018 at 2:26 AM, krdeepak <[email protected]> wrote: > Hi, > > I was doing a deep dive in django channels and related projects, and plan > to use it in my project along with contributing to it in the future. > I understood most of the details, but still not clear about one things. > > During a group_send in channel_layer, which process is responsible for > listening to this message and then broadcasting that message to all the > channels in that group? > Which process is consuming messages in channel layer? > > Seems I am missing some details on how redis implements pub-sub. > > Thanks, > Kr Deepak > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/d8018f8e-614e-4456-b534-b8bb17d5bf3f%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/d8018f8e-614e-4456-b534-b8bb17d5bf3f%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 [email protected]. To post to this group, send email to [email protected]. 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/CAFwN1uqDa0e5SfMtW_4EXKbJ9y82ubA_Ym7dZ5HgvSkMXaw12g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

