Creating Role-Based Access Control in MongoDB

user access control
MongoDB provides user access on role-based controls. It provides many built-in roles to be assigned to users: most notably the read and readwrite roles. Sometimes, however, they are not as granular as we would like. I recently had a chance to explore user-defined roles in MongoDB which were...





The Perils of Building Indexes on MongoDB

perils of building indexes
Indexes are a critical part of any database operation. Defining the right indexes can make a huge difference to the performance of your database servers. However, creating indexes in MongoDB has several pitfalls that you need to be aware of for your day to day operations. MongoDB at a high level...



Using Redis with Node.js and Socket.IO

redis nodejs
In this article, we will show you how to build a real-time chat application using the following technologies: Redis Node.js + Express.js Socket.IO Heroku Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. It supports...