SlideShare uma empresa Scribd logo
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Build resilient applications
using Amazon RDS and Aurora
PostgreSQL
D A T 3 1 6
Grant McAlister
Senior Principal Engineer
Amazon Web Services
Jim Mlodgenski
Principal Database Engineer
Amazon Web Services
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
• Planned and unplanned
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Primary
The case for resiliency
• Everything fails at some point
• Planned and unplanned
Availability Zone 1 Availability Zone 2
AWS Region
Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
The case for resiliency
• Everything fails at some point
• Planned and unplanned
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
The case for resiliency
• Everything fails at some point
• Planned and unplanned
• Does the system operate as designed
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The case for resiliency
• Everything fails at some point
• Planned and unplanned
• Does the system operate as designed
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
Standby Primary
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The case for resiliency
• Everything fails at some point
• Planned and unplanned
• Does the system operate as designed
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
Standby Primary
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The case for resiliency
• Everything fails at some point
• Planned and unplanned
• Does the system operate as designed
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
Standby Primary
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The case for resiliency
• Everything fails at some point
• Planned and unplanned
• Does the system operate as designed
• Grey failures
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
Standby Primary
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
1 2 3
4 5
6
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
1 2 3
4 5
6
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
1 2 3
4 5
6
writer reader
reader
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
1 2 3
4 5
6
writer reader
reader
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
1 2 3
4 5
6
reader
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
1 2 3
4 5
6
reader
writer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
1 2 3
4 5
6
reader
writer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
1 2 3
4 5
6
reader
writer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
1 2 3
4 5
6
reader
writer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
• AWS JDBC driver for faster
failover
1 2 3
4 5
6
reader
AWS
JDBC
writer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora with PostgreSQL compatibility
Availability Zone 1
AWS Region
Applications
Availability Zone 2 Availability Zone 3
Aurora Storage
Applications Applications
• 4 of 6 write quorum across 3
AZ’s
• Self repairing storage system
• One or more db instances per
AZ
• AWS JDBC driver for faster
failover
1 2 3
4 5
6
reader
AWS
JDBC
writer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Amazon RDS Multi-AZ with two readable standbys
• PostgreSQL replication across
3 AZ’s with a 2 of 3 quorum
• Write Ahead Log written to
local storage
• Failover time a factor of
transaction apply lag
Availability Zone 3
AWS Region Applications
Availability Zone 1
Primary
Availability Zone 2
Standby
WAL WAL WAL
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
Amazon RDS Multi-AZ with one standby
• PostgreSQL community version with
easy configuration and management
• High availability across two availability
zones
• All writes synchronously replicated to
the standby
• Failover a factor of checkpoints
Availability Zone 1 Availability Zone 2
AWS Region Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Recovery Time
3 GiB Redo
Recovered in 19 seconds
10 GiB Redo
Recovered in 50 seconds
30 GiB Redo
Recovered in 123 seconds
0
20
40
60
80
100
120
140
160
0 20,000 40,000 60,000 80,000 100,000 120,000 140,000
Recovery
Time
in
Seconds
(less
is
better)
Writes / Second (more is better)
RECOVERY TIME FROM CRASH UNDER LOAD
Bubble size represents redo log, which must be recovered
As PostgreSQL
throughput goes up, so
does log size and crash
recovery time
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Recovery Time
3 GiB Redo
Recovered in 19 seconds
10 GiB Redo
Recovered in 50 seconds
30 GiB Redo
Recovered in 123 seconds
0
20
40
60
80
100
120
140
160
0 20,000 40,000 60,000 80,000 100,000 120,000 140,000
Recovery
Time
in
Seconds
(less
is
better)
Writes / Second (more is better)
RECOVERY TIME FROM CRASH UNDER LOAD
Bubble size represents redo log, which must be recovered
As PostgreSQL
throughput goes up, so
does log size and crash
recovery time
Amazon Aurora has no redo.
Recovered in 3 seconds while
maintaining greater throughput.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Failover time
0
50,000
100,000
150,000
200,000
250,000
300,000
350,000
400,000
0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200
Transactions
per
Second
(TPS)
Seconds
PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds
Baseline
32 seconds
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Failover time
0
50,000
100,000
150,000
200,000
250,000
300,000
350,000
400,000
0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200
Transactions
per
Second
(TPS)
Seconds
PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds
Baseline
340 seconds
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RO
Application
Cluster Cache Management (CCM) Feature
RW
Application
RO
Application
Async
Invalidation
& Update
Availability zone 1 Availability zone 3
Availability zone 2
Aurora
Storage
RO
RO
RO
RO
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RO
Application
Cluster Cache Management (CCM) Feature
RW
Application
RO
Application
Async
Invalidation
& Update
Availability zone 1 Availability zone 3
Availability zone 2
Aurora
Storage
RO
RO
RO
RO
apg_ccm_enabled=on
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RO
Application
Cluster Cache Management (CCM) Feature
RW
Application
RO
Application
Async
Invalidation
& Update
Availability zone 1 Availability zone 3
Availability zone 2
Aurora
Storage
RO
RO
RO
RO
apg_ccm_enabled=on
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RO
Application
Cluster Cache Management (CCM) Feature
RW
Application
RO
Application
Async
Invalidation
& Update
Availability zone 1 Availability zone 3
Availability zone 2
Aurora
Storage
RO
RO
RO
RO
apg_ccm_enabled=on
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RO
Application
Cluster Cache Management (CCM) Feature
RW
Application
RO
Application
Async
Invalidation
& Update
Availability zone 1 Availability zone 3
Availability zone 2
Aurora
Storage
RO
RO
RO
RO
apg_ccm_enabled=on
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Failover time - Cluster Cache Management
0
50,000
100,000
150,000
200,000
250,000
300,000
350,000
400,000
0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200
Transactions
per
Second
(TPS)
Seconds
PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds
Baseline CCM Enabled
340 seconds
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Failover time - Cluster Cache Management
0
50,000
100,000
150,000
200,000
250,000
300,000
350,000
400,000
0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200
Transactions
per
Second
(TPS)
Seconds
PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds
Baseline CCM Enabled
32 seconds
340 seconds
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Pg_prewarm
• Extension available in all supported
versions of PostgreSQL
• Can manually load tables and indexes
into cache
• PostgreSQL 11 introduced auto
prewarm to restore the cache after a
restart or failover
Standby
Primary
Availability Zone 1 Availability Zone 2
AWS Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Pg_prewarm
• Extension available in all supported
versions of PostgreSQL
• Can manually load tables and indexes
into cache
• PostgreSQL 11 introduced auto
prewarm to restore the cache after a
restart or failover
Standby
Primary
Availability Zone 1 Availability Zone 2
AWS Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Pg_prewarm
• Extension available in all supported
versions of PostgreSQL
• Can manually load tables and indexes
into cache
• PostgreSQL 11 introduced auto
prewarm to restore the cache after a
restart or failover
Standby
Primary
Availability Zone 1 Availability Zone 2
AWS Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Pg_prewarm
• Extension available in all supported
versions of PostgreSQL
• Can manually load tables and indexes
into cache
• PostgreSQL 11 introduced auto
prewarm to restore the cache after a
restart or failover
Standby
Primary
Availability Zone 1 Availability Zone 2
AWS Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Pg_prewarm
• Extension available in all supported
versions of PostgreSQL
• Can manually load tables and indexes
into cache
• PostgreSQL 11 introduced auto
prewarm to restore the cache after a
restart or failover
Standby
Primary
Availability Zone 1 Availability Zone 2
AWS Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Pg_prewarm
• Extension available in all supported
versions of PostgreSQL
• Can manually load tables and indexes
into cache
• PostgreSQL 11 introduced auto
prewarm to restore the cache after a
restart or failover
Primary
Availability Zone 1 Availability Zone 2
AWS Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Pg_prewarm
• Extension available in all supported
versions of PostgreSQL
• Can manually load tables and indexes
into cache
• PostgreSQL 11 introduced auto
prewarm to restore the cache after a
restart or failover
Primary
Availability Zone 1 Availability Zone 2
AWS Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
Fault Injection
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
Fault Injection
• AWS Fault Injection Simulator
• Service API’s/cli
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
Fault Injection
• AWS Fault Injection Simulator
• Service API’s/cli
 EC2 - stop-instances
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
Fault Injection
• AWS Fault Injection Simulator
• Service API’s/cli
 EC2 - stop-instances
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
Fault Injection
• AWS Fault Injection Simulator
• Service API’s/cli
 EC2 - stop-instances
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standby
Primary
Fault Injection
• AWS Fault Injection Simulator
• Service API’s/cli
 EC2 - stop-instances
 RDS - reboot-instance --force-failover
 Aurora – failover-db-cluster
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fault Injection
• AWS Fault Injection Simulator
• Service API’s/cli
 EC2 - stop-instances
 RDS - reboot-instance --force-failover
 Aurora – failover-db-cluster
