Replication vs Backup

Replication provides redundancy so that in case of hardware failure, the service is still available

Backup periodically stores a copy of the data offline in case it needs to be restored

Replication is useful to protect against hardware failures

Backup is to prevent against the case where operator error or application bug or user error wipes out all replicas of a piece of data

 

Regarding Cassandra, replication with factor 3 means the data will be stored in 3 nodes to prevent single point failure. But when you write something wrong to the nodes and want to get your original data back, backups earlier is here to help.

Replication doesn't mean the data is in memory, instead disk mirroring is often used for replication, check RAID 1

 

In summary, replication itself provides high availability already while backup is for restoring to a point.

posted @ 2018-05-02 17:14  小张的练习室  阅读(175)  评论(0)    收藏  举报
编辑推荐:
· 我在厂里搞 wine 的日子
· 如何通过向量化技术比较两段文本是否相似?
· 35+程序员的转型之路:经济寒冬中的希望与策略
· JavaScript中如何遍历对象?
· 领域模型应用
阅读排行:
· 独立项目运营一周年经验分享
· 一款开源免费、通用的 WPF 主题控件包
· 独立开发,这条路可行吗?
· 【定时任务核心】究竟是谁在负责盯着时间,并在恰当时机触发任务?
· 解决了AI聊天的10个痛点后,我又做了一个新功能:交叉分析表
历史上的今天:
2017-05-02 CountDownLatch, CyclicBarrier and Semaphore
点击右上角即可分享
微信分享提示