Yeoman, Mongoose, and MongoDB Scaffolding

Yeoman, Mongoose, and MongoDB Scaffolding - ScaleGrid Blog
In our previous post, we talked about getting started with Mongoose and MongoDB. In this post, we'll show you how to use Yeoman and scaffold a new Mongoose/Express project for MongoDB. Yeoman is a scaffolding tool, that scaffolds out projects using Grunt, Bower, and Node. There are times when you...

Getting Started with MongoDB and Mongoose

Getting Started with MongoDB and Mongoose - ScaleGrid Blog
In this post, we'll show you how to use Mongoose for your MongoDB deployments to create a more straight-forward, schema-based solution to modeling your application data. What is Mongoose? Mongoose is an "elegant MongoDB object modeling for Node.js". If you've used MongoDB before and tried...




Running MongoDB on DigitalOcean

Running MongoDB on DigitalOcean
DigitalOcean is a NY-based hosting provider specializing in SSD-based virtual machines. A majority of our customers choose to deploy and manage databases on Amazon AWS, however, running large-scale write intensive databases on AWS is a fairly difficult and time-consuming operation. If you're...

Encrypting MongoDB Data-at-Rest

Encrypting MongoDB Data-at-Rest - ScaleGrid Blog
MongoDB is now the defacto database for a wide variety of applications, some of which, storing very sensitive data. When you store sensitive information in your MongoDB database, it's important to encrypt the contents of your data disk. This gives you an extra layer of protection if your data...

When to use GridFS on MongoDB?

When to use GridFS on MongoDB? ScaleGrid Blog
GridFS is a simple file system abstraction on top of MongoDB. If you're familiar with Amazon S3, GridFS is a very similar abstraction. Now, why does a document-oriented database like MongoDB provide a file layer abstraction? Turns out there are some very good reasons: Storing user-generated...

Visual Statistics for your MongoDB Server

Visual Statistics for your MongoDB Server
We're happy to announce the availability of visual statistics for your MongoDB databases and collections. Click on the 'stats' button to bring up the statistics for your cluster. Document Count Examine the number of documents stored in each collection, and in one view, you can quickly compare...

10 Tips to Improve Your MongoDB Security

10 Tips to Improve your MongoDB Security - ScaleGrid Blog
MongoDB provides a number of constructs to improve the security of your data. The security of your data in MongoDB is paramount - so it is important to leverage these constructs to reduce your surface area. Here are 10 tips you can use to improve the security of your MongoDB servers on-premise and...