MystenLabs / walrus-sites

Walrus Sites: Decentralized Websites using Sui and Walrus.
https://docs.walrus.site/walrus-sites/intro.html
Apache License 2.0
37 stars 23 forks source link

Parallel upload of blobs to walrus #169

Open giac-mysten opened 3 months ago

giac-mysten commented 3 months ago

This feature would allow to speed up publishing and updating a site.

The implementation should take care that gas and payment coins do not get locked by the competing uploads. This may require updating the walrus binary to accept a gas coin as an argument.

Parallel upload of blobs to walrus · Issue #169 · MystenLabs/walrus-sites

Tzal3x commented 3 months ago

Should the upload be atomic? Meaning that if an upload of a file fails, the site should be deleted?

giac-mysten commented 3 months ago

Should the upload be atomic? Meaning that if an upload of a file fails, the site should be deleted?

The site is not created until all the blobs are uploaded, currently. So the problem should not arise.