Angular Application stay open and active for continuous 8 days

18 views
Skip to first unread message

Nitin Jain

unread,
May 28, 2020, 6:23:36 AM5/28/20
to Angular and AngularJS discussion

Hi All,

I am working on a project where my business team wants to fulfill a few requirements as follows:
  1. Create a web application using Angular
  2. The application will run on something similar to chromium, i.e. it will not run on the default chrome web browser, but will run on a device similar to the ATM machine.
  3. This ATM type machine configuration is like, CPU - Celeron, RAM - 8GM. 
  4. This web application will remain open and active/usable for a minimum of 8 days. there should not be any performance or memory degradation during all 8 days
  5. in less than 1 sec they want any UI to re-render any change on chromium-browser  
Question: It's feasible to expect a web application to remain open for such a long time and with zero bad memory accumulation. If yes then can you share some guidelines around it 

cheers
Nitin

Sander Elias

unread,
May 29, 2020, 7:38:40 AM5/29/20
to Angular and AngularJS discussion
HI Nitin,

Yes, you can do that with a web application. Angular is well suited for this, and is well tested for memory degradation.
But it's easy to make something that leaks memory, so you need to profile it thoroughly.

Also, I assume it's running in some kind of browser environment. Those things are usually leaking more memory as web-apps themselves. So a daily automated restart might save you a lot of headaches.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages