-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Description
Feature Request
Add a DynamoDB state adapter (@chat-adapter/state-dynamodb) to provide a serverless-native persistence option for the chat SDK.
Motivation
The existing state adapters (Redis, Postgres, in-memory) all require persistent server infrastructure. A DynamoDB adapter would be a natural fit for serverless deployments (AWS Lambda, Vercel) — no connection pooling, no server management, pay-per-request pricing.
Proposed Design
- Single-table design with
pk/skstring keys, no GSIs DynamoDBDocumentclient for shorthand methods- Atomic lock operations via DynamoDB conditional expressions
- Dual-layer TTL: native DynamoDB TTL for GC + app-level checks for correctness
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels