Too slow website

Jis Parking 20 Reputation points
2023-01-26T18:39:22.97+00:00

Hi I moved to azure because I know that it 's faster than a regular Hosting and if I need more resources I can pay more and get them.. the thing is that I installed a website in python 3 with flask. the resources in azure that I am using they are:

  • App service.
  • Azure database for mysql

if you go to the website you realize that it's super slow, It works perfectly in local by the way..

I hope you can help me Thanks!

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
713 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,849 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 15,696 Reputation points
    2023-02-03T01:30:34.3566667+00:00

    @Jis Parking thanks for the question. Like Konstantinos Passadis , your website was fast in loading for me.

    In the future, if you would like to improve the performance for your Python website you can try:

    1. Scale vertically: If your website is facing high traffic, scale your App Service plan to a higher tier to handle the load.
    2. Enable auto-scaling: You can enable Azure auto-scaling to automatically adjust the number of instances of your web app based on demand.
    3. Monitor performance: You can use Azure Monitor to track key performance metrics and identify bottlenecks that can be addressed.

    Hope that helps. Please let us know if you have further questions

     

    Thanks,

    Grace

     

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Konstantinos Passadis 17,286 Reputation points
    2023-01-26T19:04:29.67+00:00

    Hello @Jis Parking

    Welcome to Microsoft QnA! w

    Can you kindly send me the Website ? Does it uses photos etc ?

    I suggest the use of a ready made solution with CDN and Custom Domain

    [https://www.cloudblogger.eu/2022/07/30/deploy-web-app-with-cdn-add-custom-domain-with-tls-wordpress-and-mysql/

    [https://learn.microsoft.com/en-us/azure/cdn/cdn-add-to-web-app?toc=%2Fazure%2Ffrontdoor%2FTOC.json

    Please let us know a bit more details ! For example , how did you setup the Wordpress? Is it an import configuration ?

    The more details can really provide more and precise answers from the community !

    Thank you and waiting for your input!

    In case the answer was helpful please upvote and Accept it as well!