Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 4d47491

Browse files
committed
chore(redis): remove redis driver (#1196)
Fixes KIT-215 Doing this in favor of the Postgres driver in the Rivet Engine.
1 parent a516b3d commit 4d47491

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+65
-7116
lines changed

ARCHITECTURE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
- Actors do not go to sleep
1616
- DO
1717
- Up to Cloudflare
18-
- Redis
19-
- P2P -- goes to sleep when no requests are currently using the actor
2018

2119
## Main symbols
2220

CLAUDE.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Always include a README.md for new packages. The `README.md` should always follow this structure:
1616

1717
```md
18-
# RivetKit {subname, e.g. library: Rivet Actor, driver and platform: RivetKit Redis Adapter, RivetKit Cloudflare Workers Adapter}
18+
# RivetKit {subname, e.g. library: Rivet Actor, driver and platform: RivetKit Cloudflare Workers Adapter}
1919

2020
_Lightweight Libraries for Backends_
2121

@@ -71,22 +71,6 @@ Driver interfaces define the contract between rivetkit and various backends:
7171
- **CoordinateDriver:** Handles peer-to-peer communication between actor instances
7272
- Only applicable in coordinate topologies
7373

74-
### Driver Implementations
75-
76-
Located in `packages/drivers/`, these implement the driver interfaces:
77-
78-
- **Memory:** In-memory implementation for development and testing
79-
- **Redis:** Production-ready implementation using Redis for persistence and pub/sub
80-
81-
### Platforms
82-
83-
Located in `packages/platforms/`, these adapt rivetkit to specific runtime environments:
84-
85-
- **NodeJS:** Standard Node.js server environment
86-
- **Cloudflare Workers:** Edge computing environment
87-
- **Bun:** Fast JavaScript runtime alternative to Node.js
88-
- **Rivet:** Cloud platform with built-in scaling and management
89-
9074
## Package Import Resolution
9175

9276
When importing from workspace packages, always check the package's `package.json` file under the `exports` field to determine the correct import paths:
@@ -210,4 +194,4 @@ Always include a README.md. The `README.md` should always follow this structure:
210194
## Test Notes
211195

212196
- Using setTimeout in tests & test actors will not work unless you call `await waitFor(driverTestConfig, <ts>)`
213-
- Do not use setTimeout in tests or in actors used in tests unless you explictily use `await vi.advanceTimersByTimeAsync(time)`
197+
- Do not use setTimeout in tests or in actors used in tests unless you explictily use `await vi.advanceTimersByTimeAsync(time)`

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Generated from: github.com/rivet-gg/rivet/site/scripts/generateReadme.mjs
2828
</p>
2929
<p>
3030
<i>
31-
Supports <a href="https://rivet.gg/docs/actors/quickstart/backend/">Node.js</a>, <a href="https://rivet.gg/docs/actors/quickstart/backend/">Bun</a>, <a href="https://rivet.gg/docs/drivers/redis/">Redis</a>, <a href="https://rivet.gg/docs/hosting-providers/cloudflare-workers/">Cloudflare</a>,<br/>
31+
Supports <a href="https://rivet.gg/docs/actors/quickstart/backend/">Node.js</a>, <a href="https://rivet.gg/docs/actors/quickstart/backend/">Bun</a>, <a href="https://rivet.gg/docs/hosting-providers/cloudflare-workers/">Cloudflare</a>,<br/>
3232
<a href="https://rivet.gg/docs/clients/react/">React</a>, <a href="https://rivet.gg/docs/clients/rust/">Rust</a>, <a href="https://rivet.gg/docs/integrations/hono/">Hono</a>, <a href="https://rivet.gg/docs/integrations/express/">Express</a>, <a href="https://rivet.gg/docs/integrations/trpc/">tRPC</a>, and <a href="https://rivet.gg/docs/integrations/better-auth/">Better Auth</a>.
3333
</i>
3434
</p>
@@ -146,10 +146,7 @@ console.log("Count:", result.count); // 1
146146

147147
**Step 3**: Deploy
148148

149-
To scale Rivet in production, follow a guide to deploy to a hosting provider or integrate a driver:
150-
151-
- [Redis](https://rivet.gg/docs/drivers/redis/)
152-
- [Cloudflare Workers](https://rivet.gg/docs/hosting-providers/cloudflare-workers/)
149+
To scale Rivet in production, see [self-hosting documentation](https://www.rivet.gg/docs/self-hosting/).
153150

154151
## Features
155152

@@ -190,7 +187,6 @@ Deploy RivetKit anywhere - from serverless platforms to your own infrastructure
190187
- <img src=".github/media/platforms/nodejs.svg" height="16" alt="Node.js" />&nbsp;&nbsp;[Node.js](https://rivet.gg/docs/actors/quickstart/backend/)
191188

192189
### Storage
193-
- <img src=".github/media/platforms/redis.svg" height="16" alt="Redis" />&nbsp;&nbsp;[Redis](https://rivet.gg/docs/drivers/redis/)
194190
- <img src=".github/media/platforms/postgres.svg" height="16" alt="Postgres" />&nbsp;&nbsp;[Postgres](https://github.com/rivet-gg/rivetkit/issues/899) *(Help Wanted)*
195191
- <img src=".github/media/platforms/file-system.svg" height="16" alt="File System" />&nbsp;&nbsp;[File System](https://rivet.gg/docs/drivers/file-system/)
196192
- <img src=".github/media/platforms/memory.svg" height="16" alt="Memory" />&nbsp;&nbsp;[Memory](https://rivet.gg/docs/drivers/memory/)

examples/rate/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ This rate limiter can be extended with:
8383
- Dynamic rate limits based on user behavior
8484
- Rate limit bypass for admin users
8585
- Metrics and monitoring integration
86-
- Redis backend for distributed rate limiting
8786

8887
## License
8988

90-
Apache 2.0
89+
Apache 2.0

examples/redis-hono/README.md

Lines changed: 0 additions & 120 deletions
This file was deleted.

examples/redis-hono/package.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/redis-hono/scripts/client.ts

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)