Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights...
Transcript of Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights...
![Page 1: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/1.jpg)
![Page 2: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/2.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Using non-relational databases
Eric HeikkilaWorldwide Head of Non-Relational Databases, Business Development, AWS
![Page 3: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/3.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
![Page 4: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/4.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modern apps create new requirements
Users: 1 million+
Data volume: TB–PB–EB
Locality: Global
Performance: Milliseconds–microseconds
Request rate: Millions
Access: Web, mobile, IoT, devices
Scale: Up-down, out-in
Economics: Pay for what you use
Developer access: No assembly requiredSocial mediaRide hailing Media streaming Dating
![Page 5: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/5.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Relational
Referential
integrity, ACID
transactions,
schema-
on-write
Key-value
High-
throughput, low-
latency reads
and writes,
endless scale
Document
Store
documents and
quickly access
querying on
any attribute
In-memory
Query by key
with
microsecond
latency
Graph
Quickly and
easily create
and navigate
relationships
between
data
Time series
Collect, store,
and process
data sequenced
by time
Ledger
Complete,
immutable, and
verifiable history
of all changes to
application data
Common data models
![Page 6: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/6.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Work backward from the problem
you are trying to solve
Choose the right tool for each job
![Page 7: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/7.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key-value
Key-value
![Page 8: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/8.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key-value data model
• Simple key-value pairs
• Partitioned by keys
• Resilient to failure
• High-throughput, low-latency reads and writes
• Consistent performance at scale
Gamers
Primary Key Attributes
GamerTag Level Points HighScore Plays
Hammer57 21 4050 483610 1722
FluffyDuffy 5 1123 10863 43
…
Gamers
Hammer57
21
4050,
483610,
1722
![Page 9: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/9.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common key-value use cases
• User profiles
• User events,
clickstream,
impressions
• Metadata for assets
• Popular items
Advertising Technology
• Shopping cart
• Workflow engine
• Inventory tracking and
fulfillment
• Customer profiles,
accounts
• Coupon redemption
• Competitive pricing
intelligence, supply
chain optimization
Retail
• User transactions
• Event-driven
transaction
processing, fraud
detection
• Mainframe
offloading— change
data capture
Financial Services
![Page 10: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/10.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common key-value use cases
• Game state, player
data store
• Player session history
data store
Gaming
• Media metadata store
• User data store
• Digital rights
management data
store
Media & Entertainment
• User content
metadata store
• Relationship graph
data store
• Metadata cache
• User, vehicle, driver
data store
• User vocabulary data
store
Software & Internet
![Page 11: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/11.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Document
Document
![Page 12: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/12.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common document use cases
• User requests done in
JSON format
Mobile & web
applications
• Shopping sites
• Online publications
• Digital archives
• Point of sale terminals
or self-service kiosks
that give JSON format
Content & catalog
management
• Online transactions
• User preferences
• User authentication
Profile
management
![Page 13: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/13.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
In-memory
In-memory
![Page 14: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/14.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common in-memory use cases
• Database
caching
• Chat &
messaging
• Gaming
leaderboards
• Geospatial • Machine
learning
• Media
streaming
• Queues • Real-time
analytics• Session store
![Page 15: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/15.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Graph
Graph
![Page 16: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/16.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common graph use cases
Social
networking
Life
sciences
Network & IT
operations
Fraud
detection
Recommendations Knowledge
graphs
![Page 17: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/17.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Time series
Time series
![Page 18: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/18.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common time series use cases
• DevOps • IoT applications
• Application
monitoring
• Industrial
telemetry
![Page 19: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/19.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ledger
Ledger
![Page 20: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/20.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common ledger database use cases
• Finance • Manufacturing • Insurance
• HR & payroll • Retail & supply
chain
![Page 21: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/21.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Search
Search
![Page 22: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/22.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common Search Database Use Cases
• Log analytics • Real-time
application
monitoring
• Security analytics
• Full text search • Clickstream
analytics
![Page 23: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/23.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS purpose-built databases
Relational
Referential
integrity, ACID
transactions,
schema-
on-write
Lift and shift, ERP,
CRM, finance
Key-value
High-throughput,
low-latency reads
and writes, endless
scale
Real-time bidding,
shopping cart,
social, product
catalog, customer
preferences
Document
Store documents
and quickly
access querying
on any attribute
Content
management,
personalization,
mobile
In-memory
Query by key
with microsecond
latency
Leaderboards,
real-time analytics,
caching
Graph
Quickly and
easily create and
navigate
relationships
between
data
Fraud detection,
social networking,
recommendation
engine
Time series
Collect, store,
and process data
sequenced by
time
IoT applications,
event tracking
Ledger
Complete,
immutable, and
verifiable history of
all changes to
application data
Systems
of record, supply
chain, health care,
registrations,
financial
Amazon Aurora
Amazon RDS
Amazon
DynamoDB
Amazon
DocumentDB
Amazon
ElastiCache
Amazon
Neptune
Amazon
Timestream
Amazon
QLDB
![Page 24: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/24.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Learn from AWS experts. Advance your skills and knowledge. Build your future in the AWS Cloud.
Digital Training
Free, self-paced online
courses built by AWS
experts
Classroom Training
Classes taught by accredited
AWS instructors
AWS Certification
Exams to validate expertise
with an industry-recognized
credential
Ready to begin building your cloud skills?
Get started at: https://www.aws.training/
![Page 25: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/25.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
APN Partners with deep expertise in
AWS services:
Find the right APN Partner for your needs: https://aws.amazon.com/partners/find/
AWS Service Delivery Partners
APN Partners with a track record of delivering
specific AWS services to customers
AWS Managed Service Provider (MSP)
Partners
APN Partners with cloud infrastructure and
application migration expertise
AWS Competency Partners
APN Partners with verified, vetted, and validated
specialized offerings
Why work with an APN Partner?
APN Partners are uniquely positioned to help your organization at any stage of your cloud adoption journey, and they:
• Share your goals—focused on your success
• Help you take full advantage of all the business benefits that AWS has to offer
• Provide services and solutions to support any AWS use case across your full customer life cycle
![Page 26: Using non-relational databases...© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.](https://reader030.fdocuments.in/reader030/viewer/2022040901/5e710f8dd14576256e61a0c2/html5/thumbnails/26.jpg)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you for attending AWS Innovate
We hope you found it interesting! A kind reminder to complete the survey.
Let us know what you thought of today’s event and how we can improve the event
experience for you in the future.
twitter.com/AWSCloud
facebook.com/AmazonWebServices
youtube.com/user/AmazonWebServices
slideshare.net/AmazonWebServices
twitch.tv/aws