Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread Abhinav Mehta
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,

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread Abhinav Mehta
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.

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread mohamed fazil
And celery not working python 3.7 or above Fazil Skits Private Ltd. On Wed, Mar 13, 2019 at 9:50 AM mohamed fazil 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 Privat

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread mohamed fazil
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 wrote: > Have you looked at celery and redis? > > Mark > > On Mon, Mar 11, 2019

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread Mark Phillips
Have you looked at celery and redis? Mark On Mon, Mar 11, 2019 at 10:32 PM mohamed fazil 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 fo

how to use multithreading concepts in Django Rest Framework?

2019-03-11 Thread mohamed fazil
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