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

AWS

Mongo Monitoring Service to ensure uptime of MongoDB

Mongo Monitoring Service(MMS) is a service that ensures that the MongoDB is up and running and can alert us when the service is stopped/restarted.It can be run on an on-premise architecture or in the cloud like AWS. Use Case We have multiple servers running MongoDB service and they are present in different environments as Production,...

by Ankit Giri
Tag: MongoDB
30-Jun-2015

Technology

A use case and implementation of MongoDB Aggregation queries.

In any DBMS, aggregations are operations that process data records and return computed results. MongoDB provides a rich set of aggregation operations that examine and perform calculations on the data sets. Running data aggregation on the mongod instance simplifies application code and limits resource requirements. In my current...

by Manish Kapoor
Tag: MongoDB
08-Jun-2015

Node.js

High performance find query using lean() in mongoose

Lets start with a basic find query in mongoose and observe its execution time. [js] Event.find({'schedule.closing': {'$gte': +new Date()}}, {}, {limit:20, skip:0} ).exec(function (err, events){ ........ ........ } ); [/js] In my last project on Nodejs, I have used the above query to fetch the events...

by Sakshi Tyagi
Tag: MongoDB
13-Feb-2015

Technology

A level ahead with text search in mongoDb

In our previous post, we saw how simply we could use the free text search feature from MongoDB. In continuation to that, in this post we would be looking at how can we create multiple text indexes and understand how actually the things work. Document Scoring MongoDB assigns a score to each of the document that contains the search term...

by Sakshi Tyagi
Tag: MongoDB
11-Jul-2014