Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is MongoDB size limit on Openshift?

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

like image 228
anix Avatar asked Jun 26 '13 10:06

anix


1 Answers

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

like image 112
Sumana Mehta Avatar answered Oct 10 '22 22:10

Sumana Mehta