惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Threatpost
GbyAI
GbyAI
V
Visual Studio Blog
H
Help Net Security
Vercel News
Vercel News
P
Palo Alto Networks Blog
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Latest news
Latest news
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
The Register - Security
The Register - Security
博客园_首页
WordPress大学
WordPress大学
G
GRAHAM CLULEY
T
Tor Project blog
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
AI
AI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
O
OpenAI News
博客园 - 聂微东
月光博客
月光博客
S
Security Affairs
Webroot Blog
Webroot Blog
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
NISL@THU
NISL@THU
N
News and Events Feed by Topic
Blog — PlanetScale
Blog — PlanetScale
S
Securelist
V
Vulnerabilities – Threatpost
aimingoo的专栏
aimingoo的专栏
阮一峰的网络日志
阮一峰的网络日志
Stack Overflow Blog
Stack Overflow Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
Cisco Talos Blog
Cisco Talos Blog
The Cloudflare Blog
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
L
Lohrmann on Cybersecurity
T
The Blog of Author Tim Ferriss

Redis

Real-Time Fraud Detection: Latency, Features & Scale Context window in AI: why every token is a budget decision Redis Data Integration in Redis Cloud is now GA in AWS | Redis Why AI Misses Business Context & How Teams Fix It AI Reasoning Explained: Why Context Matters Semantic Layer vs Context Layer: Key Differences Redis array data type: How it works and when to use it Context Graphs vs. Vector Search: When RAG Falls Short What’s new in two – May 2026 edition Redis 8.8 performance improvements: Faster string, hash, streams, SCAN & more Redis 8.8: New array data structure & open source features How Conflict-free Replicated Data Types power active-active database replication Context Orchestration: What It Is & How It Works Context Compaction for AI Agents: A Complete Guide Prompt Bloat: Causes, Costs & Fixes for LLM Apps Agentic Retrieval Techniques: A Complete Guide Single-shot reliable consumers with XREADGROUP CLAIM in Redis 8.4 | Redis Long-Horizon AI Agents: Memory & State Infrastructure What is a context engine? What Is a Context Layer? AI Agent Infrastructure Context Retrieval for AI Agents: What It Is & Why It Matters Context Poisoning: How Bad Data Breaks Agent Reasoning Context is all you need: Introducing Redis Iris | Redis Context Engineering for AI: What It Is & How to Build It Dynamic endpoints: Migrate databases without changing your endpoint | Redis AI Shopping Assistants: How They Work & What to Build Endless Aisle Retail: Infrastructure & Real-Time Data LLM Speed Benchmarks: Metrics & Infrastructure Guide Context Pruning: Cut LLM Tokens Without Losing Quality What’s new in two – April 2026 edition Agentic AI Architecture: 5 Patterns Explained AI Agent vs Chatbot: Key Differences Explained Advantages of Building a Vector Search Solution API Latency in LLM Apps: Causes & How to Fix It Security advisory: [CVE‑2026‑23479] [CVE‑2026‑25243] [CVE-2026-25588] [CVE‑2026‑25589] [CVE-2026-23631] | Redis Edge Computing Latency: Causes & How to Reduce It AI Agents vs Workflows: When to Use Each Streaming LLM Responses: Make Your AI App Feel Fast Active-Active vs Active-Passive Database Architecture Prefill vs Decode: LLM Inference Phases Explained Long-Term Memory Architectures for AI Agents Time to First Byte Test: Tools, Causes & Fixes Speculative decoding: how it works & when to use it P95 Latency: What It Is & Why It Matters Why Multi-Agent LLM Systems Fail & How to Fix Them AI Human in the Loop: Production Oversight Patterns Native OpenTelemetry metrics for Redis client libraries | Redis Client-side geographic failover for Redis Active-Active | Redis Use Redis with SQL | Redis Introducing Redis Feature Form Build Google ADK Agents with persistent, real-time memory on Redis | Redis Startup Spotlight: Neuron Systems API Throttling: Algorithms, Patterns & Mistakes Agentic AI Examples Across 6 Industries Best Chunking Strategies for RAG Pipelines Agentic AI Guardrails: Controls That Work Redis joins AWS at GDC to support the next generation of gaming | Redis Designing a semantic routing system: From static rules to dynamic intelligence with Redis and Java | Redis Real-Time Dispatch System: A Complete Guide P99 Latency: What It Means & How to Fix It Tokenization in LLMs: What AI App Devs Need to Know TTFT Meaning: What is Time to First Token? Atomic slot migration with Redis 8.4 Hybrid search benefits: Why your RAG system needs both keyword & vector search What’s new in two: March 2026 edition Vector embedding generators: How they work & how to use them Throughput-optimizing Redis for L2 KV Cache Reuse What is a data pipeline? Building AI agent pipelines that don't forget, fail, or fall apart Redis achieves Google Cloud Ready, Distributed Cloud status ahead of Google Cloud Next ‘26 | Redis Real-time network monitoring: what your data platform needs to keep up AI agent API: How agents connect to the real world What is multicloud infrastructure? A guide for 2026 What is a transaction monitoring system & how does it work? Why your AI agent fails in production & how tracing helps AI agent benchmarks: Where they fall short & why your infrastructure matters What is a JSON database (and when should you use one)? Introducing the Redis Partner Network: A new foundation for real-time innovation How real-time customer segmentation works in retail Payment orchestration & vault architecture in retail Agentic systems vs. GenAI: when generation isn't enough What is fuzzy matching? Semantic caching & routing: two powerful patterns for vector classification Redis alternatives: Why there are no exact substitutes Connect to Azure Managed Redis with Redis Insight 3.2.0 How to tame the thundering herd problem Redis to Manage Storage Replication | Redis How hierarchical navigable small world (HNSW) algorithms can improve search | Redis How leading financial institutions use Redis to drive growth | Redis What’s new in two: May 2025 | Redis Introducing Model Context Protocol (MCP) for Redis | Redis Redis vs. Elasticsearch: What’s faster for GenAI & vector search? | Redis Build fast, production-worthy AI apps with Spring AI and Redis | Redis Azure Managed Redis is GA today | Redis Redis then & now: Adapting with developers through every era | Redis Supercharge Your AI with OpenShift AI and Redis: Unleash speed and scalability | Redis What’s new in two: April 2025 | Redis Redis 8 is now GA, loaded with new features and more than 30 performance improvements | Redis What is a data strategy? 6 key components explained Data replication explained: types, examples & use cases
Redis vs Memorystore: Key Differences in 2026
Redis · 2026-06-06 · via Redis

