Module 4.2 Distributed DB
Module 4.2 Distributed DB
Module 4
Cloud Computing
Amazon DynamoDB
2
Benefits of ADdb
3
Durable and highly available − Amazon DynamoDB
replicates data over at least 3 different data centers’
results. The system operates and serves data even
under various failure conditions.
4
Couch DB
5
Why Couch DB
6
Data Model
7
Document Storage
CouchDB is a document storage NoSQL database. It
provides the facility of storing documents with unique
names, and it also provides an API called RESTful HTTP API
for reading and updating (add, edit, delete) database
documents.
ACID Properties
CouchDB contains ACID properties as one of its features.
8
Compaction
Whenever the space in the database file got wasted
above certain extent, all the active data will be copied
(cloned) to a new file. When the copying process is
entirely done, then the old file will be discarded.
Views
Data in CouchDB is stored in semi-structured documents
that are flexible with individual implicit structures, but
it is a simple document model for data storage and
sharing. If we want see our data in many different ways,
we need a way to filter, organize and report on data that
hasn’t been decomposed into tables.
9
Thru DB
10
Thrudb contains two services
Thrudoc - Document storage service
Thrudex - Indexing and search service
Features
Multi-master replication
Built for horizontal scalability
Incremental backups and redo logging
Multiple storage back-end client libraries for most
languages
Simple and powerful search API
11
ThruDB provides web-scale data management by
providing these services:
12