简体   繁体   English

MonoTorrent发行软件

[英]MonoTorrent to distribute software

Just wondering of what people think of using MonoTorrent and the torrent protocol as the core part of an installer.... 只是想知道人们对使用MonoTorrent和torrent协议作为安装程序的核心部分的想法。

Essentially I am creating an installer which has the following requirements: 本质上,我正在创建一个具有以下要求的安装程序:

  • Access through Firewalls/Proxies 通过防火墙/代理访问
  • Runs over SSL 通过SSL运行
  • Authenticated access to the installer/files 对安装程序/文件的身份验证访问
  • Background download 后台下载
  • Handel bad connections (ie 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. 因此,考虑到所有这些,我认为将MonoTorrent嵌入安装程序包中,运行一个私有跟踪器,并让客户端从服务器下载(不播种,仅提供种子)是一个好主意。

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? 我可以从MonoTorrent获得此功能吗?安装有多困难? Is there a better alternative that will meet these requirements? 是否有更好的替代方案可以满足这些要求?

我不能对MonoTorrent进行特别评论,但是大型软件公司的确确实使用了torrent协议来分发修补程序和安装程序(例如,参见暴雪娱乐)。

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. 对于暴风雪来说,这是一种非常容易上瘾的MMORPG游戏,这是有道理的,它有频繁出现的大补丁,并且在世界各地散布着数以百万计的p(l)ayers。

Monotorrent seems to be dead... howerver it seems also to work (I'm fighting with it at the moment). Monotorrent似乎已经死了……但是它似乎也可以工作(目前我正在与之抗争)。

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. 鉴于您不允许播种者使用,因此没有使用主要的种子资源,因此,我认为您正在寻求一种基于https,基本授权和SVF辅助文件一致性检查的负载平衡下载系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM