I have developed the API using DRF but facing the major performances issue.
Here is what the scenario is: I am using DRF. Our API call is growing towards 5k per day. Each API call is taking 3 to 10 minutes of time while responding ( as It creates upto 300 pdf label unique format)
I am using uwsgi( many worker) now with the Apache.
We have implemented the caching but not able improve very much performances level.
Primary query:
Shall we use gunicorn instead of uwsgi? What about message/ job queue? Is this work.
My current server RAM is only 32 GB. Shall I have to increase this if yes how much ( we personal don't want to go for vertical scaling)
Please suggest the approach, first time I am handling such level of performance issue.
I am very optimistic about message/ job queue and gunicorn.
--
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+unsubscribe@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/86e487d8-6dfe-4049-89a6-5e90a9175d48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment