DynamoDB: cơ sở dữ liệu key-value độ trễ thấp ở mọi quy môDynamoDB: a low-latency key-value database at any scale
Bài học trình bày năm nội dung: cơ chế truy xuất dữ liệu theo key của DynamoDB, lựa chọn capacity mode và xử lý hot partition bằng DAX, xử lý thay đổi dữ liệu, khôi phục dữ liệu sau thao tác sai, và triển khai trên nhiều Region.This lesson covers five topics: how DynamoDB retrieves data by key, choosing a capacity mode and handling hot partitions with DAX, processing data changes, recovering data after mistakes, and deploying across multiple Regions.
- Mức độ
- Bổ trợ Áp dụng cho các yêu cầu chuyên biệt
- Kiến thức tiên quyết
- RDS + AuroraLambda + API Gateway
- Thời lượng
- ~30 phút, 5 phần học có mô phỏng
Dữ liệu đơn hàng và báo cáo của MFTECH đã được lưu trên Aurora. Giỏ hàng, phiên đăng nhập và vị trí shipper có đặc điểm khác: cấu trúc dữ liệu đơn giản, tần suất đọc ghi liên tục, lưu lượng biến động mạnh. Amazon DynamoDB là cơ sở dữ liệu NoSQL serverless: không có server cần quản lý, tự động mở rộng theo chiều ngang, độ trễ mili giây một chữ số (single-digit millisecond) ở mọi quy mô.
MFTECH’s order and reporting data is already stored on Aurora. Shopping carts, login sessions and shipper locations are different: a simple data structure, constant reads and writes, and highly variable traffic. Amazon DynamoDB is a serverless NoSQL database: there are no servers to manage, it scales out automatically, and it delivers single-digit millisecond latency at any scale.
Các phần của bài học
Kiến thức
5 phần học, đọc theo thứ tự- Phần 1/5Part 1/5 · 6 phút Đã đọc ✓ Đang đọc Table, item và primary keyTables, items and primary keys
- Phần 2/5Part 2/5 · 7 phút Đã đọc ✓ Đang đọc Capacity mode, hot partition và DAXCapacity modes, hot partitions and DAX
- Phần 3/5Part 3/5 · 5 phút Đã đọc ✓ Đang đọc Nạp dữ liệu, TTL và DynamoDB StreamsData ingestion, TTL and DynamoDB Streams
- Phần 4/5Part 4/5 · 8 phút Đã đọc ✓ Đang đọc Backup, point-in-time recovery và deletion protectionBackup, point-in-time recovery and deletion protection
- Phần 5/5Part 5/5 · 5 phút Đã đọc ✓ Đang đọc Global tables và triển khai nhiều RegionGlobal tables and multi-Region deployment
Bài kiểm tra
tự đánh giá trước khi sang bài sauCác bài tiếp theo trong lộ trình học
Bài học tiếp theo
Tài liệu AWS
Xem thêm 12 tài liệu
- Using time to live (TTL) in DynamoDB
- Point-in-time recovery for DynamoDB
- Global tables: multi-Region replication for DynamoDB
- How DynamoDB global tables work
- Understanding Amazon DynamoDB billing for global tables
- Partitions and data distribution
- Designing partition keys to distribute your workload
- DAX and DynamoDB consistency models
- Using deletion protection
- DynamoDB data export to Amazon S3: how it works
- DynamoDB data import from Amazon S3: how it works
- Using Aurora Global Database
Xem thêm 12 tài liệu
- Using time to live (TTL) in DynamoDB
- Point-in-time recovery for DynamoDB
- Global tables: multi-Region replication for DynamoDB
- How DynamoDB global tables work
- Understanding Amazon DynamoDB billing for global tables
- Partitions and data distribution
- Designing partition keys to distribute your workload
- DAX and DynamoDB consistency models
- Using deletion protection
- DynamoDB data export to Amazon S3: how it works
- DynamoDB data import from Amazon S3: how it works
- Using Aurora Global Database