Java/JVM

Sharding: Distributing Data Across Multiple Machines with Spring Boot and MongoDB

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...

by Vikash Rai
Tag: MongoDB
25-Sep-2024

Java/JVM

MongoDB: Getting Started with MongoDB Atlas Search

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...

by Ankit
Tag: MongoDB
25-Sep-2024

JS

Should You Choose AWS DynamoDB for Your Next Project?

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...

by Ayush Jha
Tag: MongoDB
16-Sep-2024

Database Administration

Mongo Monitor : Mongo Current Operations monitoring by lite application

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: ...

by Akshay Prakash Chikane
Tag: MongoDB
23-Aug-2024

Big Data, Data & Analytics

Efficient Data Migration from MongoDB to S3 using PySpark

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...

by Bishal Kumar Singh
Tag: MongoDB
18-Sep-2023

MEAN, Node.js

Simple way to handle monetary data in MongoDB in a NestJs application

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...

by Shivang Chaturvedi
Tag: MongoDB
19-Aug-2023

Java/JVM, Node.js

MONGOOSE Tips and Tricks for Uncommon Cases

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...

by Rachit Jain
Tag: MongoDB
27-Jun-2017

Agile, AWS

CloudFoundry PaaS – Introduction

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...

by Deepak Bansal
Tag: MongoDB
27-Jul-2016

AWS, DevOps

Troubleshooting MongoDB Replication Cluster

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...

by Tarun Saxena
Tag: MongoDB
01-Jul-2016

DevOps

MongoDB Replica set using Docker Networking and Docker Compose

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...

by Navjot Singh
Tag: MongoDB
16-Dec-2015

Technology

How to deploy MongoDB Docker Containers using Chef

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...

by Neeraj Gupta
Tag: MongoDB
10-Oct-2015

Technology

Monitoring MongoDB using New Relic

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...

by Naina Motwani
Tag: MongoDB
31-Aug-2015