Availability Zone 1 Availability Zone 2
AWS Region
Applications Applications
Standby Primary
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Timeouts
• Timeouts prevent runaway queries
Availability Zone 1 Availability Zone 2
AWS Region Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Timeouts
• Timeouts prevent runaway queries
Availability Zone 1 Availability Zone 2
AWS Region Applications
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Timeouts
• Timeouts prevent runaway queries
• Timeouts can be implemented at any
or all layers in the application stack Availability Zone 1 Availability Zone 2
AWS Region Applications
4 sec
10 sec
30 sec
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Timeouts
• Timeouts prevent runaway queries
• Timeouts can be implemented at any
or all layers in the application stack
• Improperly coordinated timeouts
can cause connection storms
Availability Zone 1 Availability Zone 2
AWS Region Applications
4 sec
10 sec
30 sec
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Timeouts
• Timeouts prevent runaway queries
• Timeouts can be implemented at any
or all layers in the application stack
• Improperly coordinated timeouts
can cause connection storms
• The database statement timeout
needs to be the shortest duration
Availability Zone 1 Availability Zone 2
AWS Region Applications
30 sec
10 sec
4 sec
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Grant McAlister Jim Mlodgenski

Mais conteúdo relacionado

Semelhante a re:Invent 2022 DAT316 Build resilient applications using Amazon RDS and Aurora PostgreSQL

What's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS SummitWhat's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS Summit
Amazon Web Services
 
Relational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill BaldwinRelational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill Baldwin
Amazon Web Services
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Amazon Web Services
 
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS SummitWhat’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
Amazon Web Services
 
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Amazon Web Services
 
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
Amazon Web Services
 
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWSMigrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Kristana Kane
 
Databases - EBC on the road Brazil Edition [Portuguese]
Databases - EBC on the road Brazil Edition [Portuguese]Databases - EBC on the road Brazil Edition [Portuguese]
Databases - EBC on the road Brazil Edition [Portuguese]
Amazon Web Services
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-Practices
Amazon Web Services
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
Amazon Web Services
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
Amazon Web Services
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Amazon Web Services
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
Amazon Web Services
 
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon Web Services
 
Moving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDSMoving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDS
Amazon Web Services
 
What's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS SummitWhat's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS Summit
Amazon Web Services
 
Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310 Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310
Amazon Web Services
 
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDSAWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
Cobus Bernard
 
2021_0825-DAT_Slide-Deck.pdf
2021_0825-DAT_Slide-Deck.pdf2021_0825-DAT_Slide-Deck.pdf
2021_0825-DAT_Slide-Deck.pdf
Rais Charipov
 
How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...
Amazon Web Services
 

Semelhante a re:Invent 2022 DAT316 Build resilient applications using Amazon RDS and Aurora PostgreSQL (20)

What's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS SummitWhat's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS Summit
 
Relational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill BaldwinRelational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill Baldwin
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
 
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS SummitWhat’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
 
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
 
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
 
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWSMigrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
 
Databases - EBC on the road Brazil Edition [Portuguese]
Databases - EBC on the road Brazil Edition [Portuguese]Databases - EBC on the road Brazil Edition [Portuguese]
Databases - EBC on the road Brazil Edition [Portuguese]
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-Practices
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
 
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
 
Moving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDSMoving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDS
 
What's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS SummitWhat's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS Summit
 
Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310 Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310
 
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDSAWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
 
2021_0825-DAT_Slide-Deck.pdf
2021_0825-DAT_Slide-Deck.pdf2021_0825-DAT_Slide-Deck.pdf
2021_0825-DAT_Slide-Deck.pdf
 
How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...
 

Mais de Grant McAlister

Practical Memory Tuning for PostgreSQL
Practical Memory Tuning for PostgreSQLPractical Memory Tuning for PostgreSQL
Practical Memory Tuning for PostgreSQL
Grant McAlister
 
Full Page Writes in PostgreSQL PGCONFEU 2022
Full Page Writes in PostgreSQL PGCONFEU 2022Full Page Writes in PostgreSQL PGCONFEU 2022
Full Page Writes in PostgreSQL PGCONFEU 2022
Grant McAlister
 
re:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibility
re:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibilityre:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibility
re:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibility
Grant McAlister
 
AWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQL
AWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQLAWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQL
AWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQL
Grant McAlister
 
Dat305 Deep Dive on Amazon Aurora PostgreSQL
Dat305 Deep Dive on Amazon Aurora PostgreSQLDat305 Deep Dive on Amazon Aurora PostgreSQL
Dat305 Deep Dive on Amazon Aurora PostgreSQL
Grant McAlister
 
HOT Understanding this important update optimization
HOT Understanding this important update optimizationHOT Understanding this important update optimization
HOT Understanding this important update optimization
Grant McAlister
 
DAT402 - Deep Dive on Amazon Aurora PostgreSQL
DAT402 - Deep Dive on Amazon Aurora PostgreSQL DAT402 - Deep Dive on Amazon Aurora PostgreSQL
DAT402 - Deep Dive on Amazon Aurora PostgreSQL
Grant McAlister
 
Deep dive into the Rds PostgreSQL Universe Austin 2017
Deep dive into the Rds PostgreSQL Universe Austin 2017Deep dive into the Rds PostgreSQL Universe Austin 2017
Deep dive into the Rds PostgreSQL Universe Austin 2017
Grant McAlister
 
Tuning PostgreSQL for High Write Throughput
Tuning PostgreSQL for High Write Throughput Tuning PostgreSQL for High Write Throughput
Tuning PostgreSQL for High Write Throughput
Grant McAlister
 
Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017
Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017
Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017
Grant McAlister
 
Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...
Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...
Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...
Grant McAlister
 
Amazon RDS for PostgreSQL - PGConf 2016
Amazon RDS for PostgreSQL - PGConf 2016 Amazon RDS for PostgreSQL - PGConf 2016
Amazon RDS for PostgreSQL - PGConf 2016
Grant McAlister
 

Mais de Grant McAlister (12)

Practical Memory Tuning for PostgreSQL
Practical Memory Tuning for PostgreSQLPractical Memory Tuning for PostgreSQL
Practical Memory Tuning for PostgreSQL
 
Full Page Writes in PostgreSQL PGCONFEU 2022
Full Page Writes in PostgreSQL PGCONFEU 2022Full Page Writes in PostgreSQL PGCONFEU 2022
Full Page Writes in PostgreSQL PGCONFEU 2022
 
re:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibility
re:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibilityre:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibility
re:Invent 2020 DAT301 Deep Dive on Amazon Aurora with PostgreSQL Compatibility
 
AWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQL
AWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQLAWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQL
AWS re:Invent 2019 - DAT328 Deep Dive on Amazon Aurora PostgreSQL
 
Dat305 Deep Dive on Amazon Aurora PostgreSQL
Dat305 Deep Dive on Amazon Aurora PostgreSQLDat305 Deep Dive on Amazon Aurora PostgreSQL
Dat305 Deep Dive on Amazon Aurora PostgreSQL
 
HOT Understanding this important update optimization
HOT Understanding this important update optimizationHOT Understanding this important update optimization
HOT Understanding this important update optimization
 
DAT402 - Deep Dive on Amazon Aurora PostgreSQL
DAT402 - Deep Dive on Amazon Aurora PostgreSQL DAT402 - Deep Dive on Amazon Aurora PostgreSQL
DAT402 - Deep Dive on Amazon Aurora PostgreSQL
 
Deep dive into the Rds PostgreSQL Universe Austin 2017
Deep dive into the Rds PostgreSQL Universe Austin 2017Deep dive into the Rds PostgreSQL Universe Austin 2017
Deep dive into the Rds PostgreSQL Universe Austin 2017
 
Tuning PostgreSQL for High Write Throughput
Tuning PostgreSQL for High Write Throughput Tuning PostgreSQL for High Write Throughput
Tuning PostgreSQL for High Write Throughput
 
Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017
Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017
Amazon RDS for PostgreSQL: What's New and Lessons Learned - NY 2017
 
Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...
Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...
Amazon RDS for PostgreSQL - Postgres Open 2016 - New Features and Lessons Lea...
 
Amazon RDS for PostgreSQL - PGConf 2016
Amazon RDS for PostgreSQL - PGConf 2016 Amazon RDS for PostgreSQL - PGConf 2016
Amazon RDS for PostgreSQL - PGConf 2016
 

Último

一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
wyddcwye1
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
y3i0qsdzb
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
a9qfiubqu
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
taqyea
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 

Último (20)

一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 

