Github是否会将我们的项目自动备份到全球范围内的镜像,如SourceForge? [英] Does Github auto backup our projects into globally spread mirrors, like SourceForge?

查看:262
本文介绍了Github是否会将我们的项目自动备份到全球范围内的镜像,如SourceForge?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在说这个:




DGit自动选择服务器来托管每个存储库,保留这些副本同步,并选择最好的服务器来处理每个传入的读取请求。写入将同步传输到所有三个副本,并且仅在至少有两个副本确认成功时才会提交。



GitHub现在将存储库存储在名为 github的群集中-dfs-dfs 是DGit文件服务器的简称。存储库存储在这些文件服务器上的本地磁盘上,由Git和libgit2提供。该群集的客户端包括Web前端和与用户的Git客户端通信的代理服务器。


I am talking about this:
"SourceForge.net maintains a geographically-distributed network of mirror servers, which receive copies of the files and dispense them to users."

So, does github has the same automatically mirrored backup of our projects and files? I am having big trouble trying to find that information.

解决方案

Yes, it is called DGit for Distributed Git:

As many readers already know, Git itself is distributed—any copy of a Git repository contains every file, branch, and commit in the project’s entire history.
DGit uses this property of Git to keep three copies of every repository, on three different servers. The design of DGit keeps repositories fully available without interruption even if one of those servers goes down.

DGit automatically selects the servers to host each repository, keeps those replicas in sync, and picks the best server to handle each incoming read request. Writes are synchronously streamed to all three replicas and are only committed if at least two replicas confirm success.

GitHub now stores repositories in a cluster called github-dfs—dfs is short for "DGit file server." The repositories are stored on local disks on these file servers and are served up by Git and libgit2. The clients of this cluster include the web front end and the proxies that speak to users’ Git clients.

这篇关于Github是否会将我们的项目自动备份到全球范围内的镜像,如SourceForge?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