Structsยง
- Upstash
Batch Publisher - 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.
- Upstash
Redis ๐Config - Configuration extracted from the markets-publisher env vars. All 6 publishers share the same Upstash Redis instance; only the markets publisher historically owned the credential env vars.
Constantsยง
- ENDPOINT_
ENV ๐ - PASSWORD_
ENV ๐ - PER_
SOURCE_ ๐TIMEOUT - PORT_
ENV ๐ - UPSTASH_
COMMAND_ ๐TIMEOUT - UPSTASH_
CONNECT_ ๐TIMEOUT
Traitsยง
- Upstash
Snapshot Source - A single snapshot source that produces compressed payloads for the batch publisher.