HELIX 3 Docs
Platform API

Memory Store

Volatile, low-latency storage shared across all instances of a world. TTL-required. Great for leaderboards, matchmaking, and hot counters — never the source of truth.

Helix.memoryStore is HELIX's volatile store: fast, shared across every running instance of your world, and always expiring. It's for live state that's cheap to lose. If you know Roblox, this is MemoryStore.

Never the source of truth

Every Memory Store entry requires a TTL and may vanish when it expires or under pressure. It has no economic authority — it cannot grant items or LIX. For anything that must survive, write to Cloud Save.

API

Prop

Type

Live leaderboard example

// record a score (atomic, ranked, shared across instances)
const board = Helix.memoryStore.sortedMap('round-scores');
await board.set(playerId, score, 300); // 5-minute TTL

// read the top 10
const top = await board.getRange({ limit: 10, descending: true });

Hot counter example

// count concurrent players in a zone without hammering Cloud Save
const inZone = await Helix.memoryStore.increment(`zone:${zoneId}`, 1, 60);

When to use which

NeedUse
Player progress, settings, owned stateCloud Save
Live leaderboard for a roundMemory Store sortedMap
Matchmaking / cross-instance handoffMemory Store queue
Hot counter (players in a zone)Memory Store increment
Anything you'd be upset to loseCloud Save

Reference

On this page