Deploying a chatbot with Django: WebSockets vs HTTP

2019-02-15 Thread Mukul Mantosh
I currently have a chatbot app in my django project that I would like to deploy. I am confused as to whether I should use WebSockets or normal HTTP calls (AJAX) for it's implementation. This is what I have understood about the pros/cons of each(in the context of my use-case) till now after

Re: Django Websockets / Several Users on the Website

2017-10-13 Thread 'matrix1900' via Django users
thanks for the advise. But the requirement is to reduce the data transfer to the client as less as possible. I want to send only the data which the client needs. And only send the data values that are changed for live data view. Am Freitag, 13. Oktober 2017 11:17:16 UTC+2 schrieb Roger

Re: Django Websockets / Several Users on the Website

2017-10-13 Thread Roger Gammans
One architecture you could consider, is to put all the sensor values into redis or similar. Have a worker to out the values into redis from the automation source. Then use each websocket recieve event to add the reply channel to the group which gets the appropriate sensor value. You will

Re: Django Websockets / Several Users on the Website

2017-10-13 Thread 'matrix1900' via Django users
Hi Andrew, thanks for the answer. Are there some Examples available for using Background Worker and receive/send websockets in there ? I am not sure, if it is the better way to use celery or should I use the background worker? My Project: I should develop a maintain website for a automation

Re: Django Websockets / Several Users on the Website

2017-10-12 Thread Andrew Godwin
On Wed, Oct 11, 2017 at 3:02 AM, 'matrix1900' via Django users < django-users@googlegroups.com> wrote: > Hi together, > > I try to get started with Django Channels. I have actually two questions: > > 1. I use web sockets with channels. I want to have for each frontend user > which opens the

Django Websockets / Several Users on the Website

2017-10-11 Thread 'matrix1900' via Django users
Hi together, I try to get started with Django Channels. I have actually two questions: 1. I use web sockets with channels. I want to have for each frontend user which opens the website his own websocket channel without groups. I am not sure how does it works when several Users opens the

Re: django websockets

2014-01-16 Thread carlos
Hi maybe this link help you https://www.djangopackages.com/grids/g/websockets/ Cheers On Thu, Jan 16, 2014 at 8:34 PM, Silviu Dicu wrote: > Hello, > > I'm looking to implement websockets with django. > Any hints will be appreciated. > > thanks! > > -silviu > > -- > You

django websockets

2014-01-16 Thread Silviu Dicu
Hello, I'm looking to implement websockets with django. Any hints will be appreciated. thanks! -silviu -- 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