Допис
Діліться своїми знаннями.

Storage Sharding and Data Indexing
Problem this solves: Apps slow down because they lump too much into single large objects.
What you’ll learn:
How to shard storage
Dynamic fields as scalable indexes
Trade-offs of fine vs coarse objects
Step-by-step: Sharding NFT collections
Root Collection object (shared).
Dynamic fields for each NFT.
Retrieval by ID → no scanning large lists.
- NFT Ecosystem
Storage sharding and indexing help avoid bottlenecks by splitting large objects into smaller, more manageable ones. Instead of cramming everything into a single shared object (which forces consensus overhead), you shard storage into multiple objects. For example, in an NFT collection, a **Root Collection** acts as the anchor, while each NFT is stored as its own object via **dynamic fields**. This way, retrieving an NFT by ID is direct and efficient, without scanning a huge list. **Trade-offs:** * **Fine-grained objects** = better scalability, but more objects to manage. * **Coarse-grained objects** = simpler design, but slower as they grow. In practice, sharding ensures apps stay fast even with thousands or millions of entries.
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
Зароби свою частку з 1000 Sui
Заробляй бали репутації та отримуй винагороди за допомогу в розвитку спільноти Sui.

- ... SUIDpodium.js+181
- ... SUITucker+165
- ... SUIGifted.eth+149
- ... SUIacher+113
- ... SUIcasey+88
- ... SUIMiniBob+65
- ... SUItheking+55
- Чому BCS вимагає точного порядку полів для десеріалізації, коли структури Move мають названі поля?55
- Помилки перевірки кількох джерел» у публікаціях модуля Sui Move - автоматичне вирішення помилок45
- Невдала операція Sui: об'єкти, зарезервовані для іншої транзакції49
- Помилка Sui Move - Неможливо обробити транзакцію Не знайдено дійсних газових монет для транзакції315
- Як максимізувати прибуток від SUI: Sui Staking проти Liquid Staking110