Amazon Simpledb

BiswajeetDasmajumdar 1,200 views 33 slides Jul 11, 2016
Slide 1
Slide 1 of 33
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33

About This Presentation

A webservice for running queries on structured data in real-time.


Slide Content

Presented By
Biswajeet Dasmajumdar

Amazon SimpleDB is a hosted database as a service that
enables developers to store and query structured data items
via Web services requests.
SimpleDB is a key-value store that runs within the Amazon
Web Services (AWS) cloud.

What is Amazon SimpleDB cont...
Amazon SimpleDB
1. Requires no schema
2. Automatically indexes your data
3. API’s for storage and access.
This eliminates the
1. Administrative burden of data modeling
2.Index maintenance
3.Performance tuning

Traditional clustered relational database can do the work of
SimpleDB but
1. It requires a DBA to maintain and administer.
2. Brings more complexity
On the other hand Amazon simpleDB
1. Is easy to use
2. Provides real time lookup
3. Provides simple querying without any complexity
RDBMS vs SIMPLE DB

BASIC EXAMPLE

FEATURES

KEY -VALUE STRUCTURE

SIMPLE DB - DATA VIEW

Facts

Simple
Flexible
Scalable
Fast
Reliable
Inexpensive

CONS
Data integrity is not guaranteed
Inconsistency
Aggregate operations will require more coding
Complicated reports, and ad hoc queries require a lot more
coding.
Aggregate operations will be much slower.
Complex data schemas are not supported

ADVANTAGES
1.Optimized to provide high availability and flexibility, with little
or no administrative burden.
2.It creates and manages multiple geographically distributed
replicas of our data automatically to enable high availability and
data durability.
3.The service charges you only for the resources actually
consumed in storing your data and serving your requests.
4. Change your data model on the fly
5. Data is automatically indexed
6.Designed for use with other Amazon web services

Create an account (http://aws.amazon.com/)
click the “Sign up for This Web Service” button on the
Amazon SimpleDB detail page.
Get an Access Key and the Secret Key.
Access from “http://www.s3.amazonaws.com/bucket/key”
Within a few minutes, you will be able to create your
domain and begin storing and querying your data!

DATA

Range queries

Simple queries

Multiple attribute queries

sort

limit

Keywords

Netflix is the world’s leading Internet television network with
more than 48 million streaming members in more than 40
countries.
 It has successfully shifted its business model from DVDs by
mail to online media .

CASE STUDY( contd...)
Traditional relational database technologies were not built to
accommodate large volumes of data, neither from a cost-
effective perspective nor regarding the needs for continuous
availability and flexibility.
In 2010, Netflix began moving its data to Amazon Web Services
(AWS) to offer subscribers more flexibility across devices.

CASE STUDY( contd...)
Netflix decided to migrate from Cassandra to DataStax
Enterprise for its enterprise-level security and production.
About 95% of Netflix’s non-program data is stored in DataStax
Enterprise.
Includes customer account information, movie ratings,
bookmarks and logs, and viewing history services.
 

Case STUDY( contd...)
Performed immense amounts of customer viewing and log data to
improve subscribers’ searching and streaming experiences.
Multiple geographically dispersed data centers and processing
capacity.
Netflix decided to migrate its applications to Amazon’s AWS
cloud.
Netflix migrated core parts of its database from Oracle
to Amazon’s SimpleDB data store.
 Added customer value rather than nationwide data centers.

aws.amazon.com/simpledb/
https://s3.amazonaws.com/
Sdb php api http://thetalecrafter.wordpress.com/
s3 php api
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/
cloudfront/lib/S3.php?view=auto&revision=1.1
Oreilly Programming Amazon Web Services S3 EC2 SQS
FPS and SimpleDB Mar 2008
http://itsinthecloud.com/2008/04/22/overview-of-amazon-s3/
http://www.ryanpark.org/2008/04/top-10-avoid-the-simpledb-
hype.html

END OF SLIDES

QUESTIONS ???