javascript - To support loadbalancing on NodeJS Server where do we keep our database? -
i trying add load balancing on gcp, doubt shall keep database (mysql). have on different vm. scaled vm accessing it.
if install on same vm nodejs server running after scaling data scattered in multiple database in multiple vm.
is correct architecture start loading balancing on gcp
from looks of it, yes want keep mysql datbase on separate vm. come in handy if decide migrate, cluster etc database. best if storing sessions in database.
Comments
Post a Comment