If you're building on Google Cloud and need an in-memory data store, you've probably looked at Memorystore in the console. It's right there, a few clicks to provision, and it speaks the Redis protocol you already know. But the architectural difference between Redis and Memorystore matters more than the convenience of staying inside one cloud console.

Memorystore is a managed cache product spread across four engines (Redis, Redis Cluster, Valkey, and Memcached), and its Redis engines have been frozen at version 7.2 since Redis' 2024 license change. Redis is a unified real-time data platform that delivers sub-millisecond response times for caching, session management, streaming, and AI workloads like vector search and semantic caching, all in a single system. This guide breaks down when each approach makes sense.

At a glance: Redis vs Memorystore

FeatureRedisMemorystore
Latest engine versionRedis 8.x with unified distributionRedis 7.2 (Memorystore for Redis); Valkey 9.0 (Memorystore for Valkey)
Vector searchRedis Query Engine (HNSW, FLAT) + vector setsAvailable on Redis, Redis Cluster, and Valkey engines; capabilities vary by engine; none on Memcached
Hybrid searchYes (FT.HYBRID score fusion in Redis Query Engine)Vector queries with filters; no in-engine score fusion
Semantic cachingYes (LangCache)No native capability
Context engine for agentsYes (Redis Iris)Not available
JSON, time series, probabilistic structuresBuilt into Redis 8 coreNot exposed in Memorystore for Redis
PersistenceHybrid (AOF + RDB simultaneously)RDB only (Redis); AOF or RDB, not both (Cluster/Valkey)
Multi-cloud deploymentYes (AWS, Azure, Google Cloud)Google Cloud only
Geo distributionActive-Active Geo DistributionLimited regional options
Configuration controlFullMost parameters locked
Tiered storageRedis Flex (RAM + SSD)Not available

Both platforms deliver in-memory performance, but they optimize for different operational realities.

What is Redis?

