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 declaracionesSELECT 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 importaciones

@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
Tu vista

Make room for your context.

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

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

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

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.