mebius95 / A-New-Method-for-Hosting-and-Sharing-MATLAB-Web-App

A New Method for Hosting and Sharing MATLAB Web App
4 stars 4 forks source link

Scalability issue #1

Open Tristan107 opened 11 months ago

Tristan107 commented 11 months ago

Hi, this is an interesting approach but from what I can see, you are starting the matlab engine every time the backend is called : eng = matlab.engine.start_matlab() which is probably not scalable for thousands or even hundreds of users.

Did you consider calling Matlab production server web APIs instead from your backend or even from your frontend, which seems to be the dedicated way to build customized web applications ?

https://www.mathworks.com/help/mps/restful-api-and-json.html

mebius95 commented 11 months ago

This project is designed for a small team, with only about a few dozen people. Your suggestion is very good