Redis is a real-time data platform that stores data in memory for sub-millisecond response times. Originally known for caching, Redis now combines vector search, streaming, document storage, semantic caching, and traditional data structures in one system. With Redis Iris, it also works as a context engine, retrieving and serving fresh context to AI agents in real time.

Redis 8 consolidated capabilities that were previously distributed as separate modules into a unified binary, and the Redis 8.x line keeps building on it:

  • Eight more data structures in core: JSON documents, time series, vector sets (beta), Bloom filters, Cuckoo filters, Count-Min sketches, Top-K, and T-Digest, with no separate module installation
  • Redis Query Engine: Built-in support for hybrid search combining full-text retrieval with vector retrieval
  • Vector search: Hierarchical Navigable Small World (HNSW) indexing for approximate nearest-neighbor search, FLAT for exact brute-force matching, and indexing across vector, text, tag, numeric, and geo field types simultaneously
  • Semantic caching: Redis LangCache, a managed service that serves semantically similar prompts from cache via vector similarity, reducing LLM inference costs by up to 73% without code changes
  • Multi-threaded query I/O: Redis 8.4 extended multi-threaded I/O to distributed search query handling, with up to 4.7x throughput increase for FT.SEARCH in Redis benchmarks

Redis Iris

Build fast, accurate AI apps that scale

Get started with Redis for real-time AI context and retrieval.

The differentiator is consolidation: vector embeddings, cached responses, session data, structured documents, and operational state all live in one in-memory system, without the coordination overhead of managing separate databases. Redis Cloud offers fully managed deployments across AWS, Azure, and Google Cloud with Active-Active Geo Distribution for multi-region high availability.

What is Memorystore?

Memorystore is Google Cloud's fully managed in-memory service, originally built around Redis and Memcached, later expanded to Valkey and Redis Cluster engines. It offers low-latency in-memory data access, scalability, and high availability inside Google Cloud.

The current lineup includes four services:

  • Memorystore for Redis: Based on and compatible with open-source Redis versions 7.2 and earlier, supporting a subset of the total Redis command library
  • Memorystore for Redis Cluster: A clustered offering with horizontal scale-out and support for storing and querying vector data
  • Memorystore for Valkey: Supports Valkey versions 7.2, 8.0, and 9.0, while remaining fully compatible with Redis Open Source 7.2 APIs
  • Memorystore for Memcached: A managed Memcached-compatible service for simple key-value caching

The tradeoff is scope. Memorystore is optimized for caching and session storage inside Google Cloud, not as a unified platform for AI workloads, streaming, or operational data. Teams running straightforward caching benefit from operational simplicity: Google handles patching, monitoring, and failover. Teams that need more than caching face a fragmented lineup where features don't map evenly across engines, the Redis engine tops out at version 7.2, and capabilities like JSON, time series, probabilistic data structures, and Redis Query Engine aren't exposed the same way they are in Redis 8.

How do Redis & Memorystore compare?

Both platforms speak the Redis protocol and deliver in-memory performance, but they take different approaches to scope, version support, and portability.

Same protocol, different roadmaps

The same 2024 license change pushed Google Cloud toward Valkey, an open-source fork of Redis 7.2. Your existing Redis clients still connect, and basic commands still work. But the two projects are built by different teams with different priorities. Everything Redis has shipped since 7.2 stays on the Redis side of the fork: the query engine, vector search, and the rest of what AI apps depend on. In practice, staying on Memorystore means opting into a caching-focused roadmap. If you want the modern Redis feature set, you need actual Redis.

Vector search & AI workloads

If you're building anything AI-related, this is where the two platforms split most clearly. Redis builds vector search, hybrid retrieval with score fusion, and semantic caching into one platform, and groups them with agent memory and context retrieval under Redis Iris. Memorystore covers parts of that list, but not in a way that handles the full AI workload.

Redis lets you store embeddings alongside your cached data and query them through the same connection. That means one system handling vector search, session state, and caching, with no separate vector database to deploy. Redis has also published benchmarks running vector search at billion-vector scale.

Memorystore does offer vector search, but what you get changes from engine to engine, and Memcached has none. The bigger gaps sit around it. There's no in-engine hybrid retrieval that fuses full-text and vector scores in a single query, and semantic caching, the capability that can meaningfully reduce LLM costs, isn't available natively at all. Teams building retrieval-augmented generation (RAG) systems on Memorystore have to fill those gaps at the app layer or with additional services.

