MongoDB

person holding pen pointing at graph

Axon Framework: Event Sourcing with MongoDB

Reading Time: 4 minutes If you want to build Microservices, You may prefer Axon, a Java-based framework. It provides utility to implement CQRS (Command Query Responsibility Segregation), Event Sourcing, and DDD (Domain Driven Design) architectural patterns while developing a software application. Axon facilitates the implementation of Command Handling, Event Routing, Event Sourcing, Snapshotting, and many more building blocks. It has very friendly APIs to use these implementations and build Continue Reading

Creating RESTful API using SpringBoot and MongoDB

Reading Time: 3 minutes In this blog, we are going to create RESTful APIs using spring boot and containerized MongoDB. What are RESTful API, SpringBoot, and Containerized MongoDB In this section, we will go through the term’s REST API, SpringBoot, and Containerized MongoDB RESTful API A REST API (also known as RESTful API) is an application programming interface that conforms to the constraints of REST architecture. REST stands for Continue Reading

Kafka connector with MongoDB

Reading Time: 3 minutes The MongoDB Kafka connector is a Confluent-verified connector that persists data from Kafka topics as a data sink into MongoDB as well as publishes changes from MongoDB into Kafka topics as a data source. Apache Kafka The Apache Kafka is an open-source publish/subscribe messaging system. Apache Kafka provides a flexible, fault tolerant, and horizontally scalable system to move data throughout datastores and applications. A system is fault tolerant if the Continue Reading

liquibase

How to use Liquibase with MongoDB?

Reading Time: 2 minutes Hey, tech geeks, so today we’ll be looking into how we can use Liquibase with MongoDB so that we can create a Liquibase project. So Liquibase is an open-source library that is used to track, manage and apply database schemas. It is an independent library. Installing Liquibase on Linux For installing Liquibase, Go to the official page of Liquibase to download that tar package. After Continue Reading

Why mongoDB ??

Reading Time: 4 minutes Hi readers, In this blog, Initially we will learn about the mongoDB database, The architecture of mongoDB, the working of mongoDB and , why we should use mongoDB. At the end of this blog, we will compare mongoDB with other common databases so let’s get started. We all have been working on traditional SQL databases for a long time but with time, Data is also Continue Reading

Getting Started – Spring Boot with MongoDB

Reading Time: 6 minutes Spring Boot with MongoDB Topics to cover in Spring Boot and MongoDB In this blog we are going to see the beginning basics of what Spring Boot is? Ways to create Spring Boot Application? What is MongoDB? How to install MongoDB in Ubuntu? How to connect Spring Boot with MongoDB in Ubuntu? Let’s dive right in… What is Spring Boot? Spring Boot is a module Continue Reading

Introduction to MongoDB with Java

Reading Time: 3 minutes We now live in a data driven world where we are generating so much data that it becomes difficult to manage this data using databases. There are different databases available for different use cases. For a long time Relational databases were used for most of the uses cases, but as the technology advanced and modern applications came which need more scalability and variety came into 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

How Scala interacts with MongoDB

Reading Time: 2 minutes As a definition, MongoDB is an open source database that uses a document-oriented data model and a non-structured query language. It is one of the most powerful NoSQL systems and databases around today. Being a NoSQL tool means it does not use the usual rows and columns that we so much associated with the relational database management. It is an architecture that is built on 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

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

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