Django Channels - polling in consumer

2017-07-23 Thread John Byrne
Hi, this is a question about whether Channels is suitable for what I'm trying to do. I suppose the tl;dr of my question is: when you need to poll some system and generate push notifications to the browser app, where should you handle the polling - inside a Channels consumer, or in a completely

Re: Django Channels - polling in consumer

2017-07-23 Thread John Byrne
use for this kind of thing, but I > think my recommended approach from the little I know is to write a > management command to do it. That way it's easy to launch, and you can > still push into the channel layer. > > Andrew > > On Sun, Jul 23, 2017 at 9:52 AM, John Byrne

Channels vs Django-websocket-redis

2017-08-04 Thread John Byrne
I'm trying to evaluate these two Websockets solutions for Django. Has anyone here done compared these? I don't fully understand what the differences between them are. I think the main difference is that Channels can generalize all requests (websocket or request/response) to be handled by channe

Re: Channels vs Django-websocket-redis

2017-08-09 Thread John Byrne
ore than just websockets. HTTP2 and HTTP1.1 are supported. > Chat protocols like slack or irc are possible. > - you can trigger consumers from other consumers, without talking to > websocket. > > On Friday, August 4, 2017 at 1:09:44 PM UTC+3, John Byrne wrote: >> >>