Skip to main content

Module upstash

Module upstash 

Source

Modulesยง

codec ๐Ÿ”’
publisher ๐Ÿ”’
sources ๐Ÿ”’

Structsยง

MarqueeMoversSource
StandardSnapshotSource
UpstashBatchPublisher
Batched Upstash publisher that issues a single Lua EVAL per tick, setting all snapshot keys atomically. Each SET+EX inside the Lua script counts as one billed Upstash command regardless of key count, cutting command costs ~6x compared to 6 independent SET calls.
UpstashInitResult

Traitsยง

UpstashSnapshotSource
A single snapshot source that produces compressed payloads for the batch publisher.

Functionsยง

compress_snapshot_payload
init
system_time_to_millis
version_upstash_key