Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Effect KitRedis

Overview

Compare what Node.js, Bun and Upstash support, and pick the layer for your runtime.

A runtime layer opens the connection and provides the services. You import exactly one from its own entry point. There is no auto-detection.

Entry pointLayerTransport
@effect-kit/redis/nodeRedisNodenode:net, node:tls
@effect-kit/redis/bunRedisBunBun.connect
@effect-kit/redis/upstashRedisUpstashHTTPS and SSE through Effect's HttpClient

Capability matrix

CapabilityNode.jsBunUpstash
Ordinary commandsYesYesYes
Pipelines and transactionsYesYesYes, one request each
RedisSessions, WATCH, blocking commandsYesYesNo
RedisPubSub (binary-safe)YesYesNo. Text only with UpstashEvents
RedisStreams, RedisScripts, RedisAdminYesYesNo
Client-side caching (tracking)YesYesNo
Cluster and SentinelYesYesNo
Unix socketsYesYesNo
Binary argumentsYesYesLimited
Credential providers and rotateYesYesYes
delivery after an uncertain writepossibly-writtenpossibly-writtenunknown

Client-side caching is available on Node.js and Bun, but it is not part of the layer. You add it yourself.

Deno and Cloudflare Workers support only the Upstash column.

On this page