TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

CopyCat: Protocol-agnostic implementation of the Raft consensus algorithm

61 点作者 kuujo将近 11 年前

2 条评论

mavelikara将近 11 年前
I am writing a program which has to durably store large number of small files. My current implementation stores these on the local disk as files in a particular folder structure. I am considering designing some approach to make this program run on a cluster of machines for high-availability, fault-tolerance &amp; scalability reasons.<p>One approach I can think of is to run a distributed document database and use that for storage. I don&#x27;t need most features of such database products in the foreseeable future, so I fear that they will add operational overhead for not much benefit.<p>Another approach I can think of is to run my processing nodes against a network file system, and rely on that to do the replication.<p>Yet another approach I am considering is to use something like CopyCat to implement the file replication in my application code. Is this a good use case for CopyCat?
评论 #8181057 未加载
评论 #8181389 未加载
评论 #8180941 未加载
michaelmior将近 11 年前
This looks fantastic! As a DB researcher, I&#x27;ve found in the past I need some type of consensus algorithm for a system I&#x27;m building, but I don&#x27;t want to spend a lot of time implementing something myself. I can see this being very useful in academia for scenarios like this.