The Issue: We just deployed a pre-existing django app on app platform and are experiencing 3x slower speeds compared to our old provider. It appears CDN ingest latency is quite high 4-6 seconds - could this be the reason why? If not, we’re happy to hear other ideas.
Some Context: We’re looking to transition from Fly.io to DigitalOcean but the SIN server performance seems 3x slower. The server response time is about 7-8s consistently, even for static/blank pages. For context, our DB is managed MySQL located in SIN. The app is located in SIN as well. Our logs do not show any abnormalities and DB queries are also fine. CPU and RAM load are well below threshold.
The only thing that looks abnormal is the CDN ingest latency at 4-6s for both 3xx and 2xx responses. We serve static content via S3 and Cloudfront CDN. CORs origins are properly configured to accept requests from my app domain. Is there a conflict that may be causing this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.