Walrus.

帖子

分享您的知识。

McMMoKing.
Apr 30, 2025
专家问答

Why did a small 5B file expand to a 62MB blob on Walrus?

I'm trying to understand why a small 5 B file ballooned into a 62 MB blob after being stored with Walrus using the command $ walrus store a --epochs 5. From looking into it, it seems like replication metadata might have something to do with it, but I'm not entirely sure why the size increased this much. Can someone elaborate on this?

  • Walrus
  • Typescript SDK
1
2
分享
评论
.

答案

2
1 Luca.
Apr 30 2025, 20:26

It’s mainly due to the encoding and metadata requirements when storing blobs using Walrus. The smallest size for an encoded file, inclusive of replication metadata, is typically 62 MB. This large increase is a result of the encoding process which uses erasure codes and other metadata handling mechanisms to ensure reliability and availability of the data across storage nodes.

1
评论
.
Aliabee.
May 1 2025, 00:41

You're correct in thinking that metadata plays a significant role here. The Walrus storage system encodes blobs using erasure codes which involves expanding the original data for better stability and access in distributed storage systems. This expansion factor can be about 4.5 to 5 times the original size. You can find more details about this encoding in the Walrus documentation: https://docs.walrus.site/design/encoding.html.

0
评论
.

你知道答案吗?

请登录并分享。

Walrus is a decentralized storage and data availability protocol designed specifically for large binary files, or "blobs"

35帖子63答案
Sui.X.Peera.

赚取你的 1000 Sui 份额

获取声誉积分,并因帮助 Sui 社区成长而获得奖励。

我们使用 cookie 确保您在我们的网站上获得最佳体验。
更多信息