Imagine your coffee shop is thriving, but one location can't keep up with the growing demand. To fix this, you open more shops across the city, easing the load. Sharding works similarly for databases. When one MongoDB server can't handle the volume, data is distributed across multiple machines (shards), making your system more...
Introduction In this blog, we’ll discuss about the MongoDB Atlas Search and how we can query the database using Atlas Search. What is Atlas Search? Atlas Search is an embedded full-text search in MongoDB Atlas that gives you a seamless, scalable experience for building relevance-based app features. As we already know, Atlas Search is...
When I started my career as a software engineer, I was curious about the differences between databases used in different environments. In our local development, we used MongoDB, a popular NoSQL database. But when our application was deployed to production, we switched to AWS DynamoDB. I wondered why we didn’t stick with MongoDB in...
Introduction In this blog, we have mentioned how we can monitor the current operations of MongoDB instances with a small application developed by us. Its light weight application was developed using Nodejs, HTML, and javascript. It's a very helpful application to monitor running queries on MongoDB and do the analysis on it: ...
Data migration is a crucial process for modern organizations looking to harness the power of cloud-based storage and processing. The blog will examine the procedure for transferring information from MongoDB, a well-known NoSQL database, to Amazon S3, an elastic cloud storage solution leveraging PySpark. Moreover, we will focus on handling...
While building my backend NestJs application, I wanted to store some financial data. The first question I ran into was what schema Type should be for storing data where I want to maintain the data precision. Decimal128 came out to be the prescribed official candidate to store the financial data. Here’s my initial schema...
Mongoose is an object modelling package for Node that essentially works like an ORM for many popular languages much like Hibernate is for JAVA. Below are some of the mongoose special scenario(s) I stepped upon while working on the project. It took me some time to figure it out. Hopefully below details would prove helpful to you thereby...
Cloudfoundry: Open Source Platform as a Service A platform used for running applications and services. The purpose of cloudfoundry is to change the way apps and services are deployed and run by reducing the cycle time of development to deployment. Cloud Foundry directly takes benefits of cloud-based resources such that apps running...
MongoDB is an efficient, reliable and fast processing database for the applications which generate the data in a schema-free manner. For high-availability of data in MongoDB, we use MongoDB replicas. We generally face some issues in managing and syncing the cluster, which doesn’t let us achieve the full flavour of Mongo...
Recently, I got a chance to dockerize a traditional MongoDB replica set. Currently, I am doing it for QA and UAT environment where MongoDB replica set is setup on a single host. So, in this blog, we will do it on a single host using Docker Networking and Docker Compose. Scenario: Set up a MongoDB replica using version 3.0.5 set...
In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we'll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier use...
Scope This blog illustrates advantages of New Relic over different monitoring strategies and step by step method to configure new relic plugin for mongoDB. What is New Relic? New Relic is a SaaS model (Software as a service) that provides capabilities to monitor applications in real-time. Why I chose New Relic to monitor MongoDB...