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?