MystenLabs / walrus-sites

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

Parallel upload of blobs to walrus #169

Open giac-mysten opened 2 months ago

giac-mysten commented 2 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.

Tzal3x commented 2 months ago

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

giac-mysten commented 2 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.