[KongchangAI]
Product

Redis

Redis (Remote Dictionary Server) is an open-source, in-memory key-value data store supporting multiple data structures including strings, lists, hashes, sets, and sorted sets. It is commonly used for caching, session management, message queuing, and real-time leaderboards. Redis is known for high performance and low latency, and supports data persistence, primary-replica replication, and cluster modes. It is widely adopted in internet backend architectures to improve system response speed and throughput.

Core Facts

Timeline (last 90 days)

Nov 20

A semantic cache implemented with in-script dictionaries and lists loses its cache when the process exits; Redis VL (Redis Vector Library) can be used to build a near-production solution.

Unverified50%
Nov 20

When deploying multiple instances in production, Agent state must be externalized to shared storage such as Redis or MongoDB.

Unverified50%
Nov 18

AgentScope Java's Workspace can connect to storage such as Redis, JDBC and MongoDB, ensuring that drawing is not lost when scaling multiple instances up or down.

Unverified50%
Nov 12

The core command for implementing a distributed lock with Redis is SET key value NX PX timeout, where NX ensures success only when the key does not exist, and PX sets an expiration time for the lock to prevent it from never being released if the holder crashes.

Unverified50%
Nov 12

Redis's DECR/INCR commands can atomically increment or decrement and return the new value when the key exists, but cannot determine whether the result is negative, so they cannot be used alone for safe inventory deduction.

Unverified50%
Nov 12

In concurrent scenarios, the simple "read-modify-write" inventory deduction pattern (reading the inventory value from Redis, and if it is greater than 0, subtracting 1 and writing it back) leads to overselling, because multiple requests may simultaneously read the same inventory value, each subtract 1 and write back, so that inventory is reduced by only 1 but multiple items are actually sold.

Unverified50%
Nov 12

Cache breakdown is the instantaneous shock caused by a single hot key expiring, while cache avalanche is a large batch of keys expiring at the same moment or Redis going down entirely; the two have different causes and their mitigation strategies cannot be used interchangeably.

Unverified50%
Nov 11

Some modules of Terraform and Redis have adopted a source-available release route.

Unverified50%
Nov 11

In enterprise distributed systems, Agent session state must be centrally persisted (for example, via Redis or a database), and concurrent writes, timeout reclamation and multi-tenant isolation must be handled.

Unverified50%
Nov 9

Before learning Spring AI Alibaba, one needs a foundation in Spring Boot 3, JDK 17 or above, Maven, MySQL, Redis, and at least experience using one general-purpose large model (such as DeepSeek, Tongyi Qianwen, Doubao, Ernie Bot, etc.).

Verified70%

40 more timeline events

All Facts (20)

Verified

An Agent's memory system is typically divided into three levels: working memory (current conversation context window), short-term memory (recent interaction history), and long-term memory (persistently stored via a vector database)

80%
Verified

Enterprise-grade Agent systems typically introduce external memory modules (such as vector databases) to store long-term memory, in order to overcome context window limitations.

80%
Verified

MongoDB is a document-oriented NoSQL database that stores data in a JSON-like BSON format.

80%
Verified

Dify's core architecture adopts a microservices design, using Docker Compose to decouple and deploy components such as the API service, Worker, Web frontend, PostgreSQL, Redis, and vector database.

80%
Verified

The WebSocket protocol establishes a persistent bidirectional communication channel through which the server can proactively push data to the client, with latency as low as milliseconds.

75%
Verified

Before learning Spring AI Alibaba, one needs a foundation in Spring Boot 3, JDK 17 or above, Maven, MySQL, Redis, and at least experience using one general-purpose large model (such as DeepSeek, Tongyi Qianwen, Doubao, Ernie Bot, etc.).

70%
Verified

SQLiteSession is the approach in the OpenAI Agents SDK for locally persisting session memory, and it does not depend on OpenAI servers.

65%
Verified

Dify is composed of multiple service components, including a web frontend, API service, database, and vector database, and Docker Compose can be used to orchestrate and start them all with a single command.

65%
Verified

Dify includes multiple service components, including a web frontend, API backend, PostgreSQL database, Redis cache, Weaviate vector database, etc., which can be started with a single command via Docker Compose.

65%
Verified

In an Agent framework, Checkpointing serializes the current execution state and persists it to external storage (a database or Redis), while suspending the execution thread and resuming after human input is received.

65%
Verified

RAGFlow depends on multiple services including Elasticsearch (full-text search), Redis (caching), and MySQL (metadata storage)

65%
Verified

Salvatore Sanfilippo created the Redis project in 2009, originally to solve performance problems he encountered while developing the real-time web analytics system LLOOGG.

65%
Verified

All Redis commands are executed serially in a single main thread, using a single-threaded event-driven architecture.

65%
Verified

RAGFlow is deployed based on Docker containerization and runs five containers upon startup: Redis, MinIO, MySQL, Elasticsearch, and RAGFlow Server.

65%
Verified

Celery's core architecture consists of three components—Producer, Broker, and Worker—where the Broker typically uses Redis or RabbitMQ.

65%
Verified

LangGraph's long-term storage supports multiple backends, including PostgreSQL for structured data, vector databases such as Pinecone and Chroma for semantic retrieval, and Redis for high-speed caching.

65%
Unverified

antirez stepped down as Redis maintainer in 2020

90%
Unverified

Idempotency implementation schemes to prevent duplicate charges include database unique constraints, state machine checks, Redis distributed locks, and optimistic lock version numbers.

90%
Unverified

After Redis 6.0, I/O multithreading was introduced, but command execution remains single-threaded.

90%
Unverified

Redis's SCAN command uses a reverse binary iteration cursor advancement algorithm.

90%

Source Articles