Sui.

帖子

分享您的知识。

article banner.
dhaholar.
Aug 22, 2025
文章

Shared Objects in Depth: When You Really Need Them

Problem this solves: Developers overuse shared objects, causing consensus slowdowns.

What you’ll learn:

When shared objects are unavoidable

How to design them for minimal contention

Sharding patterns

  1. Good use cases

Orderbooks

Auction houses

Public registries

  1. Bad use cases

Per-user data

Frequently updated counters

  1. Sharding example

Instead of one GlobalLeaderboard, create LeaderboardSeason1, LeaderboardSeason2, etc., each as separate shared objects.

  • Sui
  • Architecture
0
分享
评论
.
Dpodium.js.
Aug 23 2025, 00:52

Why is it generally a bad idea to store per-user data in a shared object on Sui?

Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.

848帖子2233答案
Sui.X.Peera.

赚取你的 1000 Sui 份额

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

奖励活动八月