技術問答
技術文章
iT 徵才
聊天室
2026 鐵人賽
登入/註冊
問答
文章
Tag
邦友
鐵人賽
搜尋
2021 iThome 鐵人賽
DAY
13
0
自我挑戰組
邁向 AWS Certified Solutions Architect - Associate
系列 第
13
篇
[DAY 13] ElastiCache
13th鐵人賽
艾克西猴
2021-09-28 23:51:59
907 瀏覽
分享至
可視為 in memeory DB, 具高效低延遲的特性
AWS ElastiCache 提供託管的 Redis 和 MemCached, 而 Memcached 適用於要求低於 1 millisecond 延遲的應用程式。
有助於為有大量讀取的資料庫降低負荷
不過應用程式需配合修改程式, 以便使用 ElastiCache
應用程式需要先 query ElastiCache, 若無結果, 再從 RDS DB query, 並將結果 cache 在 ElastiCache
Redis
支援 multi-AZ 達到 自動 faileover
可用讀取複本達到 high availability
具有備份與回存功能
Data durability 採用 AOF (Append only file) persistent
AOF: 一種資料持久化的方式
Ref:
Append only files (AOF) in ElastiCache for Redis
Memcached
使用 multi node 對資料做 partioning (sharding)
無備份與回存功能
不具備 high avalilability
並非是 persistent 的
多執行緒架構
安全相關
不支援 IAM 驗證
ElasticCache 的 IAM policies 只用在 AWS API level 的 security
Redis
可用 Redis AUTH 功能
在建立 Redis cluster 時設置帳號密碼
支援 SSL 動態加密
Memcached
支援 SASL-based 驗證 (advanced)
應用案例
Session Store
將暫時的 session data 暫存在 cache
Lazy Loading
將資料均暫存在 cache
Write Through
當寫入或修改資料至 DB 時, 也寫入至 cache
留言
追蹤
檢舉
上一篇
[DAY 12] AWS RDS 之 Aurora
下一篇
[DAY 14] Route 53
系列文
邁向 AWS Certified Solutions Architect - Associate
共
16
篇
目錄
RSS系列文
訂閱系列文
2
人訂閱
12
[DAY 12] AWS RDS 之 Aurora
13
[DAY 13] ElastiCache
14
[DAY 14] Route 53
15
[DAY 15] Route 53 part 2
16
[DAY 16] Route 53 part 3
完整目錄
熱門推薦
{{ item.subject }}
{{ item.channelVendor }}
|
{{ item.webinarstarted }}
|
{{ formatDate(item.duration) }}
直播中
立即報名
尚未有邦友留言
立即登入留言
iThome鐵人賽
參賽組數
902
組
團體組數
37
組
累計文章數
19831
篇
完賽人數
528
人
看影片追技術
看更多
{{ item.subject }}
{{ item.channelVendor }}
|
{{ formatDate(item.duration) }}
直播中
熱門tag
15th鐵人賽
16th鐵人賽
13th鐵人賽
14th鐵人賽
17th鐵人賽
12th鐵人賽
11th鐵人賽
鐵人賽
2019鐵人賽
javascript
2018鐵人賽
python
2017鐵人賽
windows
php
c#
linux
windows server
css
react
熱門問題
趣味SQL,找出待簽核的員工 (AI來解題回答)
WIFI問題遊戲延遲改善
ASUS ProArt B550 Creator 主板與雙顯卡(N卡+I卡) PCIe4.0 x8頻寬問題
Connect-AzureAD 的 powershell 指令
MATABASE 多期比較問題請教
Debian 13 安裝 bind9 後找不到範例檔
熱門回答
WIFI問題遊戲延遲改善
ASUS ProArt B550 Creator 主板與雙顯卡(N卡+I卡) PCIe4.0 x8頻寬問題
趣味SQL,找出待簽核的員工 (AI來解題回答)
Connect-AzureAD 的 powershell 指令
熱門文章
商業智慧 BI 是什麼?完整解讀Business Intelligence定義、價值與企業導入指南
打造自動化交易預警:從 jmg 停牌看金融數據的串接實務
BI報表是什麼?BI報表工具、製作流程與案例完整解析
2026 AI 音訊分離評測:LALAL.AI 還是 Coolo AI?開發者與創作者的選型指南
用 Next.js Server Actions 10 分鐘實作完備的登入註冊系統
IT邦幫忙
×
標記使用者
輸入對方的帳號或暱稱
Loading
找不到結果。
標記
{{ result.label }}
{{ result.account }}