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.

enter image description here

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

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -