I'm going to kind of reiterate what Florian said.

The fact that you keep describing your idea as another process/thread that
has back and forth communication with the actual Django instance seems to
indicate to me that it's another program. I think people here tend to
follow more of the UNIX philosophy of a collection of smaller simple
programs that can easily interact (monolithic stack being ignored as that's
a much older decision). If you want tighter integration with Django, I
think it would best be done via your program instead of Django itself.

Now that stated, you may work on your project and discover that there is
some additional things that would be easier if done in Django. I'm thinking
some kind of way to register on the Django Signals on a separate processor
or another feature that is useful outside just your project. That would be
a good time to discuss such a feature.

Keep up the good work.

- Joe

On Sun, May 31, 2015 at 8:56 AM, Florian Apolloner <[email protected]>
wrote:

>
>
> On Saturday, May 30, 2015 at 10:40:26 PM UTC+1, Emil Stenström wrote:
>>
>> Client A clicks a button on the site, that sends an normal ajax request
>> to Django. In the view a message is passed from Django to the SSE process.
>>
>
> How, you still need some kind of interprocess communication
>
> So the SSE process is VERY simple. It just connects to clients and passes
>> on messages the all clients connected.
>>
>
> VERY simple is an oversimplification in my opinion. I also do not see any
> reason for supporting it inside Django currently when things like
> autobahn.ws exist, the only thing missing there is the communication
> between the processes. I am not sure what people are expecting here from
> Django (and from your explanations I am still not really convinced or see a
> usecase at all). Since the message passing between the server processes
> should be language/framework agnostic anyways, this would be better suited
> for a third party project anyways. Reimplementing one of the existing
> SSE/Websockets implementations does not really seem like a win to me either.
>
> Cheers,
> Florian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" 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 http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/86b8ff28-b35f-49cd-8e95-30ace07c9d51%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/86b8ff28-b35f-49cd-8e95-30ace07c9d51%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Joe Tennies
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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 http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CACiOJ6tK%3D%2BmRiE55Y_fg4y-KWtiroMR7fowPkec%2Bx4C5jwuUWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to