Chat SDKがPostgreSQLステートアダプターを追加
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
Chat SDKがPostgreSQLをステートバックエンドとしてサポート開始。既存のPostgreSQL環境でRedisを追加せずにサブスクリプションや分散ロックを永続化可能。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Chat SDKがPostgreSQLステートバックエンドをサポート
Chat SDKは、新たなPostgreSQLアダプターにより、本番環境対応のステートバックエンドとして、Redisおよびioredisに加えてPostgreSQLをサポートするようになりました。
すでにPostgreSQLを運用しているチームは、インフラストラクチャにRedisを追加することなく、サブスクリプション、分散ロック、キーバリューキャッシュの状態を永続化できます。
今すぐPostgreSQLステートアダプターをお試しください:
このアダプターはpg(node-postgres)を使用し、生のSQLクエリを実行します。初回接続時に必要なテーブルを自動的に作成し、TTLベースのキャッシング、複数インスタンスにわたる分散ロック、設定可能なキープレフィックスによる名前空間付きステートをサポートしています。
開始方法についてはドキュメントをご覧いただくか、アダプターディレクトリを参照してください。
このアダプターの基礎を築いてくださった、PR #154でのコミュニティ貢献者@bai氏に心より感謝申し上げます。
続きを読む
原文を表示
Chat SDK now supports PostgreSQL as a state backend, joining Redis and ioredis as a production-ready option with the new PostgreSQL adapter.
Teams that already run PostgreSQL can persist subscriptions, distributed locks, and key-value cache state without adding Redis to their infrastructure.
Try the PostgreSQL state adapter today:
The adapter uses pg (node-postgres) with raw SQL queries and automatically creates the required tables on first connect. It supports TTL-based caching, distributed locking across multiple instances, and namespaced state via a configurable key prefix.
Read the documentation to get started or browse the adapters directory.
Special thanks to @bai, whose community contribution in PR #154 laid the groundwork for this adapter.
Read more
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み