javascript - Install MongoDB on the same AWS EC2 instance as my existing NodeJS application? -
i'm little new hosting database mongodb , trying use cost effective, reliable method.
is advisable install mongodb database on same ec2 instance node application? if yes, how?
also, alternatives?
databases not horizontally scale-able server-size processing is. node.js application can replicated handle more requests database cannot. so, if plan have lot of load on node.js server use separate ec2 instance can use elastic load-balancer scale horizontally on go , handle higher incoming traffic.
Comments
Post a Comment