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 déclarationsSELECT 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
Votre vue

Make room for your context.

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

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

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

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.