And for the streaming problem — cache serializers, responses at
web-server(nginx/apache) may help?

But I’m not sure it will last for long, because 3-4 concurrent clients are
too less to be having any problem in prod env and in-general number of
clients grow fast.

On 13 March 2019 at 11:12:46 AM, Abhinav Mehta (abhi...@metarain.com) wrote:

Not sure if DRF is designed for multi-threading. I believe it’s just a
web-framework.

Specifics like multiple-threading etc. should be better offloaded to other
tools/frameworks like celery, pyspark, numpy, dask etc.
If required, plug these tools/frameworks inside serializers, views, signals
etc.

On 13 March 2019 at 10:06:15 AM, mohamed fazil (rmohamedfa...@gmail.com)
wrote:

And celery not working python 3.7 or above

Fazil
Skits Private Ltd.


On Wed, Mar 13, 2019 at 9:50 AM mohamed fazil <rmohamedfa...@gmail.com>
wrote:

> Yes phillips both we looked but not useful to this problem. Thanks for
> your kind reply. Any other suggestion is there please suggest me
>
> Thanks
> Fazil
> Skits Private Ltd.
>
>
> On Tue, Mar 12, 2019 at 8:38 PM Mark Phillips <m...@phillipsmarketing.biz>
> wrote:
>
>> Have you looked at celery and redis?
>>
>> Mark
>>
>> On Mon, Mar 11, 2019 at 10:32 PM mohamed fazil <rmohamedfa...@gmail.com>
>> wrote:
>>
>>> I am using Django rest framework. I had a rest URL when i call that URL
>>> at a time from various 3, 4 streaming client, I got a response from only
>>> one client remaining client not responding me for that purpose only I want
>>> to know how to use multithreading in Django rest framework?  how to resolve
>>> this problem? can anyone help me out this problem?
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django REST framework" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-rest-framework+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django REST framework" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-rest-framework+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to django-rest-framework+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to