#Django Channels HELP

7 messages · Page 1 of 1 (latest)

tough zenith
#

Hi so i need to implement notifications in my application and I have a few questions about Django channel layer(COuld really use some help here):

  1. Does every consumer instance get its own channel layer name ? ( lets say i have 2 websocket URLs mapped to 2 consumers , and every client establishes a connection to both these consumers via the url router )

  2. Is the channel layer name uniquely generated only for that specific connection ? and therefore might be different if the same consumer spins up another instance of itself for a connection ?

  3. How do i store and access these channel layer names for each user when i need to add them to a group or something . Do i just store them in a database for the duration of the connection and get rid of them after ?

vast estuary
#

Still looking? @tough zenith

fleet nacelle
#

On ur pfp

fleet nacelle
#

Screammmmmmm

#

Ty lol