什么是超级驱动器,它与dat有何不同? [英] What is hyperdrive and how is that different from dat?

查看:124
本文介绍了什么是超级驱动器,它与dat有何不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在尝试进入dat,我想知道dathyperdrive模块之间的区别.

I've been trying to get into dat recently and I'm wondering about the difference between dat and the hyperdrive module.

推荐答案

TL; DR:Dat适用于最终用户,Hyperdrive适用于开发人员.

TL;DR: Dat is for end users and Hyperdrive for developers.

Dat 是用于共享分布式文件的用户友好界面.任何人都可以下载该程序并将其用于安全地对等共享文件.

Dat is a user friendly interface for sharing distributed files. Anyone can download the program and use it to securely share files peer-to-peer.

内部使用了 Hyperdrive ,它是一个旨在实现相同API的Node.js程序包.作为Node.js的核心fs模块,但它还提供了数据复制功能.

Under the hood it uses Hyperdrive which is a Node.js package that aims to implement the same APIs as Node.js' core fs module, but it also offers data replication features.

还有一个 dat-node 模块,可在您自己的Node.js中使用Dat的功能应用程序.与dat-node相比,与Hyperdrive(灵活性稍差)相比,将自己的Node.js应用程序连接到分布式网络甚至更加容易.

There also is a dat-node module to use Dat's features in your own Node.js applications. With dat-node it is even easier than with Hyperdrive (just a little less flexible) to connect your own Node.js application to the distributed network.

如果您比较 Hyperdrive

If you compare the documentation of Hyperdrive and dat-node you'll quickly spot the simplified interface which dat-node provides.

这篇关于什么是超级驱动器,它与dat有何不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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