re:Invent 2022 DAT316 Build resilient applications using Amazon RDS and Aurora PostgreSQL

  • 1. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 2. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Build resilient applications using Amazon RDS and Aurora PostgreSQL D A T 3 1 6 Grant McAlister Senior Principal Engineer Amazon Web Services Jim Mlodgenski Principal Database Engineer Amazon Web Services
  • 3. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 4. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 5. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 6. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 7. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 8. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 9. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point • Planned and unplanned Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 10. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Primary The case for resiliency • Everything fails at some point • Planned and unplanned Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 11. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary The case for resiliency • Everything fails at some point • Planned and unplanned Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 12. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary The case for resiliency • Everything fails at some point • Planned and unplanned • Does the system operate as designed Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 13. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. The case for resiliency • Everything fails at some point • Planned and unplanned • Does the system operate as designed Availability Zone 1 Availability Zone 2 AWS Region Applications Applications Standby Primary
  • 14. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. The case for resiliency • Everything fails at some point • Planned and unplanned • Does the system operate as designed Availability Zone 1 Availability Zone 2 AWS Region Applications Applications Standby Primary
  • 15. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. The case for resiliency • Everything fails at some point • Planned and unplanned • Does the system operate as designed Availability Zone 1 Availability Zone 2 AWS Region Applications Applications Standby Primary
  • 16. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. The case for resiliency • Everything fails at some point • Planned and unplanned • Does the system operate as designed • Grey failures Availability Zone 1 Availability Zone 2 AWS Region Applications Applications Standby Primary
  • 17. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications
  • 18. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s 1 2 3 4 5 6
  • 19. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system 1 2 3 4 5 6
  • 20. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ 1 2 3 4 5 6 writer reader reader
  • 21. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ 1 2 3 4 5 6 writer reader reader
  • 22. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ 1 2 3 4 5 6 reader
  • 23. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ 1 2 3 4 5 6 reader writer
  • 24. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ 1 2 3 4 5 6 reader writer
  • 25. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ 1 2 3 4 5 6 reader writer
  • 26. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ 1 2 3 4 5 6 reader writer
  • 27. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ • AWS JDBC driver for faster failover 1 2 3 4 5 6 reader AWS JDBC writer
  • 28. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora with PostgreSQL compatibility Availability Zone 1 AWS Region Applications Availability Zone 2 Availability Zone 3 Aurora Storage Applications Applications • 4 of 6 write quorum across 3 AZ’s • Self repairing storage system • One or more db instances per AZ • AWS JDBC driver for faster failover 1 2 3 4 5 6 reader AWS JDBC writer
  • 29. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Amazon RDS Multi-AZ with two readable standbys • PostgreSQL replication across 3 AZ’s with a 2 of 3 quorum • Write Ahead Log written to local storage • Failover time a factor of transaction apply lag Availability Zone 3 AWS Region Applications Availability Zone 1 Primary Availability Zone 2 Standby WAL WAL WAL
  • 30. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary Amazon RDS Multi-AZ with one standby • PostgreSQL community version with easy configuration and management • High availability across two availability zones • All writes synchronously replicated to the standby • Failover a factor of checkpoints Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 31. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Recovery Time 3 GiB Redo Recovered in 19 seconds 10 GiB Redo Recovered in 50 seconds 30 GiB Redo Recovered in 123 seconds 0 20 40 60 80 100 120 140 160 0 20,000 40,000 60,000 80,000 100,000 120,000 140,000 Recovery Time in Seconds (less is better) Writes / Second (more is better) RECOVERY TIME FROM CRASH UNDER LOAD Bubble size represents redo log, which must be recovered As PostgreSQL throughput goes up, so does log size and crash recovery time
  • 32. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Recovery Time 3 GiB Redo Recovered in 19 seconds 10 GiB Redo Recovered in 50 seconds 30 GiB Redo Recovered in 123 seconds 0 20 40 60 80 100 120 140 160 0 20,000 40,000 60,000 80,000 100,000 120,000 140,000 Recovery Time in Seconds (less is better) Writes / Second (more is better) RECOVERY TIME FROM CRASH UNDER LOAD Bubble size represents redo log, which must be recovered As PostgreSQL throughput goes up, so does log size and crash recovery time Amazon Aurora has no redo. Recovered in 3 seconds while maintaining greater throughput.
  • 33. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Failover time 0 50,000 100,000 150,000 200,000 250,000 300,000 350,000 400,000 0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200 Transactions per Second (TPS) Seconds PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds Baseline 32 seconds
  • 34. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Failover time 0 50,000 100,000 150,000 200,000 250,000 300,000 350,000 400,000 0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200 Transactions per Second (TPS) Seconds PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds Baseline 340 seconds
  • 35. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. RO Application Cluster Cache Management (CCM) Feature RW Application RO Application Async Invalidation & Update Availability zone 1 Availability zone 3 Availability zone 2 Aurora Storage RO RO RO RO
  • 36. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. RO Application Cluster Cache Management (CCM) Feature RW Application RO Application Async Invalidation & Update Availability zone 1 Availability zone 3 Availability zone 2 Aurora Storage RO RO RO RO apg_ccm_enabled=on
  • 37. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. RO Application Cluster Cache Management (CCM) Feature RW Application RO Application Async Invalidation & Update Availability zone 1 Availability zone 3 Availability zone 2 Aurora Storage RO RO RO RO apg_ccm_enabled=on
  • 38. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. RO Application Cluster Cache Management (CCM) Feature RW Application RO Application Async Invalidation & Update Availability zone 1 Availability zone 3 Availability zone 2 Aurora Storage RO RO RO RO apg_ccm_enabled=on
  • 39. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. RO Application Cluster Cache Management (CCM) Feature RW Application RO Application Async Invalidation & Update Availability zone 1 Availability zone 3 Availability zone 2 Aurora Storage RO RO RO RO apg_ccm_enabled=on
  • 40. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Failover time - Cluster Cache Management 0 50,000 100,000 150,000 200,000 250,000 300,000 350,000 400,000 0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200 Transactions per Second (TPS) Seconds PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds Baseline CCM Enabled 340 seconds
  • 41. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Failover time - Cluster Cache Management 0 50,000 100,000 150,000 200,000 250,000 300,000 350,000 400,000 0 60 120 180 240 300 360 420 480 540 600 660 720 780 840 900 960 1020 1080 1140 1200 Transactions per Second (TPS) Seconds PGBench 20X RO / 1X RW 160GB Cached - Failover at 600 Seconds Baseline CCM Enabled 32 seconds 340 seconds
  • 42. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Pg_prewarm • Extension available in all supported versions of PostgreSQL • Can manually load tables and indexes into cache • PostgreSQL 11 introduced auto prewarm to restore the cache after a restart or failover Standby Primary Availability Zone 1 Availability Zone 2 AWS Region
  • 43. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Pg_prewarm • Extension available in all supported versions of PostgreSQL • Can manually load tables and indexes into cache • PostgreSQL 11 introduced auto prewarm to restore the cache after a restart or failover Standby Primary Availability Zone 1 Availability Zone 2 AWS Region
  • 44. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Pg_prewarm • Extension available in all supported versions of PostgreSQL • Can manually load tables and indexes into cache • PostgreSQL 11 introduced auto prewarm to restore the cache after a restart or failover Standby Primary Availability Zone 1 Availability Zone 2 AWS Region
  • 45. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Pg_prewarm • Extension available in all supported versions of PostgreSQL • Can manually load tables and indexes into cache • PostgreSQL 11 introduced auto prewarm to restore the cache after a restart or failover Standby Primary Availability Zone 1 Availability Zone 2 AWS Region
  • 46. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Pg_prewarm • Extension available in all supported versions of PostgreSQL • Can manually load tables and indexes into cache • PostgreSQL 11 introduced auto prewarm to restore the cache after a restart or failover Standby Primary Availability Zone 1 Availability Zone 2 AWS Region
  • 47. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Pg_prewarm • Extension available in all supported versions of PostgreSQL • Can manually load tables and indexes into cache • PostgreSQL 11 introduced auto prewarm to restore the cache after a restart or failover Primary Availability Zone 1 Availability Zone 2 AWS Region
  • 48. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Pg_prewarm • Extension available in all supported versions of PostgreSQL • Can manually load tables and indexes into cache • PostgreSQL 11 introduced auto prewarm to restore the cache after a restart or failover Primary Availability Zone 1 Availability Zone 2 AWS Region
  • 49. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary Fault Injection Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 50. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary Fault Injection • AWS Fault Injection Simulator • Service API’s/cli Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 51. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary Fault Injection • AWS Fault Injection Simulator • Service API’s/cli  EC2 - stop-instances Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 52. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary Fault Injection • AWS Fault Injection Simulator • Service API’s/cli  EC2 - stop-instances Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 53. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary Fault Injection • AWS Fault Injection Simulator • Service API’s/cli  EC2 - stop-instances Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 54. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standby Primary Fault Injection • AWS Fault Injection Simulator • Service API’s/cli  EC2 - stop-instances  RDS - reboot-instance --force-failover  Aurora – failover-db-cluster Availability Zone 1 Availability Zone 2 AWS Region Applications Applications
  • 55. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Fault Injection • AWS Fault Injection Simulator • Service API’s/cli  EC2 - stop-instances  RDS - reboot-instance --force-failover  Aurora – failover-db-cluster Availability Zone 1 Availability Zone 2 AWS Region Applications Applications Standby Primary
  • 56. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Timeouts • Timeouts prevent runaway queries Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 57. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Timeouts • Timeouts prevent runaway queries Availability Zone 1 Availability Zone 2 AWS Region Applications
  • 58. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Timeouts • Timeouts prevent runaway queries • Timeouts can be implemented at any or all layers in the application stack Availability Zone 1 Availability Zone 2 AWS Region Applications 4 sec 10 sec 30 sec
  • 59. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Timeouts • Timeouts prevent runaway queries • Timeouts can be implemented at any or all layers in the application stack • Improperly coordinated timeouts can cause connection storms Availability Zone 1 Availability Zone 2 AWS Region Applications 4 sec 10 sec 30 sec
  • 60. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Timeouts • Timeouts prevent runaway queries • Timeouts can be implemented at any or all layers in the application stack • Improperly coordinated timeouts can cause connection storms • The database statement timeout needs to be the shortest duration Availability Zone 1 Availability Zone 2 AWS Region Applications 30 sec 10 sec 4 sec
  • 61. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you! © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Grant McAlister Jim Mlodgenski