How Aadhar is using MongoDB
Lets take a look at some of the features of MongoDB before discussing about its Industrial use-cases.
MongoDB is one of the most popular open-source NoSQL database written in C++. As of February 2015, MongoDB is the fourth most popular database management system. It was developed by a company 10gen which is now known as MongoDB Inc.
- MongoDB is a document-oriented database stores data in flexible, JSON-like documents, meaning fields can vary from document to document and data structure can be changed over time
- The document model maps to the objects in your application code, making data easy to work with
- Ad hoc queries, indexing, and real time aggregation provide powerful ways to access and analyze your data
- MongoDB is a distributed database at its core, so high availability, horizontal scaling, and geographic distribution are built in and easy to use
- MongoDB is free to use. Versions released prior to October 16, 2018 are published under the AGPL. All versions released after October 16, 2018, including patch fixes for prior versions, are published under the Server Side Public License (SSPL) v1.
The architecture of MongoDB NoSQL Database
Database: In simple words, it can be called the physical container for data. Each of the databases has its own set of files on the file system with multiple databases existing on a single MongoDB server.
Collection: A group of database documents can be called a collection. The RDBMS equivalent to a collection is a table. The entire collection exists within a single database. There are no schemas when it comes to collections. Inside the collection, various documents can have varied fields, but mostly the documents within a collection are meant for the same purpose or for serving the same end goal.
Document: A set of key-value pairs can be designated as a document. Documents are associated with dynamic schemas. The benefit of having dynamic schemas is that a document in a single collection does not have to possess the same structure or fields. Also, the common fields in a collection document can have varied types of data.
How MongoDB Stores Data?
As you know, RDMS stores data in tables format and uses structured query language (SQL) to query database. RDBMS also has pre-defined database schema based on the requirements and a set of rules to define the relationships between fields in tables.
But MongoDB stores data in documents in-spite of tables. You can change the structure of records (which is called as documents in MongoDB) simply by adding new fields or deleting existing ones. This ability of MongoDB help you to represent hierarchical relationships, to store arrays, and other more complex structures easily. MongoDB provides high performance, high availability, easy scalability and out-of-the-box replication and auto-sharding.
Where can you use the MongoDB NoSQL database?
The MongoDB NoSQL database can be extensively used for Big Data and Hadoop applications for working with humongous amounts of NoSQL data that is a major portion of Big Data. MongoDB and SQL are all database systems, but what sets them apart is their efficiency in today’s world. MongoDB can also be successfully deployed for social media and mobile applications for parsing all streaming information which is in the unstructured format. Content management and delivery also see extensive use for the MongoDB NoSQL database. Other domains are user data management and data hubs.
Difference between MongoDB & RDBMS
Below are some of the key term differences between MongoDB and RDBMS
How Aadhar Project is using MongoDB
Aadhaar is a 12-digit unique identity number that can be obtained voluntarily by citizens of India, non-residents passport holders of India and resident foreign nationals who have spent over 182 days in twelve months immediately preceding the date of application for enrolment, based on their biometric and demographic data. The data is collected by the Unique Identification Authority of India (UIDAI), a statutory authority established in January 2009 by the government of India, under the jurisdiction of the Ministry of Electronics and Information Technology, following the provisions of the Aadhaar Act, 2016.
As Aadhaar continues to enroll thousands of Indians each day and add terabytes of data to its Central Identity Data Repository, MongoDB and other data management and analytics software providers continue to produce insights that will aid Aadhaar and the lives of millions of India’s BoP citizens.
MongoDB is an example of a startup company that leverages its expertise in data management, processing, and analytics to provide services to UIDAI’s Aadhaar program across the fifth and sixth stages of Aadhaar’s value chain.
First, MongoDB increases database efficiency with its NoSQL approach, which enables Aadhaar to capture, process, search, and analyze large unstructured datasets faster than most other management software would allow.
Second, MongoDB can efficiently store large volumes of biometric data and images, whereas many other management systems, such as MySQL, are less suited for image storage.
Third, Aadhaar’s data processing analytics cannot depend solely on a single software supplier. As a result, UIDAI diversified its systems reliance across multiple vendors and leverages each vendor’s strengths.
Aadhaar has therefore been less dependent on MongoDB and has decided to share more of the data processing volume with its other management vendors.
MongoDB’s partnership with Aadhaar makes sense financially as well as strategically to prove to potential customers that they can handle even the largest of data sets such as those housed in Aadhaar’s Central Identity Data Repository (CIDR). With strong momentum and promotions from its current customers, market leadership of approximately 3x over its closest (NoSQL-based) competitor, and investments from some of the world’s most successful venture capital firms and technology companies, MongoDB is positioned to succeed in the coming years as it continues to support Aadhaar, the program’s profound efforts, and future startup companies founded on Aadhaar’s data.
Thank You!
Keep Learning & Sharing…
If this article is useful for you then don’t forget to press the clap 👏 icon and also follow me for more such amazing articles.