47 lines
1.6 KiB
Markdown
47 lines
1.6 KiB
Markdown
---
|
||
title: "Amazon ElastiCache"
|
||
type: entity
|
||
tags:
|
||
- AWS
|
||
- Database
|
||
- In-Memory
|
||
- Cache
|
||
sources:
|
||
- ctp-topic-51-architecting-with-aws-purpose-built-databases
|
||
last_updated: 2026-04-28
|
||
---
|
||
|
||
## Overview
|
||
Amazon ElastiCache 是 AWS 的全托管内存缓存服务,支持 Redis 和 Memcached 引擎,用于加速数据库读取、减少延迟、支持实时分析和使用场景。
|
||
|
||
## Aliases
|
||
- ElastiCache
|
||
- Amazon ElastiCache
|
||
- ElastiCache Redis
|
||
- ElastiCache Memcached
|
||
|
||
## Description
|
||
- **类型**:全托管内存缓存数据库
|
||
- **支持的引擎**:Redis(丰富数据结构)· Memcached(简单键值)
|
||
- **核心价值**:单位数毫秒甚至亚毫秒延迟 · 降低主数据库负载 · 支持实时排行榜/会话存储/消息队列
|
||
- **适用场景**:缓存层 · 媒体流 · 会话存储 · 实时分析 · 游戏排行榜
|
||
- **生产案例**:Duolingo 使用 ElastiCache 缓存高频词/短语;Peloton 使用 ElastiCache Redis 为客户提供即时反馈
|
||
|
||
## Key Properties
|
||
| 属性 | 说明 |
|
||
|------|------|
|
||
| 引擎 | Redis / Memcached |
|
||
| 集群模式 | 支持集群横向扩展 |
|
||
| 自动故障转移 | 多 AZ 自动故障转移(Redis) |
|
||
| 备份恢复 | 自动快照(Redis) |
|
||
| 加密 | TLS 传输加密 |
|
||
| 节点类型 | 多种内存容量规格 |
|
||
|
||
## Connections
|
||
- [[Amazon-RDS]]:ElastiCache + RDS — 缓存层补充数据库层,提升读取性能
|
||
- [[Amazon-DynamoDB]]:DynamoDB + ElastiCache — 构建多级缓存架构
|
||
- [[Multi-Database-Architecture]]:ElastiCache 在多数据库混合架构中作为缓存/内存数据层
|
||
|
||
## Referenced In
|
||
- [[ctp-topic-51-architecting-with-aws-purpose-built-databases]]
|