2024年Redis Stack 7.4 GA。RedisJSON+RediSearch+RedisGraph+RedisTimeSeries+RedisBloom+Vector Search+CRDT+SQL-like Query+全Stack Bundle化搭載。
Redis Stack 7.4は2024年Redis Stack 7.4 GAリリースで、Redis 7.4 Coreに加えてRedisJSON/RediSearch/RedisGraph/RedisTimeSeries/RedisBloom等のRedis Module を1パッケージにBundleしたAll-in-One Distribution。Redis OSS(2009年〜)はKey-Value Store の業界標準だったが、 Modern Application のニーズ(JSON Storage+Full-text Search+Graph DB+Time Series+Probabilistic Data等) に応えるため、 Redis Labs社が各種 Redis Module を開発+ Stack として統合配布する戦略。Redis Stack 7.4 の主要進化要素はVector Search Engine強化(RediSearch経由のVector Index + HNSW + IVFFlat)+ JSON Path Expression拡張(JSONPath完全対応)+ Time Series集計関数強化等。Redis Stack はOSS版とCommercial版(Redis Cloud)両提供で、 OSS版はRedis 2024年Source Available License化に伴う論争もあり、 Production商用利用ではRedis Cloud Subscriptionが推奨される。Modern Webアプリ Backend で1ソフトウェアでKey-Value+JSON+Search+Graph+TS+ML Vector を統合する用途には最適、 Microservice Architecture複雑化を回避する Single Source of Truth戦略。
| 項目 | Redis Stack 7.4 | Redis OSS 7.x | Dragonfly DB | MongoDB |
|---|
| Key-Value | ○ Native | ○ Native | ○ Native | △ |
| JSON Storage | ○ RedisJSON Native | △ Module | × | ○ Native |
| Full-text Search | ○ RediSearch Native | △ Module | × | △ Atlas Search |
| Graph DB | ○ RedisGraph Native | △ Module | × | × |
| Time Series | ○ RedisTimeSeries | △ Module | × | △ Time Series Coll. |
| Vector Search | ○ RediSearch Vector | △ Module | × | ○ Atlas Vector |
| Bloom Filter | ○ RedisBloom Native | △ Module | × | × |
| License | SAL (2024-) | SAL (2024-) | BSL | SSPL |
| 主用途 | All-in-One Modern App | Pure Cache | High Throughput | NoSQL Document |
Redis Stack 7.4はModern Webアプリ Backend で「Key-Value + JSON + Search + Graph + Time Series + Vector」を1ソフトウェアで統合する用途に最適。jisaku.com の VPS API(Hono on Bun + Redis 5.12.x for Cache + PostgreSQL for Persistent Data + Meilisearch for Search) はMicroservice構成だが、 単一サーバー Backend をシンプル化する場合 Redis Stack 7.4 が選択肢。1ソフトウェアでMongoDB+Elasticsearch+Neo4j+InfluxDB の機能を統合提供で、 Operations 単純化+Cost削減効果+ Memory共有による Performance優位の3軸メリット。一方、 Redis Stack 7.4 は2024年Redis SAL License化(Source Available License)で、 AWS/GCP/Azure 等のCloud Provider が「Redis-as-a-Service」 として提供する場合のみ商用契約必要、 Self-host + 製品内蔵は無料利用可能だが、 OSS Pure志向ユーザーには違和感あり。Redis Cloud Subscription($0-)は OSS Self-host のオペレーション負担を回避する現実的選択肢、 Production規模では Redis Cloud Pro/Enterprise が標準。Vector Search 機能(RediSearch HNSW)は2023年〜の追加で、 Pinecone/Weaviate/Qdrant等の Vector DB専用ツールに対する代替候補で、 既存Redis Stack環境で Vector Search 統合 Embedding Cosine Distance検索が現実的に。jisaku.com の Recommend System(Qdrant Native採用済) では Redis Stack Vector Search への移行は不要だが、 新規プロジェクト構築時に検討候補。
Redis OSS 7.xとの違い: Redis OSS はKey-Value Store + Module個別 Install、 Redis Stack はRedis Core + 全Module 1パッケージBundle。Stack の方がOperations単純、 OSS Pure志向ならRedis Core + Module手動構成も可能。 Dragonfly DBとの違い: Dragonfly は Multi-threaded Redis互換+ 25x Throughput、 Redis Stack はAll-in-One Modern App Stack(JSON/Search/Graph/TS等)。High Throughput Pure Cache → Dragonfly、 Modern Webアプリ Backend All-in-One → Redis Stack。
Q1: Redis Stack のSAL License は商用に問題ない? A: 大半の用途で問題なし。Self-host + 製品内蔵商用利用は無料、 「Redis-as-a-Service」 提供 (AWS ElastiCache / GCP Memorystore / Azure Cache for Redis) のみ商用契約必要。一般のWeb Backend運用では完全自由。
Q2: Redis Stack vs Pinecone(Vector DB専用)どちらを選ぶ? A: Pure Vector Search大規模 (1億Vector+) → Pinecone/Weaviate/Qdrant、 既存 Redis 環境 + Vector Search 追加 → Redis Stack RediSearch。Vector + Cache + Search 統合運用 → Redis Stack。jisaku.com 規模ならQdrant単独で十分、Redis Stack 移行 は将来検討。
Q3: Module 個別インストールとStackどちらが良い? A: Production運用 Operations単純化 → Stack、 細かい Module バージョン管理 + 必要 Module のみ → 個別Install。一般的なWeb Backend では Stack でOperations負担削減、 細かい依存関係管理が必要なEnterprise環境 では個別Installが現実的。