SAP-C03

Introduction to Performance and Purpose-Built Data Stores

Caching, buffering, replicas, purpose-built databases and high-performance compute and storage.

  • 8 lessons
  • Module quiz

Performance problems in an architecture usually have one of a few causes: the same data is read repeatedly from a slow source, bursts of writes exceed what a back end can absorb, all reads go to a single database, or the data store does not suit the way the data is accessed. Each cause has a matching remedy, and choosing the right one depends on understanding the workload's access pattern, meaning which data is read or written, how often and how quickly.

Caches, such as Amazon CloudFront, Amazon ElastiCache and DynamoDB Accelerator (DAX), keep frequently read data close to where it is needed. Buffers, such as Amazon SQS and Amazon Kinesis, absorb bursts so that back ends can be sized for average rather than peak load. Read replicas spread reads across several copies of a database. Purpose-built databases, such as Amazon DynamoDB for key-value access, Amazon Neptune for graphs and Amazon OpenSearch Service for search, each serve one kind of access pattern far better than a general-purpose database. For specialised workloads, high-performance computing (HPC) uses dedicated networking and storage.

Why it matters for the exam

These lessons support Task 1.5, Design data, storage, and database architectures, in Domain 1: database selection, scaling for high availability and caching. Questions describe an access pattern or a bottleneck and ask for the data store or performance pattern that fits it.

How this module is organised

Placing Caches at Each Layer of an Architecture, Absorbing Write Bursts with Buffers and Scaling Reads with Replicas and Local Reads explain the three general remedies for load. Selecting Purpose-Built Databases explains how to choose a database from its access pattern. Designing High-Performance Compute Environments and Matching High-Performance Storage to Access Patterns explain the options for HPC and other demanding workloads. Diagnosing DynamoDB Data Modelling Problems and Choosing DynamoDB Capacity and Avoiding Hot Partitions explain how to design DynamoDB tables that perform well at scale.

  1. Placing Caches at Each Layer of an Architecture Lesson 1
  2. Absorbing Write Bursts with Buffers Lesson 2
  3. Scaling Reads with Replicas and Local Reads Lesson 3
  4. Selecting Purpose-Built Databases Lesson 4
  5. Designing High-Performance Compute Environments Lesson 5
  6. Matching High-Performance Storage to Access Patterns Lesson 6
  7. Diagnosing DynamoDB Data Modelling Problems Lesson 7
  8. Choosing DynamoDB Capacity and Avoiding Hot Partitions Lesson 8
  9. Practise and review
  10. Checkpoint Practice activities across the module
  11. Test your knowledge 5 questions