Long time of loading webapps on Matlab Web App Server

11 ビュー (過去 30 日間)
Adrian
Adrian 2022 年 10 月 6 日
回答済み: Tushar 2023 年 9 月 11 日
Hello,
I have a matlab web app server set up on a virtual machine(32GB RAM, 16CPU). Despite large VM resources, the webapps deployed on Matlab Web App Server takes a long time to load and the site itself runs sluggishly.
In any moment VM isn't overloaded. There are a possibility to increase performance of matlab web app server? Or at least profile what is taking so long?
Webapps themselves are running smoothly, but their loading/reloading time takes far too long. There is a possibility to improve this process?

回答 (1 件)

Tushar
Tushar 2023 年 9 月 11 日
Hi Adrian,
I understand that you are facing issues with long loading time of MATLAB Web Apps Server. Here are a few troubleshooting steps to help you resolve the issue:
  • System Requirements and Server Resources - Check the hardware and software requirements to run the development version of the Web App. Optimize the server resources by ensuring sufficient CPU, memory and disk space. You can refer to the below documentation to know more about 'System Requirements':
  • Optimize your code - Use MATLAB's performance tools to identify the parts of your web app that may be causing long loading times, such as unnecessary calculations or not using parallel computing techniques.
  • Web App Limitations - When packaging a MATLAB app into a web app, consider the functional limitations. Using certain functions may result in unexpected behaviour, or long loading times. You can refer to the below documentation to know more about 'Web App Limitations':
  • Diagnostics and Session Log - The session log will capture the interactions associated with the web app. You can check the log to see if there are any issues encountered by the web app.
  • Optimizing files and Caching- Enable compression and minimize file sizes of static content to reduce transmission time. Implement caching mechanisms to store frequently accessed data and computations.
You can refer to the below documentation to know more about the “Server Management for Web Apps” & “Techniques to create a responsive apps” respectively:
  1. Server Management for Web Apps
  2. Techniques to create responsive apps
Best Regards,
Tushar Agarwal

カテゴリ

Help Center および File ExchangeMATLAB Web App Server についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by