基于Minio+Sia实现的类S3形式文件分享功能详解

原文来自于Sia官方8月3日博客

We launched Sia Bounties two weeks ago with a bounty for a Sia + Minio integration, and received an overwhelmingly positive response! David Gore (user dvstate) quickly submitted a high-quality integration only two days later, and has been working diligently with several testers from the Sia community to refine and improve the Minio integration. Today we are thrilled to announce that the integration is ready for wider use, and it brings some very exciting new file sharing features to Sia!

我们在两周前发起了Sia大奖赛,第一个大奖任务是实现Sia+Minio的集成应用。在我们发布了大奖赛任务通知后,我们收到了大量参赛者的积极回应!David Gore (网名为:dvstate)只在任务发布的两天后就很快地高质量地完成了集成任务,并在随后的时间内积极与Sia社区的大量测试用户进行交互,不断优化和提升Sia与Minio的集成功能。今天我们很激动地宣布集成功能已可以提供给更多用户使用了。它能为Sia带来一些令人兴奋的新的文件分享功能!

Minio is a distributed object storage server, which allows users to connect to any data source (like S3, Azure, GCP), create buckets for file storage, and then share URLs to the files. It also provides an external S3-compatible API.

Minio是一个分布式对象存储服务器,它允许用户连接任何数据源(如S3、Azure和GCP)、为文件创建创建存储空间、为文件创建分享链接地址。它也提供了额外的S3兼容的API接口。

With the Sia integration, Minio users can now store their files on the Sia network for a fraction of Amazon’s price.

通过与Sia集成,Minio用户现在可以将他们的文件存储在Sia网络中,其存储费用仅为Amazon的零头。

Here’s how the integration works. First, on Sia, the user deposits Siacoin and creates an allowance for storage on the network. Then, on Minio server, the user launches the Sia gateway, creates buckets, and starts uploading files.

集成后的工作原理是这样的:首先在Sia中用户存放SC,并且在网络中为存储空间创建津贴。然后在Minio服务器中用户启动Sia网关、创建存储空间、并且开始上传文件。

Uploaded files are first stored locally on the Minio server, and then uploaded to Sia. The upload is marked as complete once the file reaches 1x redundancy on Sia. From there, Sia will naturally boost the redundancy to 3x, storing the data across 30 hosts all over the world.

上传的文件首先存储在Minio服务器本地,然后上传至Sia网络中。当在文件在Sia网络中达到1倍冗余时,上传任务将被标识为完成。此时Sia那你就将会自动将形成3倍冗余,将数据存储在世界各地30个托管主机中。

When downloading data, the files are first downloaded from the Sia network to the Minio server, and then downloaded from the server to the user. Minio server caches the file for quick downloading. As the cache fills up, it will automatically delete the oldest files. This ensures that popular, frequently downloaded files will be fast, while less frequently accessed files will have a slight delay.

当下载数据时,文件将首先从Sia网络中下载至Minio服务器中,然后从服务器下载给用户。Minio服务器通过对文件采用缓存机制实现快速下载。当缓存满了之后,它将会自动删除最旧的文件。这将确保流行的、下载频繁的文件能快速下载,因为当访问不多的文件将会有少量延迟。

Here’s a great example. We created a public bucket in a Minio server (thanks Luxor for hosting!) called “public” and added some files. You can view through the Minio web interface: http://minio.luxor.tech/minio/public/ or you can download or embed the files directly from a URL. Everything is being stored on the Sia backend:

下面是很好的示例。我们在Minio服务器中创公共存储空间(感谢Luxor提供主机托管!),我们称该服务器为“公有存储”,然后向该空间添加了一些文件。你可以通过Minio的web接口( http://minio.luxor.tech/minio/public/  )查看这些文件,也可以通过URL下载文件或者嵌入这些文件地址。

Obelisk Chip: http://minio.luxor.tech/public/obelisk_chip.png

Sia+Minio: http://minio.luxor.tech/public/Sia_Minio_Bounty_03.png

David’s Talk:http://minio.luxor.tech/public/David_Sia_Presentation.mp4

Sia v1.3.0: http://minio.luxor.tech/public/Sia 1.3.0 all platforms.zip

Sia V1.3.0 UI: http://minio.luxor.tech/public/SIa-UI 1.3.0 all platforms.zip

This means that, with the Sia + Minio integration, users can start using Sia for file sharing today!

这意味着通过Sia+Minio的集成,用户今天可以开始使用文件共享了!

We are thrilled with the success of this first bounty, and are looking forward to launching the next bounty in a couple weeks. Congratulations to David Gore for winning the 300,000 SC reward!

我们为第一个大奖赛任务的成功感到很激动,并且将在未来的几周启动下一个大奖赛!

今天我们先祝贺此次获奖的David Gore,他将获得300000个SC。

For questions related to the Sia + Minio integration, please join the #bounties channel on our Slack or post issues to David Gore’s Github repository at https://github.com/dvstate/minio. More detailed instructions for getting set up are available on the repo.

如果有关于Sia+Minio的问题,请在我们的Slack讨论组中加入#bounties频道,或者向David Gore的Github空间https://github.com/dvstate/minio提问!更多的关于获取配置的说明可通过repo找到!


译者:区块链研习社 菜菜子

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 194,390评论 5 459
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 81,821评论 2 371
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 141,632评论 0 319
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 52,170评论 1 263
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 61,033评论 4 355
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 46,098评论 1 272
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 36,511评论 3 381
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 35,204评论 0 253
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 39,479评论 1 290
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 34,572评论 2 309
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 36,341评论 1 326
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 32,213评论 3 312
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 37,576评论 3 298
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 28,893评论 0 17
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,171评论 1 250
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 41,486评论 2 341
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 40,676评论 2 335

推荐阅读更多精彩内容

  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 2,773评论 0 0
  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 9,423评论 0 13
  • 不忍叹息 我的哀思,是你的忧愁 不任叹息 叹息无用,只心伤难耐 不认叹息 愿你历经风雨,归来仍是少年 不识愁滋味 ...
    野杍说阅读 187评论 0 3
  • 这是一个科技的时代,在科技的倡导下我们接触着不一样的世界。各大商业异军突起,电子竞技成了其中的一部分…… ...
    通往光明的道路阅读 359评论 0 1
  • 2.21日 其实我早一点来就是想早一点见到你 已经很久没见你了 早上坐上车的那一刻就想好了和你见面的场景 。 不过...
    吴三石石石石ah阅读 127评论 0 0