0

I just acquired a vps from digital ocean created 2 droplets one a 10 $ for php restful api and another one 5$ for angular2

Now i need to make a decision on the best way to go do i run ng serve in the vps and access the app via apaddress then port or do i run ngbuild and he access the app via apache

Which option consumes alot of cpu and also bandwith assuming my app will be accessed by over 1000 views per day?

Kim Kern
  • 54,283
  • 17
  • 197
  • 195
Geoff
  • 6,277
  • 23
  • 87
  • 197
  • 3
    ng-serve should not be used for production : https://github.com/angular/angular-cli/issues/5274 – Akkusativobjekt Jun 23 '17 at 10:08
  • Thanks i see, i believe il have to do ngbuild – Geoff Jun 23 '17 at 10:53
  • Also, realize that 1000 downloads of a few static files per day is basically nothing. The first computer that I bought, which had 4 MBs of RAM and a 66 MHz CPU could serve that. – JB Nizet Jun 24 '17 at 17:21

0 Answers0