Re: Slow Performance of Django Web App

2023-06-11 Thread Kunal Mittal
I have read various docs on performance optimization, but still not getting 
what's taking to render templates and what's the bottleneck when cache get 
cleared, I takes around 12 hours for application to run smoothly after that 
event.

On Monday, June 12, 2023 at 10:53:06 AM UTC+5:30 Kunal Mittal wrote:

> Hi, we are using Django 1.8.5
> Architecture is like -  Nginx side car -> wsgi server (gunicorn) -> 
> application
> On Monday, June 12, 2023 at 1:06:18 AM UTC+5:30 Mz Gz wrote:
>
>> What server do you use ?
>>
>> On Sun, 11 Jun 2023, 10:00 pm Kunal Mittal,  wrote:
>>
>>> I've a django application serving 10k+ users daily, that application has 
>>> everything to be on the top of performance metrics but still some API's 
>>> have high latencies, application serves lots of pages with nice css and 
>>> various images, on most the pages they are being served by s3 while on some 
>>> it's via django static files. We have implemented caching on akamai for 
>>> every static file that application serves, whenever that cache disappears 
>>> latency of each and every API spikes exponentially, at that time even 
>>> loading metrics becomes a pain, server does not pick those requests. Can 
>>> anyone suggest what's going on here. 
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e07d773a-db82-4a09-b73c-f36ac90322b1n%40googlegroups.com.


Re: Slow Performance of Django Web App

2023-06-11 Thread Kunal Mittal
Hi, we are using Django 1.8.5
Architecture is like -  Nginx side car -> wsgi server (gunicorn) -> 
application
On Monday, June 12, 2023 at 1:06:18 AM UTC+5:30 Mz Gz wrote:

> What server do you use ?
>
> On Sun, 11 Jun 2023, 10:00 pm Kunal Mittal,  wrote:
>
>> I've a django application serving 10k+ users daily, that application has 
>> everything to be on the top of performance metrics but still some API's 
>> have high latencies, application serves lots of pages with nice css and 
>> various images, on most the pages they are being served by s3 while on some 
>> it's via django static files. We have implemented caching on akamai for 
>> every static file that application serves, whenever that cache disappears 
>> latency of each and every API spikes exponentially, at that time even 
>> loading metrics becomes a pain, server does not pick those requests. Can 
>> anyone suggest what's going on here. 
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/92e8a1e1-9956-4fd5-881e-e0929703b183n%40googlegroups.com.


Slow Performance of Django Web App

2023-06-11 Thread Kunal Mittal
I've a django application serving 10k+ users daily, that application has 
everything to be on the top of performance metrics but still some API's 
have high latencies, application serves lots of pages with nice css and 
various images, on most the pages they are being served by s3 while on some 
it's via django static files. We have implemented caching on akamai for 
every static file that application serves, whenever that cache disappears 
latency of each and every API spikes exponentially, at that time even 
loading metrics becomes a pain, server does not pick those requests. Can 
anyone suggest what's going on here.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com.