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.
【推荐】2025 HarmonyOS 鸿蒙创新赛正式启动,百万大奖等你挑战
【推荐】博客园的心动:当一群程序员决定开源共建一个真诚相亲平台
【推荐】开源 Linux 服务器运维管理面板 1Panel V2 版本正式发布
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 我在厂里搞 wine 的日子
· 如何通过向量化技术比较两段文本是否相似?
· 35+程序员的转型之路:经济寒冬中的希望与策略
· JavaScript中如何遍历对象?
· 领域模型应用
· 独立项目运营一周年经验分享
· 一款开源免费、通用的 WPF 主题控件包
· 独立开发,这条路可行吗?
· 【定时任务核心】究竟是谁在负责盯着时间,并在恰当时机触发任务?
· 解决了AI聊天的10个痛点后,我又做了一个新功能:交叉分析表
2017-05-02 CountDownLatch, CyclicBarrier and Semaphore