2. • A content management system (CMS) is a system
used to manage the content of a Web site.
Typically, a CMS consists of two elements: the
content management application (CMA) and the
content delivery application (CDA).
Content Management Systems
• MongoDB (from "humongous") is an open-source
document database, and the leading NoSQL
database. No rigid schema like RDBMS but do
require data modeling
Mongo DB
3. Why Mongo DB
Do the Impossible. MongoDB can incorporate any type of data, no
matter what it looks like or where it comes from, while providing all the
features needed to build content-rich apps.
Scale Big. Scaling is built into the database. It is automatic and transparent. It
can scale as your audience grows, both within a datacenter and across regions.
This shouldn’t be hard, and with MongoDB, it isn’t.
$. More productive teams, plus commodity hardware, make your projects cost
10% what they would with a relational database.
4. How MongoDB makes CMS easier
New Data Types
• MongoDB’s JSON
document model and
rich query language
makes it easy to store
and search different
content types with
different attributes in a
single place. It also
make it simple to
represent complex,
hierarchical
relationships.
Global Audience
• MongoDB’s automatic
sharding distributes
data across fleets of
commodity servers
both within and across
data centers. With
multiple options for
scaling – including
range-based, hash-
based and location-
aware sharding –
MongoDB can support
thousands of nodes,
petabytes of data and
hundreds of thousands
of ops per second,
without requiring you to
build custom
partitioning and
caching layers.
Simplified
Architecture.
• Bring your content
assets into the
database with
MongoDB GridFS.
Eliminate
dependencies on your
file system. Eliminate
separate caching
layers. Wrap them into
the same security, HA
and scalability model
as the rest of your data
5. Content Management Use Cases
McAfee optimizes delivery of analytics and incremental updates in
MongoDB as binary packages for efficiently delivery to customers
Pearson stores student data in GridFS and leverages MongoDB’s
replication to distribute data and keep it synchronized across facilities.
Hospitals and other care-providing organizations want to centralize patient
record information to provide a single view of the patient making this information
more accessible .The central system improves the quality of the patient care as well as the efficiency.
6. Features useful for GCA
• Can replace Oracle as database. Schema less
design, lack of joins make database design faster
and easier but slightly tricky.
Replace
Oracle as
database
• Highly scalable (horizontal) and its very easy to
configure expiration of records. Highly fault
tolerant due to concepts of sharding and replica
sets. Easily handle billions of records.
Scalability and
fault tolerance
• Can use commodity hardware. Mongo DB can
run on Windows/Linux . GridFS is a very useful
feature which can replace file system. A single
block in GridFS can store a file of max size 16
MB
Use CAS as
storage
instead of NAS
7. Features useful for GCA
• Easily integrate with other open source projects
like Spring (development), Jasper Reports
(reporting) ,Pentaho (business intelligence) and
Apache Drill (for running SQL like queries)
Easy integration
with Reporting
and BI tools
• Client programming can be done in Java ,
Python or NodeJS
Integration with
clients in Java or
other language
• MongoDB enterprise edition comes with 24*365
support . Also has MongoDB Ops Manager for
monitoring nodes. All these for a nominal price
Ease of
deployment,
monitoring and
maintenance
8. An example use case
A typical patient health record repository includes general information about the patient
(name,
address, insurance provider, etc.) along with all various types of medical records (office
visits,
blood tests and labs, medical procedures, etc.)
Healthcare applications also manage large binary files such as radiology tests, x-ray and
MRI images, CAT
scans, or even legacy medical records created by scanning paper documents.
With MongoDB, there are a number of compelling reasons for storing the binary data in
the same
system as the rest of the information. They include:
The resulting application will have a simpler architecture: one system for all types of
data;
Document metadata can be expressed using the rich flexible document structure, and
documents can be retrieved using all the flexibility of MongoDB’s query language;
MongoDB’s high availability (replica sets) and scalability (sharding) infrastructure can
be leveraged for binary data as well as the structured data;
One consistent security model for authenticating and authorizing access to the
metadata and files;
GridFS doesn’t have the limitations of some filesystems, like number of documents
9. Companies using MongoDB based
CMS
Forbes first built a custom CMS on MongoDB in just two
months. Then they launched a brand new mobile site in
less than one month.
eBay: MongoDB for project Zoom, in which eBay stores all
media metadata for the site. .
Pearson :Learning management system in the
cloud, from e-books to identity and access management
CARFAX 10x more customers served after migrating
vehicle history database to MongoDB