Hi

>From a generic debugging point of view, you need to find out the root cause 
of the performance decline. Ideally you need to isolate and test each part 
of the system in turn and look for the one which is causing the problem. 

1. If it can be reproduced on a prod-like environment then that's really 
great as you can make changes easily to test. Always keep a note of EXACTLY 
what you've changed and put it back the way it was previously before your 
next test. If you cannot reproduce that also tells you something, for 
example it's due to data quantities or prod-hardware.

2. Put tracing/logging on your prod environment database and check for SQL 
for degradation (maybe compared to your development env). Maybe all is OK 
or one query is slow or everything is slow. Any performance issues will 
need tuning, but it sounds like you are looking for something quite 
fundamental.

3. What happened in February? Did you perform a release to Production? What 
was in it? If you roll-back (in test environment) does it fix the problem? 
Maybe it is a component that has been updated. Any configuration changes to 
your web server?

4. If it isn't the database then it's something else. You need to isolate 
each part of the system in turn and put on logging then check the results.

Best regards
Sally


On Thursday, 2 May 2019 12:40:20 UTC+1, Saurabh Adhikary wrote:
>
> Hello , 
>
> I'm using Django version 1.8.1  and Python version 2.7.12 . Suddenly since 
> Feb '19 there has been a drastic decrease in my website's response rate.
> For sure , there has been some minor increase in the no of hits, but the 
> performance is too bad.
>
> Initially , the thought came that the hardware of the server was old , so 
> a new server with high configuration was bought.
> We have done the new indexing also on it.
> Still the sought for a higher performance is awaited.
>
>
> Is it that the Django support for 1.8.1 or Python support for 2.7.12 has 
> reduced and that is casing the website to slow down or I am missing out on 
> something ?
> Kindly help. 
>

-- 
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/726a21b9-0c55-49e5-8c8c-2ee48797e5e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to