integrationPackage manifestv2.0.4

integration.lssm-os-cache-redis

Qualified Redis and Valkey cache, coordination, and SQL-authoritative stream acceleration for LSSM OS.

@lssm-tech/integration.lssm-os-cache-redis
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
serverbunnode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEintegration.lssm-os-cache-redisintegrations

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

4 declarationsSELECT TO INSPECT

@lssm-tech/integration.lssm-os-cache-redis

Optional Redis and Valkey acceleration for LSSM OS T2 topologies. The package implements the provider-neutral Runtime Node distributed-cache, coordination, and event-stream ports through a small injected command client. It does not load SDK modules, read credentials, or own connection lifecycle.

SQL remains authoritative. A cache miss, eviction, adapter timeout, or disabled deployment must fall back to the T1 database path. Cache entries are bound to the full tenant/workspace/environment/product/application scope, topology generation, and qualified capability digest. Values are bounded, digest verified, UTF-8 only, and rejected when they contain credential material.

Invalidation uses one Redis/Valkey Lua transition to delete the entry and append the exact signed invalidation to a monotonic per-namespace reconciliation log. Coordination uses compare-and-set Lua transitions, bounded TTLs, and monotonic fences. These coordination fences are deliberately distinct from Runtime Node work-order fences and never authorize an external effect.

Redis Streams is available as an optional wake-up accelerator over a qualified SQL DurableQueuePortV2. Admission, claim, queue fences, reconciliation, and acknowledgement remain SQL-authoritative. Stream entries contain only immutable envelope/outbox identifiers and digests; they never contain payloads, secrets, claims, effect fences, or provider results. Redis failure or loss therefore degrades to bounded SQL polling without changing execution correctness. The adapter validates an independent redis_streams capability/version binding and distinct component profile, and will not substitute that transport binding for the SQL authority binding.

Compose an official redis client with fromRedisClientV1, or ioredis with fromIoRedisClientV1. The same command surface works with Valkey-compatible clients. Production readiness requires an exact, digest-valid CacheCapabilityProfileV1 whose engine is redis or valkey, plus deployment qualification for the configured server/client/topology versions. The package contains deterministic conformance tests but does not claim a live managed Redis or Valkey service qualification.

Wake consumers recover idle pending entries with XAUTOCLAIM before reading new entries. minimumPendingIdleMilliseconds defaults to 30 seconds and is bounded between one second and one day. Approximate stream trimming is also reconciled with the deduplication map: a mapping is reused only while its exact stream entry still exists, so a trimmed hint can be republished from the SQL outbox instead of becoming permanently unreachable.

Run bun run qualify:local after pulling redis:8.2.1-alpine to execute the real standalone Redis qualification. The command refuses to pull implicitly, binds both the local image ID and repository digest, disables container networking and TCP, uses a private Unix socket, stores AOF state in a uniquely created host temp directory, and removes the container and directory on every exit path. It verifies cache put/get, atomic invalidation ordering, stale-write rejection, poisoned-value containment, 100-way coordination contention, fencing, AOF restart persistence, Streams deduplication, pending recovery, acknowledgement, trim-map repair, and SQL-authoritative behavior while Redis is stopped.

Run bun run qualify:valkey-local after pulling valkey/valkey:9.1.1-alpine for the same matrix against a distinct Valkey engine profile, official image and repository digest, valkey-server, valkey-cli, and private Valkey socket. Redis success is never reused as Valkey evidence.

These commands provide local-live standalone Redis and Valkey evidence only. They do not qualify Sentinel, Cluster, managed primary/replica failover, resharding, TLS, ACLs, regional placement, sustained scale, or production operations; those rows remain release blockers.

Declared capabilities.

Redis and Valkey runtime acceleration

Add qualified cache, coordination, invalidation, and stream wake-up acceleration while keeping SQL authoritative for LSSM OS execution.

Use it to

  • Accelerate scoped runtime reads with digest-verified Redis or Valkey cache entries
  • Use Redis Streams as a lossy wake-up layer over a SQL-authoritative durable queue

Requires

  • Redis or Valkey
  • SQL-authoritative LSSM OS runtime

Choose another boundary when

  • Redis or Valkey would become the durable source of truth for work admission, effects, or acknowledgements.
  • The deployment lacks an exact qualified cache or stream capability profile.

@lssm-tech/integration.lssm-os-cache-redis

Imports and export paths.

13 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

13 imports

@lssm-tech/integration.lssm-os-cache-redis/cache
@lssm-tech/integration.lssm-os-cache-redis/keys
@lssm-tech/integration.lssm-os-cache-redis/types

Dependencies and related packages.

Runtime dependencies 4
Development dependencies 4
@types/bun
catalog:types
typescript
^7.0.2

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
lint:checknode ../../../scripts/biome.cjs check .
pack:verifybun run build && bun scripts/verify-pack.ts
qualify:localbun scripts/qualify-redis-local.ts
qualify:valkey-localbun scripts/qualify-valkey-local.ts
testbun test
typechecktsgo --noEmit
typecheck:qualificationtsgo --noEmit -p tsconfig.qualification.json
Your view

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.