技術問答
技術文章
iT 徵才
聊天室
2026 鐵人賽
登入/註冊
問答
文章
Tag
邦友
鐵人賽
搜尋
2021 iThome 鐵人賽
DAY
13
0
自我挑戰組
邁向 AWS Certified Solutions Architect - Associate
系列 第
13
篇
[DAY 13] ElastiCache
13th鐵人賽
艾克西猴
2021-09-28 23:51:59
888 瀏覽
分享至
可視為 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
組
累計文章數
19860
篇
完賽人數
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
熱門問題
在上海使用 Fortigate 的IPSEC VPN
請益如何關閉Windows的登入畫面?
Exchange 2016 遇到的問題 Outlook無法登入
o365 sharedmailbox 收件一問 - 轉寄去DISTRIBUTION GROUP 問題
想轉職至 IT 相關領域,想請教幾個問題
熱門回答
在上海使用 Fortigate 的IPSEC VPN
o365 sharedmailbox 收件一問 - 轉寄去DISTRIBUTION GROUP 問題
請益如何關閉Windows的登入畫面?
Exchange 2016 遇到的問題 Outlook無法登入
熱門文章
AI 時代,我們為什麼比過去更需要軟體工程師?解析 Vibe Coding 的虛與實
當我的AI助手住進雲端:我的生活變了, 使用Clawdbot + Linode一周感受
【C++學習筆記】04《邏輯運算與運算子》
用 Windows Security Event Log 還原攻擊鏈:從登入爆破到可疑執行序,把事件 ID 變成可稽核的偵測 Playbook
解決中文母語者的 Gemini 破版困擾,拯救數位強迫症
IT邦幫忙
×
標記使用者
輸入對方的帳號或暱稱
Loading
找不到結果。
標記
{{ result.label }}
{{ result.account }}