Make your AI apps faster and cheaper

Cut costs by up to 90% and lower latency with semantic caching powered by Redis.

Operational constraints

Memorystore is a managed service, which means Google makes a lot of decisions for you. That's the upside when you want simplicity. It's the downside when your workload needs more control.

A few things to know if you're considering Memorystore as your primary data store:

  • Persistence is limited. You can't combine append-only file (AOF) logging and Redis Database (RDB) snapshots the way hybrid persistence does, which means a higher risk of losing recent writes after a failure.
  • Some commands are blocked to protect the managed service.
  • Most configuration is locked. You get the defaults Google chose.

Pure caching workloads might not notice. For anything where durability or fine-grained control matters, these constraints add up.

Portability & deployment

Memorystore only runs on Google Cloud. If your team is committed to Google Cloud and plans to stay there, that's fine. If you need multi-cloud, geo-distribution, or just want the option to move later, it's a wall you can't configure around.

Redis runs anywhere: AWS, Azure, Google Cloud, on-prem, or self-managed, with built-in geo-distribution for multi-region workloads. Apps written against standard Redis APIs move between deployments without code changes.

When should you choose each?

Where Memorystore fits

Memorystore holds up when:

  • Your organization is fully committed to Google Cloud with no multi-cloud plans
  • You don't need vector search, hybrid retrieval, full-text queries, or semantic caching
  • Console-based provisioning and Google-managed patching are operational priorities

Even then, you're accepting the version freeze and the single-cloud limit that come with it.

Choose Redis for AI apps, mixed workloads, or multi-cloud requirements

Redis is the better choice when your requirements go beyond caching. Consider Redis when:

  • You're building chatbots, AI agents, or RAG systems that combine vector search with caching, session management, and operational data
  • LLM costs affect project viability (semantic caching through LangCache cuts repeated inference calls)
  • You need multi-cloud deployment, geo distribution, or a migration path between environments
  • You want hybrid persistence (AOF + RDB simultaneously) for durability plus fast restarts
  • You need built-in JSON, time series, or probabilistic data structures
  • You want to consolidate caching, vector search, document storage, and streaming into one platform

With Redis 8's unified distribution, teams already using Redis for caching can add AI capabilities on the same infrastructure, with no new deployment patterns or specialized expertise required.

Making the decision between Redis & Memorystore

Memorystore is built for one job: caching inside Google Cloud. But it's pinned to an older Redis engine, splits its feature set across four separate services, and doesn't run outside Google Cloud. For teams building AI apps, mixed workloads, or anything that might need to move clouds someday, those limits start to shape your architecture in ways you didn't choose.

Redis gives you the modern feature set, plus Redis Iris for agent context, in one platform that runs across AWS, Azure, Google Cloud, and on-prem. You don't have to stitch together separate systems for vectors, caching, and operational data, and you're not locked into one cloud.

If you're already extending Memorystore with separate vector or search components, paying more than you'd like for LLM inference, or planning for multi-cloud, it's worth a closer look.

Try Redis free to test it with your actual workload, or talk to the Redis team about your architecture.

Redis Iris

Now see how this runs in Redis

Power AI apps with real-time context, vector search, and caching.

FAQ

What's the biggest difference between Redis and Memorystore?

Scope. Memorystore is a managed cache. Redis is a unified platform that includes caching plus vector search, semantic caching, hybrid retrieval, and more, all in one system.

If Memorystore speaks the Redis protocol, isn't it basically Redis?

No. Protocol compatibility means your clients can connect the same way, but the engines have diverged. Memorystore is pinned to Redis 7.2 or running Valkey, and doesn't include the modern Redis feature set most AI apps depend on.

When does the version gap actually matter?

When your app needs more than a cache. If you're adding vector search, semantic caching, or richer queries, the gap stops being a version number and starts being an architecture decision.

Is being locked into Google Cloud a problem?

Only if you ever need to leave it. Teams permanently committed to Google Cloud with pure caching workloads may never feel it. For anyone planning multi-cloud, regional flexibility, or just keeping options open, it's a hard constraint.

Can I use Memorystore for semantic caching to reduce LLM costs?

Not natively. Memorystore doesn't include semantic caching, so you'd have to build it at the app layer or add a separate service. Redis offers LangCache, a managed semantic caching service built to reduce LLM inference costs.