I am developing an application using nodejs and mongodb. I came across Openshift for hosting, they provides 3 free gears each with 512 ram and 1 GB disk space.
MongoDB is in the form of cartridge for Openshift applications, so i am not sure, if i install a MongoDB cartridge for my nodejs application, how much data size will it be allotted for MongoDB .
a) Does it limit to 1GB
b) MongoDB data-size= 1GB - (NodeJS APP space)
c) or can i have it as a separate gear for MongoDB and access in my application ?
Also does Openshift allow to access external cloud datastore like mongoHQ or cloudant
Great question. In a non-scaled application, DB and lang cartridges share the 1 GB gear storage. Where as in scaled application, DB gets its own gear which means it has 1 GB for itself. For more information on scaling apps, see: https://www.openshift.com/blogs/scaling-in-action-on-openshift
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With