SlideShare uma empresa Scribd logo
1 de 52
Baixar para ler offline
Jayson,
Solutions Architect, AWS
Databases on AWS
Purpose-built databases,
the right tool for the right job
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2
User Interface
Business Layer
Data Interface
Relational DB
單體式架構 微服務架構
Microservices UI
Microservices
Microservices
Microservices Microservices
Relational DB Key-Value DB In-Memory DB
隨著時代演進,系統架構也不斷優化
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2007年,GILT的單體架構
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2016年,GILT在AWS上的微服務架構
参考:
https://www.slideshare.net/AmazonWebServices/aws-reinvent-2016-from-monolithic-to-microservices-evolving-architecture-patterns-in-the-cloud-arc305
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Because we heard X is the best new thing.”
“Because we have a site license for X.”
“Because X is what we know how to use.”
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Because this database is purpose built to support
what my application is designed to do.”
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Lift and shift” existing
apps to the cloud
原有應用程式搬遷
Quickly build new
apps in the cloud
建置新應用程式或
重構既有應用程式
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Lift and shift” existing
apps to the cloud
原有應用程式搬遷
Quickly build new
apps in the cloud
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Traditional Application Requirements
Users: 10–100k
Data volume: GB–TB
Locality: HQ
Performance: Seconds
Request Rate: Tens of thousands
Access: Internal servers, PCs
Scale: Up
Economics: Pay up front
Developer Access: Days/weeks/months
HR Payroll …
CRM ERP
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
MySQL and PostgreSQL-compatible relational database built for the cloud
Performance and availability of commercial-grade databases at 1/10th the cost
Performance
and scalability
Availability
and durability
Highly secure Fully managed
5x throughput of standard
MySQL and 3x of standard
PostgreSQL; scale-out up to
15 read replicas
Fault-tolerant, self-healing
storage; six copies of data
across three Availability Zones;
continuous backup to Amazon
S3
Network isolation,
encryption at
rest/transit
Managed by RDS:
No hardware provisioning,
software patching, setup,
configuration, or backups
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Relational Database Service (RDS)
Managed relational database service with a choice of six popular database engines
Easy to administer Available and durable Highly scalable Fast and secure
No need for infrastructure
provisioning, installing, and
maintaining DB software
Automatic Multi-AZ data
replication; automated backup,
snapshots, failover
Scale database
compute and storage
with a few clicks with
no app downtime
SSD storage and
guaranteed provisioned
I/O; data encryption at rest
and in transit
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Migration Service (AWS DMS)
M I G R A T I N G
D A T A B A S E S
T O A W S
Migrate between on-premises and AWS
Migrate between databases
Automated schema conversion
Data replication for
zero-downtime migration
100,000+
databases migrated
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Lift and shift” existing
apps to the cloud
Quickly build new
apps in the cloud
建置新應用程式或
重構既有應用程式
© 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
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common data categories and use cases
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
Aurora, RDS DynamoDB DocumentDB ElastiCache Neptune Timestream QLDB
AWS
Service(s)
Common
Use Cases
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. Relational
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Relational
Referential
integrity, ACID
transactions,
schema-on-
write
Lift and shift, ERP,
CRM, finance
time Joe Larry
1 $100 $1000
2 +$1000 -$1000
3 $1100 $0
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Relational
Customer
name
notify_phone
type
PK
Shipments
date_shipped
state
PK
Customer Addresses
address_id
customer_id
label
street
City
Postal_code
PK
Line_item
order_id
shipment_id
cost
PK
Order
customer_id
time_ordered
complete
ship_date
order_total
tax
shipping
PK
Products
product_id
sku
inventory
name
description
PK
FK
FK
FK
FK
FK
FK
customer_id
order_id
customer_id
line_item_id
product_id
order_id
Referential
integrity, ACID
transactions,
schema-on-
write
Lift and shift, ERP,
CRM, finance
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. Key-value
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Key-value
Table
1
Table 2 Table N
…
…
…
… … …
Partitions Partitions Partitions
… …
…
Highly partitionable data
Low-latency,
key look-ups
with high
throughput and
fast ingestion
of data
Real-time bidding,
shopping cart, IoT
device tracking
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Key-value
Low-latency,
key look-ups
with high
throughput and
fast ingestion
of data
Real-time bidding,
shopping cart, IoT
device tracking
key
value
Table
“People”
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon DynamoDB
Fast and flexible NoSQL database service for any scale
Handles millions of requests per
second
Delivers microsecond latency
Automated global replication
ACID transactions
Encryption at rest
On-demand backup and restore
Maintenance free
Auto scaling
On-demand capacity mode
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Netflix uses DynamoDB as a massive-
scale metadata store for A/B testing
Netflix selected DynamoDB for
operational resiliency:
• Operate their DynamoDB metadata store
across multiple AWS Regions
Selected DynamoDB to handle Netflix
scale:
• Netflix runs hundreds of A/B tests at any
given time and DynamoDB can handle that
scaling up and down
• Across millions of user accounts
Selected DynamoDB for performance:
• Netflix requires low latency across millions
of JSON documents
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Profile, match, and swipe data
25 TB data, 20 billion matches,
190 countries
Migrated from MongoDB to
DynamoDB
• 60 percent cost savings
“DynamoDB helps us achieve greater
developer efficiency…at a lower cost.”
—Jun-young Kwak
Tinder
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. Document
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Document
(client) (app) (database)
JSON !JSON
!=
Indexing and
storing
documents with
support
for query on
any attribute
Content management,
personalization,
mobile
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Document
{id: 34,
name: larry,
url: ‘www.aws.amazon.com”,
attributes:
[{
project: alpha,
location: kumo floor 5,
team: [{id: 3}, {id: 1}]
}]
}
Indexing and
storing
documents with
support
for query on
any attribute
Content management,
personalization,
mobile
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4. In-memory
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Microseconds
latency,
key-based
queries, and
specialized
data structures
Leaderboards, real-
time analytics, caching
(Leaderboard)
Microseconds
are now the new
milliseconds
In-memory
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database
Memory
(Buffer pool)
Disk
Query processor
Get/Put APIs
Memory
Milliseconds to microseconds (10x faster)
Storage Engine
Microseconds
latency,
key-based
queries, and
specialized
data structures
Leaderboards, real-
time analytics, caching
In-memory
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introducing Amazon ElastiCache
Fully-managed, Redis or Memcached compatible, low-latency, in-memory data store
Fully
Managed
Extreme
Performance
Easily
Scalable
AWS manages all
hardware and software
setup, configuration,
monitoring
In-memory data store and
cache for sub-millisecond
response times
Read scaling with
replicas. Write and memory
scaling with sharding.
Non disruptive scaling
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS and ElastiCache are Behind Grab’s
Taxi-Booking App
Grab is a popular taxi hailing app in
southeast Asia.
Average response time of the API layer is
<40ms, mandating an in-memory layer to
achieve such performance.
A small devops team that tried running
Redis on EC2 before, but that was too much
work. Using both RDS and ElastiCache in
Multi-AZ allowed them to outsource all the
management to AWS.
The latency of a cab call must be low, and remain low
even in times of peak traffic of hundreds of thousands
of cab requests per minute. We use ElastiCache for
Redis in front of RDS MySQL to keep our systems’
real time performance at any scale.”
–Ryan Ooi
Sr. Devops Engineer, Grab
“
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
5. Graph
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Graph
Creating and
navigating
relations
between data
easily
and quickly
Fraud detection, social
networking,
recommendation
engine
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Graph
Creating and
navigating
relations
between data
easily
and quickly
Fraud detection, social
networking,
recommendation
engine
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Graph use case
// Product recommendation to a user
gremlin> V().has(‘name’,’sara’).as(‘customer’).out(‘follows’).in(‘follows’).out(‘purchased’)
( (‘customer’)).dedup() (‘name’) ('name')
PURCHASED PURCHASED
FOLLOWS
PURCHASED
KNOWS
PRODUCT
SPORT
FOLLOWS
FOLLOWS
// Identify a friend in common and
make a recommendation
gremlin> g.V().has('name','mary').as(‘start’).
both('knows').both('knows’).
where(neq(‘start’)).
dedup().by('name').properties('name')
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FAST RELIABLEOPEN
Query billions of
relationships with
millisecond latency
6 replicas of your data
across 3 AZs with full
backup and restore
Build powerful
queries easily with
Gremlin and SPARQL
Supports Apache
TinkerPop & W3C
RDF graph models
EASY
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
6. Time-Series
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application
events
IoT Sensor
Readings
DevOps data
Humidity
% WATER VAPOR
91.094.086.093.0
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Existing time-series databasesRelational databases
Difficult to
maintain high
availability
Difficult to
scale
Limited data
lifecycle
management
Inefficient
time-series data
processing
Unnatural for
time-series
data
Rigid schema
inflexible for fast
moving time-
series data
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1,000x faster and 1/10th
the cost of relational
databases
Collect data at the rate of
millions of inserts per
second (10M/second)
Trillions of
daily events
Adaptive query processing
engine maintains steady,
predictable performance
Time-series
analytics
Built-in functions for
interpolation, smoothing,
and approximation
Serverless
Automated setup,
configuration, server
provisioning, software
patching
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
7. Ledger
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenges with building ledgers
Adds unnecessary
complexity
BlockchainRDBMS - audit tables
Difficult to
maintain
Hard to use
and slow
Hard to build
Custom audit functionality using
triggers or stored procedures
Impossible to verify
No way to verify changes
made to data by sys admins
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ledger database concepts
C | H
J Journal
C |
H
Current | History
Current | History
Journal
Ledger comprises
J
L
Ledger databaseL
Journal determines Current | History
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ID Manufacture
r
Model Year VIN Owner
ID Versio
n
Start End Manufactur
er
Model Year VIN Owner
How it works
ID Manufacture
r
Model Year VIN Owner
1 Tesla Model S 201
2
12345678
9
Traci Russell
INSERT INTO cars <<
{ 'Manufacturer': 'Tesla',
'Model': 'Model S',
'Year': '2012',
'VIN': '123456789',
'Owner': 'Traci Russel' }
>>
FROM cars WHERE VIN = '123456789' UPDATE owner = 'Ronnie Nash'FROM cars WHERE VIN = '123456789' UPDATE owner = 'Elmer Hubbard'
J
ID Versio
n
Start End Manufactur
er
Model Year VIN Owner
1 1 07/16/201
2
NULL Tesla Model S 201
2
12345678
9
Traci Russell
current.cars
C
history.cars
H ID Versio
n
Start End Manufactur
er
Model Year VIN Owner
1 1 07/16/201
2
08/03/201
3
Tesla Model S 201
2
12345678
9
Traci Russell
1 2 08/03/201
3
NULL Tesla Model S 201
2
12345678
9
Ronnie Nash
ID Versio
n
Start End Manufactur
er
Model Year VIN Owner
1 1 07/16/201
2
08/03/201
3
Tesla Model S 201
2
12345678
9
Traci Russell
1 2 08/03/201
3
09/02/201
6
Tesla Model S 201
2
12345678
9
Ronnie Nash
1 3 09/02/201
6
NULL Tesla Model S 201
2
12345678
9
Elmer Hubbard
ID Manufacture
r
Model Year VIN Owner
1 Tesla Model S 201
2
12345678
9
Ronnie Nash
ID Manufacture
r
Model Year VIN Owner
1 Tesla Model S 201
2
12345678
9
Elmer Hubbard
INSERT cars
ID:1
Manufacturer: Tesla
Model: Model S
Year: 2012
VIN: 123456789
Owner: Traci Russell
Metadata: {
Date:07/16/2012
}
H (x) UPDATE cars
ID:1
Owner: Ronnie Nash
Metadata: {
Date:08/03/2013
}
H (x) UPDATE cars
ID:1
Owner: Elmer Hubbard
Metadata: {
Date: 09/02/2016
}
H (x)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Quantum Ledger Database (QLDB) (Preview)
Fully managed ledger database
Track and verify history of all changes made to your application’s data
Immutable
Maintains a sequenced record
of all changes to your data,
which cannot be deleted or
modified; you have the ability
to query and analyze the full
history
Cryptographically
verifiable
Uses cryptography to
generate a secure
output file of your
data’s history
Easy to use
Easy to use, letting you
use familiar database
capabilities like SQL APIs
for querying the data
Highly scalable
Executes 2–3X as many
transactions than ledgers
in common blockchain
frameworks
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
???
???
這麼多資料庫類型到底要怎麼選?!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The Iron Triangle of Data - All About CAP
C
A
PConsistency:
all clients always
have the same view
of data
Partition tolerance:
the system works well despite
physical network partitions
Availability:
all clients can always
read and write
CA
MSSQL
Oracle
DB2
MySQL
Aster Data
Greenplum
Postgres
CP
Big Table
Hypertable
HBase
MongoDB
Terastore
Couchbase
Scalaris
DynamoDB
BerkeleyDB
Memcached
Redis
Pick Two
AP
Voldemort
Tokyo Cabinet
KAI
DynamoDB
Cassandra
SimpleDB
CouchDB
Riak
Data Models:
Relational
Wide Column
Document
Key/Value
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infinite Scale:
The database can gracefully increase
size and throughput without practical
limits
The Iron Triangle of Purpose (The PIE Theorem)
I
P
E Efficiency:
The database will deliver required
query latency for the workload at all
times
Pattern Flexibility:
The database supports random access
patterns and ad hoc queries
PI
Amazon RDS
Elasticsearch
Aurora Serverless
Neptune
IE
Pick Two
PE
Data Models:
Relational
Wide Column
Document
Graph
Columnar
Unstructured
Amazon DynamoDB
Document DB (Mongo)
Amazon Redshift
Athena
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Airbnb uses different databases based
on the purpose
User search history: Amazon DynamoDB
• Massive data volume
• Need quick lookups for personalized search
Session state: Amazon ElastiCache
• In-memory store for submillisecond site rendering
Relational data: Amazon RDS
• Referential integrity
• Primary transactional database
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
反向思考 - 你要解決的問題是什麼?
Choose the right tool for each job
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!

Mais conteúdo relacionado

Mais procurados

No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ...
 No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ... No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ...
No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ...AWS Summits
 
新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移Amazon Web Services
 
Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018
Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018
Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018Amazon Web Services
 
以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構Amazon Web Services
 
Serverless Extract-transform-load (ETL) on AWS Webinar
Serverless Extract-transform-load (ETL) on AWS WebinarServerless Extract-transform-load (ETL) on AWS Webinar
Serverless Extract-transform-load (ETL) on AWS WebinarAmazon Web Services
 
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...Amazon Web Services
 
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019Amazon Web Services
 
Building-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWSBuilding-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWSAmazon Web Services
 
Migrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWSMigrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWSAmazon Web Services
 
Building Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS Summit
Building Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS SummitBuilding Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS Summit
Building Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS SummitAmazon Web Services
 
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Summits
 
Virtual_Insurers_New_Tools_For_A_New_World
Virtual_Insurers_New_Tools_For_A_New_WorldVirtual_Insurers_New_Tools_For_A_New_World
Virtual_Insurers_New_Tools_For_A_New_WorldAmazon Web Services
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Amazon Web Services
 
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...Amazon Web Services
 
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...Boaz Ziniman
 
Running Mission Critical Workloads on AWS
Running Mission Critical Workloads on AWSRunning Mission Critical Workloads on AWS
Running Mission Critical Workloads on AWSAmazon Web Services
 

Mais procurados (20)

Build-a-Unified-Cloud
Build-a-Unified-CloudBuild-a-Unified-Cloud
Build-a-Unified-Cloud
 
No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ...
 No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ... No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ...
No Hassle NoSQL - Amazon DynamoDB & Amazon DocumentDB | AWS Summit Tel Aviv ...
 
新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移
 
Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018
Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018
Big Data on AWS - To infinity and beyond! - Tel Aviv Summit 2018
 
以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構
 
Serverless Extract-transform-load (ETL) on AWS Webinar
Serverless Extract-transform-load (ETL) on AWS WebinarServerless Extract-transform-load (ETL) on AWS Webinar
Serverless Extract-transform-load (ETL) on AWS Webinar
 
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
 
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
 
Building-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWSBuilding-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWS
 
Migrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWSMigrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWS
 
Build_a_Unified_Cloud
Build_a_Unified_CloudBuild_a_Unified_Cloud
Build_a_Unified_Cloud
 
Building Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS Summit
Building Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS SummitBuilding Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS Summit
Building Data Lakes for Analytics on AWS - ADB201 - Anaheim AWS Summit
 
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
 
Virtual_Insurers_New_Tools_For_A_New_World
Virtual_Insurers_New_Tools_For_A_New_WorldVirtual_Insurers_New_Tools_For_A_New_World
Virtual_Insurers_New_Tools_For_A_New_World
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
 
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
 
Journey to the cloud.
Journey to the cloud.Journey to the cloud.
Journey to the cloud.
 
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
 
AWS & Cloud Foundations
AWS & Cloud FoundationsAWS & Cloud Foundations
AWS & Cloud Foundations
 
Running Mission Critical Workloads on AWS
Running Mission Critical Workloads on AWSRunning Mission Critical Workloads on AWS
Running Mission Critical Workloads on AWS
 

Semelhante a Databases-on-AWS-Purpose-built-databases,-the-right-tool-for-the-right-job

Database su AWS scegliere lo strumento giusto per il giusto obiettivo
Database su AWS scegliere lo strumento giusto per il giusto obiettivoDatabase su AWS scegliere lo strumento giusto per il giusto obiettivo
Database su AWS scegliere lo strumento giusto per il giusto obiettivoAmazon Web Services
 
Databases - Choosing the right Database on AWS
Databases - Choosing the right Database on AWSDatabases - Choosing the right Database on AWS
Databases - Choosing the right Database on AWSAmazon Web Services
 
Database Freedom: come liberarsi dei database proprietari
Database Freedom: come liberarsi dei database proprietariDatabase Freedom: come liberarsi dei database proprietari
Database Freedom: come liberarsi dei database proprietariAmazon Web Services
 
Building with Purpose-Built Databases: Match Your workload to the Right Database
Building with Purpose-Built Databases: Match Your workload to the Right DatabaseBuilding with Purpose-Built Databases: Match Your workload to the Right Database
Building with Purpose-Built Databases: Match Your workload to the Right DatabaseAWS Summits
 
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...Amazon Web Services Korea
 
Deriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML ArchitecturesDeriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML ArchitecturesAmazon Web Services
 
Building Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWSBuilding Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWSAmazon Web Services
 
Building with Purpose-Built Databases: Match Your Workload to the Right Database
Building with Purpose-Built Databases: Match Your Workload to the Right DatabaseBuilding with Purpose-Built Databases: Match Your Workload to the Right Database
Building with Purpose-Built Databases: Match Your Workload to the Right DatabaseAmazon Web Services
 
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스KyungHo Joo
 
Amazon Relational Database (RDS) on VMware: Running Amazon RDS On-Premises
Amazon Relational Database (RDS) on VMware: Running Amazon RDS On-PremisesAmazon Relational Database (RDS) on VMware: Running Amazon RDS On-Premises
Amazon Relational Database (RDS) on VMware: Running Amazon RDS On-PremisesAmazon Web Services
 
Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...Amazon Web Services
 
The Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian BanduletThe Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian BanduletChristian Bandulet
 
Modern Data Platforms - Thinking Data Flywheel on the Cloud
Modern Data Platforms - Thinking Data Flywheel on the CloudModern Data Platforms - Thinking Data Flywheel on the Cloud
Modern Data Platforms - Thinking Data Flywheel on the CloudAlluxio, Inc.
 
AWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right JobAWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right JobAmazon Web Services
 
Costruire Architetture Ibride con AWS
Costruire Architetture Ibride con AWSCostruire Architetture Ibride con AWS
Costruire Architetture Ibride con AWSAmazon Web Services
 
AWS Startup Day Bogotá - Tools for Building Your Startup
AWS Startup Day Bogotá - Tools for Building Your StartupAWS Startup Day Bogotá - Tools for Building Your Startup
AWS Startup Day Bogotá - Tools for Building Your StartupAmazon Web Services LATAM
 
Immersion Day - Como a AWS apoia a estratégia analítica de sua empresa
Immersion Day - Como a AWS apoia a estratégia analítica de sua empresaImmersion Day - Como a AWS apoia a estratégia analítica de sua empresa
Immersion Day - Como a AWS apoia a estratégia analítica de sua empresaAmazon Web Services LATAM
 

Semelhante a Databases-on-AWS-Purpose-built-databases,-the-right-tool-for-the-right-job (20)

Database su AWS scegliere lo strumento giusto per il giusto obiettivo
Database su AWS scegliere lo strumento giusto per il giusto obiettivoDatabase su AWS scegliere lo strumento giusto per il giusto obiettivo
Database su AWS scegliere lo strumento giusto per il giusto obiettivo
 
Databases - Choosing the right Database on AWS
Databases - Choosing the right Database on AWSDatabases - Choosing the right Database on AWS
Databases - Choosing the right Database on AWS
 
Database Freedom: come liberarsi dei database proprietari
Database Freedom: come liberarsi dei database proprietariDatabase Freedom: come liberarsi dei database proprietari
Database Freedom: come liberarsi dei database proprietari
 
Building with Purpose-Built Databases: Match Your workload to the Right Database
Building with Purpose-Built Databases: Match Your workload to the Right DatabaseBuilding with Purpose-Built Databases: Match Your workload to the Right Database
Building with Purpose-Built Databases: Match Your workload to the Right Database
 
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
 
Deriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML ArchitecturesDeriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML Architectures
 
Building Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWSBuilding Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWS
 
AWS-Quick-Start
AWS-Quick-StartAWS-Quick-Start
AWS-Quick-Start
 
HK-AWS-Quick-Start-Workshop
HK-AWS-Quick-Start-WorkshopHK-AWS-Quick-Start-Workshop
HK-AWS-Quick-Start-Workshop
 
Building with Purpose-Built Databases: Match Your Workload to the Right Database
Building with Purpose-Built Databases: Match Your Workload to the Right DatabaseBuilding with Purpose-Built Databases: Match Your Workload to the Right Database
Building with Purpose-Built Databases: Match Your Workload to the Right Database
 
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스
 
Amazon Relational Database (RDS) on VMware: Running Amazon RDS On-Premises
Amazon Relational Database (RDS) on VMware: Running Amazon RDS On-PremisesAmazon Relational Database (RDS) on VMware: Running Amazon RDS On-Premises
Amazon Relational Database (RDS) on VMware: Running Amazon RDS On-Premises
 
Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...
 
The Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian BanduletThe Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian Bandulet
 
Modern Data Platforms - Thinking Data Flywheel on the Cloud
Modern Data Platforms - Thinking Data Flywheel on the CloudModern Data Platforms - Thinking Data Flywheel on the Cloud
Modern Data Platforms - Thinking Data Flywheel on the Cloud
 
AWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right JobAWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right Job
 
Costruire Architetture Ibride con AWS
Costruire Architetture Ibride con AWSCostruire Architetture Ibride con AWS
Costruire Architetture Ibride con AWS
 
AWS Startup Day Bogotá - Tools for Building Your Startup
AWS Startup Day Bogotá - Tools for Building Your StartupAWS Startup Day Bogotá - Tools for Building Your Startup
AWS Startup Day Bogotá - Tools for Building Your Startup
 
AWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico CityAWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico City
 
Immersion Day - Como a AWS apoia a estratégia analítica de sua empresa
Immersion Day - Como a AWS apoia a estratégia analítica de sua empresaImmersion Day - Como a AWS apoia a estratégia analítica de sua empresa
Immersion Day - Como a AWS apoia a estratégia analítica de sua empresa
 

Mais de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mais de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Databases-on-AWS-Purpose-built-databases,-the-right-tool-for-the-right-job

  • 1. Jayson, Solutions Architect, AWS Databases on AWS Purpose-built databases, the right tool for the right job
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2 User Interface Business Layer Data Interface Relational DB 單體式架構 微服務架構 Microservices UI Microservices Microservices Microservices Microservices Relational DB Key-Value DB In-Memory DB 隨著時代演進,系統架構也不斷優化
  • 3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2007年,GILT的單體架構
  • 4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2016年,GILT在AWS上的微服務架構 参考: https://www.slideshare.net/AmazonWebServices/aws-reinvent-2016-from-monolithic-to-microservices-evolving-architecture-patterns-in-the-cloud-arc305
  • 5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Because we heard X is the best new thing.” “Because we have a site license for X.” “Because X is what we know how to use.”
  • 6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Because this database is purpose built to support what my application is designed to do.”
  • 7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Lift and shift” existing apps to the cloud 原有應用程式搬遷 Quickly build new apps in the cloud 建置新應用程式或 重構既有應用程式
  • 8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Lift and shift” existing apps to the cloud 原有應用程式搬遷 Quickly build new apps in the cloud
  • 9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Traditional Application Requirements Users: 10–100k Data volume: GB–TB Locality: HQ Performance: Seconds Request Rate: Tens of thousands Access: Internal servers, PCs Scale: Up Economics: Pay up front Developer Access: Days/weeks/months HR Payroll … CRM ERP
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora MySQL and PostgreSQL-compatible relational database built for the cloud Performance and availability of commercial-grade databases at 1/10th the cost Performance and scalability Availability and durability Highly secure Fully managed 5x throughput of standard MySQL and 3x of standard PostgreSQL; scale-out up to 15 read replicas Fault-tolerant, self-healing storage; six copies of data across three Availability Zones; continuous backup to Amazon S3 Network isolation, encryption at rest/transit Managed by RDS: No hardware provisioning, software patching, setup, configuration, or backups
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Relational Database Service (RDS) Managed relational database service with a choice of six popular database engines Easy to administer Available and durable Highly scalable Fast and secure No need for infrastructure provisioning, installing, and maintaining DB software Automatic Multi-AZ data replication; automated backup, snapshots, failover Scale database compute and storage with a few clicks with no app downtime SSD storage and guaranteed provisioned I/O; data encryption at rest and in transit
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Database Migration Service (AWS DMS) M I G R A T I N G D A T A B A S E S T O A W S Migrate between on-premises and AWS Migrate between databases Automated schema conversion Data replication for zero-downtime migration 100,000+ databases migrated
  • 13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Lift and shift” existing apps to the cloud Quickly build new apps in the cloud 建置新應用程式或 重構既有應用程式
  • 14. © 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
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Common data categories and use cases 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 Aurora, RDS DynamoDB DocumentDB ElastiCache Neptune Timestream QLDB AWS Service(s) Common Use Cases
  • 16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1. Relational
  • 17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Relational Referential integrity, ACID transactions, schema-on- write Lift and shift, ERP, CRM, finance time Joe Larry 1 $100 $1000 2 +$1000 -$1000 3 $1100 $0
  • 18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Relational Customer name notify_phone type PK Shipments date_shipped state PK Customer Addresses address_id customer_id label street City Postal_code PK Line_item order_id shipment_id cost PK Order customer_id time_ordered complete ship_date order_total tax shipping PK Products product_id sku inventory name description PK FK FK FK FK FK FK customer_id order_id customer_id line_item_id product_id order_id Referential integrity, ACID transactions, schema-on- write Lift and shift, ERP, CRM, finance
  • 19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2. Key-value
  • 20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Key-value Table 1 Table 2 Table N … … … … … … Partitions Partitions Partitions … … … Highly partitionable data Low-latency, key look-ups with high throughput and fast ingestion of data Real-time bidding, shopping cart, IoT device tracking
  • 21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Key-value Low-latency, key look-ups with high throughput and fast ingestion of data Real-time bidding, shopping cart, IoT device tracking key value Table “People”
  • 22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB Fast and flexible NoSQL database service for any scale Handles millions of requests per second Delivers microsecond latency Automated global replication ACID transactions Encryption at rest On-demand backup and restore Maintenance free Auto scaling On-demand capacity mode
  • 23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Netflix uses DynamoDB as a massive- scale metadata store for A/B testing Netflix selected DynamoDB for operational resiliency: • Operate their DynamoDB metadata store across multiple AWS Regions Selected DynamoDB to handle Netflix scale: • Netflix runs hundreds of A/B tests at any given time and DynamoDB can handle that scaling up and down • Across millions of user accounts Selected DynamoDB for performance: • Netflix requires low latency across millions of JSON documents
  • 24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Profile, match, and swipe data 25 TB data, 20 billion matches, 190 countries Migrated from MongoDB to DynamoDB • 60 percent cost savings “DynamoDB helps us achieve greater developer efficiency…at a lower cost.” —Jun-young Kwak Tinder
  • 25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. Document
  • 26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Document (client) (app) (database) JSON !JSON != Indexing and storing documents with support for query on any attribute Content management, personalization, mobile
  • 27. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Document {id: 34, name: larry, url: ‘www.aws.amazon.com”, attributes: [{ project: alpha, location: kumo floor 5, team: [{id: 3}, {id: 1}] }] } Indexing and storing documents with support for query on any attribute Content management, personalization, mobile
  • 28. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 4. In-memory
  • 29. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Microseconds latency, key-based queries, and specialized data structures Leaderboards, real- time analytics, caching (Leaderboard) Microseconds are now the new milliseconds In-memory
  • 30. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database Memory (Buffer pool) Disk Query processor Get/Put APIs Memory Milliseconds to microseconds (10x faster) Storage Engine Microseconds latency, key-based queries, and specialized data structures Leaderboards, real- time analytics, caching In-memory
  • 31. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introducing Amazon ElastiCache Fully-managed, Redis or Memcached compatible, low-latency, in-memory data store Fully Managed Extreme Performance Easily Scalable AWS manages all hardware and software setup, configuration, monitoring In-memory data store and cache for sub-millisecond response times Read scaling with replicas. Write and memory scaling with sharding. Non disruptive scaling
  • 32. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS and ElastiCache are Behind Grab’s Taxi-Booking App Grab is a popular taxi hailing app in southeast Asia. Average response time of the API layer is <40ms, mandating an in-memory layer to achieve such performance. A small devops team that tried running Redis on EC2 before, but that was too much work. Using both RDS and ElastiCache in Multi-AZ allowed them to outsource all the management to AWS. The latency of a cab call must be low, and remain low even in times of peak traffic of hundreds of thousands of cab requests per minute. We use ElastiCache for Redis in front of RDS MySQL to keep our systems’ real time performance at any scale.” –Ryan Ooi Sr. Devops Engineer, Grab “
  • 33. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5. Graph
  • 34. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Graph Creating and navigating relations between data easily and quickly Fraud detection, social networking, recommendation engine
  • 35. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Graph Creating and navigating relations between data easily and quickly Fraud detection, social networking, recommendation engine
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Graph use case // Product recommendation to a user gremlin> V().has(‘name’,’sara’).as(‘customer’).out(‘follows’).in(‘follows’).out(‘purchased’) ( (‘customer’)).dedup() (‘name’) ('name') PURCHASED PURCHASED FOLLOWS PURCHASED KNOWS PRODUCT SPORT FOLLOWS FOLLOWS // Identify a friend in common and make a recommendation gremlin> g.V().has('name','mary').as(‘start’). both('knows').both('knows’). where(neq(‘start’)). dedup().by('name').properties('name')
  • 37. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FAST RELIABLEOPEN Query billions of relationships with millisecond latency 6 replicas of your data across 3 AZs with full backup and restore Build powerful queries easily with Gremlin and SPARQL Supports Apache TinkerPop & W3C RDF graph models EASY
  • 38. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6. Time-Series
  • 39. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application events IoT Sensor Readings DevOps data Humidity % WATER VAPOR 91.094.086.093.0
  • 40. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Existing time-series databasesRelational databases Difficult to maintain high availability Difficult to scale Limited data lifecycle management Inefficient time-series data processing Unnatural for time-series data Rigid schema inflexible for fast moving time- series data
  • 41. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1,000x faster and 1/10th the cost of relational databases Collect data at the rate of millions of inserts per second (10M/second) Trillions of daily events Adaptive query processing engine maintains steady, predictable performance Time-series analytics Built-in functions for interpolation, smoothing, and approximation Serverless Automated setup, configuration, server provisioning, software patching
  • 42. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 7. Ledger
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Challenges with building ledgers Adds unnecessary complexity BlockchainRDBMS - audit tables Difficult to maintain Hard to use and slow Hard to build Custom audit functionality using triggers or stored procedures Impossible to verify No way to verify changes made to data by sys admins
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ledger database concepts C | H J Journal C | H Current | History Current | History Journal Ledger comprises J L Ledger databaseL Journal determines Current | History
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. ID Manufacture r Model Year VIN Owner ID Versio n Start End Manufactur er Model Year VIN Owner How it works ID Manufacture r Model Year VIN Owner 1 Tesla Model S 201 2 12345678 9 Traci Russell INSERT INTO cars << { 'Manufacturer': 'Tesla', 'Model': 'Model S', 'Year': '2012', 'VIN': '123456789', 'Owner': 'Traci Russel' } >> FROM cars WHERE VIN = '123456789' UPDATE owner = 'Ronnie Nash'FROM cars WHERE VIN = '123456789' UPDATE owner = 'Elmer Hubbard' J ID Versio n Start End Manufactur er Model Year VIN Owner 1 1 07/16/201 2 NULL Tesla Model S 201 2 12345678 9 Traci Russell current.cars C history.cars H ID Versio n Start End Manufactur er Model Year VIN Owner 1 1 07/16/201 2 08/03/201 3 Tesla Model S 201 2 12345678 9 Traci Russell 1 2 08/03/201 3 NULL Tesla Model S 201 2 12345678 9 Ronnie Nash ID Versio n Start End Manufactur er Model Year VIN Owner 1 1 07/16/201 2 08/03/201 3 Tesla Model S 201 2 12345678 9 Traci Russell 1 2 08/03/201 3 09/02/201 6 Tesla Model S 201 2 12345678 9 Ronnie Nash 1 3 09/02/201 6 NULL Tesla Model S 201 2 12345678 9 Elmer Hubbard ID Manufacture r Model Year VIN Owner 1 Tesla Model S 201 2 12345678 9 Ronnie Nash ID Manufacture r Model Year VIN Owner 1 Tesla Model S 201 2 12345678 9 Elmer Hubbard INSERT cars ID:1 Manufacturer: Tesla Model: Model S Year: 2012 VIN: 123456789 Owner: Traci Russell Metadata: { Date:07/16/2012 } H (x) UPDATE cars ID:1 Owner: Ronnie Nash Metadata: { Date:08/03/2013 } H (x) UPDATE cars ID:1 Owner: Elmer Hubbard Metadata: { Date: 09/02/2016 } H (x)
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Quantum Ledger Database (QLDB) (Preview) Fully managed ledger database Track and verify history of all changes made to your application’s data Immutable Maintains a sequenced record of all changes to your data, which cannot be deleted or modified; you have the ability to query and analyze the full history Cryptographically verifiable Uses cryptography to generate a secure output file of your data’s history Easy to use Easy to use, letting you use familiar database capabilities like SQL APIs for querying the data Highly scalable Executes 2–3X as many transactions than ledgers in common blockchain frameworks
  • 47. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ??? ??? 這麼多資料庫類型到底要怎麼選?!
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. The Iron Triangle of Data - All About CAP C A PConsistency: all clients always have the same view of data Partition tolerance: the system works well despite physical network partitions Availability: all clients can always read and write CA MSSQL Oracle DB2 MySQL Aster Data Greenplum Postgres CP Big Table Hypertable HBase MongoDB Terastore Couchbase Scalaris DynamoDB BerkeleyDB Memcached Redis Pick Two AP Voldemort Tokyo Cabinet KAI DynamoDB Cassandra SimpleDB CouchDB Riak Data Models: Relational Wide Column Document Key/Value
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Infinite Scale: The database can gracefully increase size and throughput without practical limits The Iron Triangle of Purpose (The PIE Theorem) I P E Efficiency: The database will deliver required query latency for the workload at all times Pattern Flexibility: The database supports random access patterns and ad hoc queries PI Amazon RDS Elasticsearch Aurora Serverless Neptune IE Pick Two PE Data Models: Relational Wide Column Document Graph Columnar Unstructured Amazon DynamoDB Document DB (Mongo) Amazon Redshift Athena
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Airbnb uses different databases based on the purpose User search history: Amazon DynamoDB • Massive data volume • Need quick lookups for personalized search Session state: Amazon ElastiCache • In-memory store for submillisecond site rendering Relational data: Amazon RDS • Referential integrity • Primary transactional database
  • 51. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 反向思考 - 你要解決的問題是什麼? Choose the right tool for each job
  • 52. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU!