필터 지우기
필터 지우기

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 CenterFile Exchange에서 MATLAB 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