MongoDB

How to Implement WordPress using Helm Chart on Kubernetes

Reading Time: 5 minutes Hey readers, In this blog, we are going to install WordPress with MariaDB using the Helm Charts on Kubernetes cluster. With this installation, we are going to see – How we can upgrade as well as rollback the Helm Chart release of WordPress. This complete setup inherited the benefits of the Kubernetes .i.e. scalability and availability. Prerequisites: Before we start there are certain minimum setup requirements Continue Reading

Merge collections in MongoDB Version Less than 4.2 (or Amazon DocumentDB)

Reading Time: 4 minutes Using MongoDB (a document database designed for ease of development and scaling) with the older version or using Amazon DocumentDB (a scalable, highly durable, and fully managed database service for operating mission-critical MongoDB workloads compatible with MongoDB version 3.6 and version 4.0), they have some limited features and one of the limitation of using them is that they don’t allow the direct merge of two Continue Reading

Indexes in MongoDB

Reading Time: 4 minutes In any database, indexes in MongoDB support the efficient execution of queries. Without them, the database must scan every document in a collection or table to select those that match the query statement. If an appropriate index exists for a query, the database can use the index to limit the number of documents it must inspect. Keypoints for Indexing As you create indexes, consider the Continue Reading

How to Analyze query performance in MongoDB

Reading Time: 2 minutes Analyze query performance in mongodb may became complicated if we do not really know which part should be measured. Fortunately, MongoDB provides very handy tool which can be used to evaluate query performance: explain(“executionStats”). This tool provide us some general measurements such as number of examined document and execution time that can be used to do statistical analysis. The Database and Collection In this easy tutorial, Continue Reading

Can we do joins in MongoDB?

Reading Time: 3 minutes MongoDB is a NoSQL document database designed for ease of development and scaling. The best part about using a relational DBMS is that we can perform a wide range of relational queries on it. Doing joins on different tables is very easy. But, when we talk about MongoDB, the way data is stored here is quite different from any relational DBMS. How data is Stored Continue Reading

MEAN STACK: Installation (Part 2)

Reading Time: 3 minutes In the previous blog MEAN Stack: Introduction – Part 1, I have given a brief introduction of MEAN Stack and all the technologies used in it. In this blog, I’ll be discussing the installation of all the technologies one by one for Ubuntu. MongoDB: MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling. The installation of MongoDB Community Edition Continue Reading

MEAN Stack: Introduction – Part 1

Reading Time: 2 minutes MEAN Stands for M – Mongo DB (database system) E – Express (back-end framework) A – Angular.js (front-end framework) N – Node.js (back-end runtime environment) What is MEAN? MEAN is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications. The stack used in mean is: Mongo DB: Mongo DB is an open-source, document database designed for ease of development and scaling. It is Continue Reading

MongoDB vs RDBMS and it’s Advantages

Reading Time: 5 minutes In this blog, I will introduce you with the MongoDB and will draw a comparison with RDBMS and highlight its advantages over the later. MongoDB is a No SQL database.  It is an open-source, cross-platform, document-oriented database written in C++. MongoDB is developed by the company named 10gen. They define MongoDB as: “Mongo DB is scalable, open source, high performance, document-oriented database.” Why MongoDB? In this section, we will Continue Reading

Getting started with MongoDB

Reading Time: 3 minutes Hi everyone! in this blog, I will try to explain what is MongoDB and why to use MongoDB What is MongoDB? MongoDB is one of the powerful NoSql DataBase. It does not use the usual rows and columns that we are so much associated with the relational database management. It is an architecture that is built on collections and documents. This database uses a document Continue Reading

CRUD in NodeJs with MongoDB: Explanations

Reading Time: 3 minutes Here we are, in this post we are going to create a CRUD application in NodeJs with mongoDB as database and ejs as a templating engine. You can download the application from here: github Before diving in to this post please checkout my previous post, then you will get to know why i choose ejs as a templating engine. In next post we will use Continue Reading

ReactiveMongo

On the go with ReactiveMongo

Reading Time: 3 minutes Hi Guys, In today’s blog we’ll be discussing about ReactiveMongo. It is a Scala driver that provides fully non-blocking and asynchronous I/O operation. It is designed to avoid any kind of blocking request to your database. Every operation returns immediately, freeing the running thread and resuming execution when it is over. Before starting using reactive mongo, one should have an understanding about mongoDb. So let’s Continue Reading

Akka Persistence using MongoDB – Part I

Reading Time: 3 minutes Akka is a powerful actor based tool kit for Concurrency, Parallelism and Clustering. But for every concurrent applications, Akka actors are not fit because Futures are another alternative for performing Concurrency. Most of the developers follow simple rules for using Future and Actors is “Futures for Concurrency, Actors for State“. In concurrent applications most of the time we are facing race conditions and deadlocks. Because Continue Reading

Templating in NodeJs with simple signup example with MongoDB

Reading Time: 3 minutes In this blog we will see the comparison of different NodeJs templating engines as well as we will go through the basics of NodeJs then we will create a signup application in NodeJs with MongoDB as backend. If you are starting with NodeJs from this blog post, you are right place, when i started NodeJs previous week and tried some examples i got into the Continue Reading