MonoTorrent 分发软件
只是想知道人们如何看待使用 MonoTorrent 和 torrent 协议作为安装程序的核心部分......
本质上我正在创建一个具有以下要求的安装程序:
- 通过防火墙/代理访问
- 通过 SSL 运行
- 对安装程序的身份验证访问/文件
- 后台下载
- Handel 连接不良(即,如果发生断开连接,则拾取文件中途的下载)
- 验证下载内容的完整性
- 下载节流
因此,鉴于所有这些,我认为在安装程序包中嵌入 MonoTorrent,运行私人跟踪器并让客户端从服务器下载(不播种,仅浸出)将是一个好主意。
这还有一个额外的好处,即能够根据负载使额外的服务器联机或脱机。
你们觉得怎么样?我可以从 MonoTorrent 获得此功能吗?设置起来有多难?有没有更好的替代方案可以满足这些要求?
Just wondering of what people think of using MonoTorrent and the torrent protocol as the core part of an installer....
Essentially I am creating an installer which has the following requirements:
- Access through Firewalls/Proxies
- Runs over SSL
- Authenticated access to the installer/files
- Background download
- Handel bad connections (i.e. if a disconnect occurs, pickup downloads that were halfway through a file)
- Validate integrity of downloaded content
- Download Throttling
So given all of this, I thought that embedding MonoTorrent in the installer package, running a private tracker and having the clients download (no seeding only leaching) from the server would be a good idea.
This also has the side benefit of being able to bring extra servers online or offline depending on load.
What do you guys think? Can I get this functionality from MonoTorrent and how hard is it to setup? Is there a better alternative that will meet these requirements?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我无法具体评论 MonoTorrent,但大型软件公司确实使用了 torrent 协议来分发补丁程序和安装程序(例如,请参阅暴雪娱乐)。
I can't comment specifically on MonoTorrent, but large software companies have indeed used the torrent protocol to distribute patchers and installers (see Blizzard Entertainment, for example).
我相信这相对不切实际,因为需要播种者(所以有很大的用户群)
你将不得不依靠让更多的人同时安装你的软件,除非你是超级公司或其他公司就不那么可行了。
对于暴雪这款非常容易上瘾的 MMORPG 游戏来说,这是有道理的,它经常发布大补丁,并且有数百万玩家分散在世界各地。
Monotorrent 似乎已经死了......但是它似乎也可以工作(我现在正在与它斗争)。
鉴于您不允许播种者,因此无法使用主要的 torrent 优势,因此在我看来,您需要一个基于 https、基本授权和 SVF 辅助文件一致性检查的负载平衡下载系统。
I believe this would be relatively impractical because of the need of seeders (so a big user-base)
You would have to rely on having more people installing your software at the same time, which, unless you are an uber-corp or something else would not be so feasible.
This makes sense in the case of blizzard an highly addictive MMORPG game, with frequent and big patches and millions of p(l)ayers scattered around the world.
Monotorrent seems to be dead... howerver it seems also to work (I'm fighting with it at the moment).
Given that you are not allowing seeders the major torrent benefit is not used, so in my opinion you are asking for a load balanced download system based on https, basic authorization, and SVF-aided file consistency checking.