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
| Need | Use |
|---|---|
| Player progress, settings, owned state | Cloud Save |
| Live leaderboard for a round | Memory Store sortedMap |
| Matchmaking / cross-instance handoff | Memory Store queue |
| Hot counter (players in a zone) | Memory Store increment |
| Anything you'd be upset to lose | Cloud Save |
Reference
- Web SDK →
Helix.memoryStore - REST →
/v1/memorystore/:worldId/...