for that job, I would use two interface on your node.js app, one public offering the socker.io connection, one local to the server listening for event from django.
The js on the webpage connect to the public interface of the node.js app. The local interface don't need socket.io but you might want to put celery between django and node.js to have a non-blocking interface on the django side 2016-07-18 19:14 GMT+02:00 Arindam sarkar <asarkar1...@gmail.com>: > I want node server to provide notifications for django request.user ... > means node server would updated notifications in real time using socket.io > for the logged in user > > > On Jul 18, 2016 10:39 PM, "ludovic coues" <cou...@gmail.com> wrote: >> >> It depends on how django and node JS interact together, what they are >> used for, etc... >> >> 2016-07-18 18:58 GMT+02:00 Arindam sarkar <asarkar1...@gmail.com>: >> > I have a situation where I want to use django with node JS my problem is >> > how >> > do I share user session data among django and notes 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/CAGnF%2BrBw%3D-OZsSFcqZysVGS1pt3Ay10mix_2g%2BkD-PdzOeL8bQ%40mail.gmail.com. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> >> Cordialement, Coues Ludovic >> +336 148 743 42 >> >> -- >> 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/CAEuG%2BTbb0VOwiqt6M9GJCgMNijy%2Bqh09cWSLcPiKAdfy%3DkXDNw%40mail.gmail.com. >> 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/CAGnF%2BrA%3DRY9TqMVtn6eBUhv_2ghQ8r4065BXHZbcxf4ZMeE6bw%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. -- Cordialement, Coues Ludovic +336 148 743 42 -- 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/CAEuG%2BTZmtE_5JdxVYoKnRo8G%3DQY1%2BYVkL7qhcsiGxCCcf_JQVA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.