Home / Companies / Redis / Blog / July 2025

July 2025 Summaries

14 posts from Redis

Filter
Month: Year:
Post Summaries Back to Blog
Augment Code's Augment Agent and its Easy Model Context Protocol (MCP) feature provide developers with a streamlined way to interact with external systems like Redis through natural language commands. This AI-powered coding assistant is designed to enhance the coding experience by indexing the codebase and assisting in building new features, iterating on existing features, and fixing bugs. The Easy MCP allows for one-click connections to services, facilitating seamless interactions with systems like Redis by generating realistic sample data based on predefined schema structures. The tool's capabilities are demonstrated through a process where it analyzes the codebase of a Redis Chat application, identifies key data entities, and generates comprehensive sample data using the Redis MCP server. Users can verify the generated data with tools like Redis Insight to ensure accuracy and meaningfulness for testing purposes. Setting up the Redis MCP server with Augment Code is made accessible through available documentation, allowing users to leverage the tool for various tasks such as building data structures, generating example data, and debugging code within Redis environments.
Jul 31, 2025 921 words in the original blog post.
Redis can now be used natively on Windows through a partnership with Memurai, which has developed Memurai Enterprise Edition, a fully compatible and officially supported Windows port of Redis. This edition brings the full power and performance of Redis to the Windows environment, offering speed, simplicity, and reliability that is optimized for production use with unlimited uptime, host connections, and RAM utilization. Users can find detailed installation and usage instructions on the developer hub, and installation packages are available on memurai.com. Memurai Enterprise Edition offers a 90-day free trial to allow users to begin building with the platform.
Jul 28, 2025 131 words in the original blog post.
As generative AI applications continue to develop, there is a growing demand for fast and cost-efficient inference, which is where LMCache and Redis play crucial roles. LMCache is an open-source library that accelerates large language model (LLM) serving by caching and reusing key-value pairs for repeated token sequences, reducing redundant computation and improving latency. Redis acts as the real-time infrastructure for storing and retrieving these token chunks at scale, enabling faster inference in tasks like multi-turn chat and long-form text generation. By integrating LMCache with Redis, developers can achieve significant speedups and resource efficiency, particularly in scenarios where repeated text spans occur frequently. This combination allows for scalable and production-ready AI pipelines by minimizing recomputation, conserving GPU resources, and reducing the time to first token. LMCache's lightweight and model-agnostic design supports self-hosted models such as Mistral and Llama, while Redis provides the low-latency backend necessary for efficient key-value cache management.
Jul 28, 2025 1,254 words in the original blog post.
Retrieval-augmented generation (RAG) is a technique that combines large language models (LLMs) with domain-specific knowledge to improve factual accuracy and reduce hallucinations in AI-generated outputs. The process involves enhancing retrieval strategies through methods such as hybrid search, tuning Hierarchical Navigable Small World (HNSW) indices, and optimizing document chunking. Fine-tuning embeddings and LLMs for specific domains can increase precision by aligning with nuanced language and domain-specific requirements. Semantic caching and long-term memory management ensure efficient and consistent responses, particularly in stable knowledge bases or multi-turn dialogues. Additional techniques like query transforms and re-ranking help refine and prioritize retrieved data, while employing an LLM as a judge can evaluate the faithfulness of responses. Redis supports these methods through its AI stack, including the Redis Query Engine, enabling scalable and efficient experimentation and implementation.
Jul 23, 2025 1,896 words in the original blog post.
Least Frequently Used (LFU) and Least Recently Used (LRU) are key cache eviction policies used to maintain efficient memory management in high-performance applications by determining which data to evict when a cache is full. LFU prioritizes retaining data with high access frequency, making it suitable for predictable workloads, while LRU prioritizes recency of access, making it ideal for dynamic workloads with rapidly changing access patterns. Choosing the appropriate policy depends on understanding the specific workload and access patterns, as each has its strengths and tradeoffs. Hybrid approaches combining LFU and LRU can be beneficial for applications with mixed data needs, although implementation challenges and pitfalls, such as incorrect workload analysis or insufficient cache sizing, can impact performance. Companies like Redis offer flexible and scalable caching solutions that address these challenges, providing features like adjustable eviction parameters and real-time performance monitoring to optimize cache management and ensure low latency, scalability, and cost efficiency.
Jul 23, 2025 3,312 words in the original blog post.
Redis 8, now available for preview on Redis Cloud Essentials, introduces significant advancements, including the beta release of vector sets, a new data structure designed for AI workloads that enables fast vector similarity search using the HNSW algorithm. This update also incorporates over 30 performance improvements, offering substantial latency reductions for various command groups compared to previous versions. Redis 8 enhances resource management through int8 vector encoding, allowing for more scalable and cost-effective storage of high-dimensional vectors, and introduces granular data lifecycle control with new hash field expiration commands. These enhancements aim to improve performance, flexibility, and ease of use for developers, as Redis 8 is tailored for high-performance applications, including AI agents and music recommendation systems. As it moves towards general availability, Redis 8 is expected to expand its offering to include larger datasets and more advanced configurations on the Redis Cloud Pro tier.
Jul 22, 2025 679 words in the original blog post.
Bayesian optimization is a powerful technique for optimizing search index settings in information retrieval applications, as it efficiently selects the best hyperparameter combinations to test based on prior learning, thereby reducing the number of experiments needed compared to exhaustive methods like grid search. Users can focus on key objectives such as recall, latency, or precision by defining an objective function that the optimizer uses to guide the search towards configurations that maximize these goals. The process involves setting up a study configuration with metric weights that influence the objective function, and utilizing the Redisvl embedding cache to accelerate testing by minimizing unnecessary re-indexing. This approach not only helps in improving essential metrics like f1 score and indexing time but also streamlines the retrieval optimization process, with practical examples and code available for users to implement the technique effectively.
Jul 21, 2025 443 words in the original blog post.
Robert Shelton's blog post introduces how to handle custom data schemas within a retrieval optimizer by defining a custom corpus_processor function and tailored search methods. It explains the process of transforming raw data for efficient indexing in Redis and demonstrates how to implement search techniques that utilize specific fields in a dataset, using car manuals as an example. The dataset differs from previous examples, incorporating text chunks and embeddings alongside query metadata, necessitating customized queries to leverage this additional information. The post also discusses the use of query relevance judgments (qrels) to evaluate retrieval performance, showing how custom search methods, including default vector and hybrid search, can be employed. By setting up a search method map and a study config, users can test retrieval methods effectively, with the example indicating improved performance through the use of custom query_metadata fields.
Jul 21, 2025 708 words in the original blog post.
Robert Shelton discusses the importance of data-driven decision-making in engineering, recounting a pivotal moment in his career when he learned the value of measuring problems rather than guessing their causes. He emphasizes the need for Eval Driven Development (EDD) in the context of retrieval-augmented generation (RAG) systems, which are inherently probabilistic and require structured evaluation to optimize performance. Shelton introduces the Retrieval Optimizer, an open-source framework designed to objectively assess and compare different configurations, such as embedding models and retrieval methods, based on specific metrics relevant to a given problem. By using tools like the Retrieval Optimizer, teams can conduct grid studies to test various models and search methods, allowing them to make informed decisions grounded in data rather than intuition. As AI increasingly integrates into development processes, verification becomes a critical bottleneck, which tools like the Retrieval Optimizer aim to alleviate by providing a structured approach to evaluation and optimization.
Jul 21, 2025 1,294 words in the original blog post.
Financial institutions are increasingly adopting Redis to bolster their real-time fraud detection capabilities, as traditional methods struggle to keep pace with the rapidly evolving tactics of fraudsters. Redis offers a high-speed, scalable in-memory architecture that supports real-time machine learning, allowing banks and payment processors to detect and respond to suspicious activities instantaneously, thereby preventing potential breaches and financial losses. With its native support for vector searches, Redis can identify subtle fraud signals by comparing new transactions to historical data, while its role as a real-time feature store ensures that machine learning models receive the freshest data for accurate predictions. Additionally, Redis employs session tracking and probabilistic data structures, such as Bloom Filters and HyperLogLog, to efficiently monitor user behavior and detect anomalies across large datasets. This approach enables financial institutions to protect revenue and customer trust by staying one step ahead of fraudsters, ensuring high throughput and low latency even during peak transaction periods.
Jul 18, 2025 1,517 words in the original blog post.
In an AI-driven landscape where retrieving relevant data swiftly and accurately is crucial for applications like recommendation engines and real-time machine learning systems, Redis Query Engine stands out for its ability to balance performance, accuracy, and cost effectively. Traditional vector search systems often force choices between these aspects, but Redis, with its implementation of the Hierarchical Navigable Small World (HNSW) algorithm, allows for fine-tuning of parameters such as M (maximum connections per node), EF_CONSTRUCTION (construction time search width), and EF_RUNTIME (query time search width). These parameters enable high recall with minimal latency by optimizing the graph structure and search process, thereby allowing Redis to achieve high accuracy without compromising speed. Real-world benchmarks demonstrate Redis's superiority in maintaining high recall rates at low latency, confirming its capacity to deliver precise and fast vector searches. By leveraging Redis’s multi-threading and in-memory architecture, users can maximize search precision and speed, making it an ideal choice for applications requiring smart search capabilities.
Jul 10, 2025 1,219 words in the original blog post.
Cognee, an open-source memory engine, enhances AI agents and assistants by providing them with structured and persistent memory capabilities through semantic vectors and graph-based relationships. By integrating with Redis, a fast and scalable memory backend, Cognee's modular Extract, Cognify, and Load (ECL) pipeline can efficiently index and store both vector representations and structured relationships, enabling quick and accurate memory retrieval. This integration supports applications like autonomous agents, chatbots, and retrieval-augmented generation systems, offering developers a robust foundation for AI memory systems. Redis plays a crucial role by serving as a vector database and a temporary cache during the enrichment process, while Cognee's flexibility allows for the use of various backends like Neo4j, KuzuDB, and others for different storage needs. The collaboration between Redis and Cognee ensures fast semantic search and deep contextual reasoning, making it ideal for modern AI applications. Future developments will focus on enhancing hybrid search capabilities and time-based memory expiration, further solidifying Redis as a unified backend for AI memory tasks.
Jul 08, 2025 1,146 words in the original blog post.
A cache hit ratio, which measures how often requests are served from cache instead of a database, is a useful but potentially misleading metric, as a high ratio does not necessarily equate to optimal performance. Rather than focusing solely on increasing the hit ratio, a broader strategy that considers latency, cost, and data accuracy is recommended. Redis suggests contextualizing the cache hit ratio within intelligent caching strategies that enhance performance, such as fine-tuning eviction policies, implementing near-caching, and adopting hybrid caching approaches to cut memory costs. Real-time monitoring and the use of observability tools can provide valuable insights into cache performance. Redis also explores advanced caching strategies, including AI-driven and always-in-sync caching, which can preemptively manage data to reduce latency and costs. In distributed architectures, scalable caching solutions are essential to maintain efficiency across multiple servers. Overall, Redis positions itself as a platform that extends beyond traditional caching solutions, emphasizing performance and cost-efficiency through modern, adaptive caching methods.
Jul 07, 2025 1,931 words in the original blog post.
In the June 2025 edition of "What’s New in Two," key updates for Redis were highlighted, including the major release of Redis Data Integration (RDI) 1.12, which now supports MongoDB & Atlas, allowing for easier data synchronization and caching. This update also enhances RDI’s APIs by enabling users to discover metadata, validate transformation jobs, and modify pipelines. Redis Insight 2.70, a developer tool, has been updated to allow tagging of database connections for better organization and includes improved full-value editing and JSON key search capabilities. Additionally, the announcement of the 2025 Redis Released event series was made, offering attendees insights into Redis's product roadmap, networking opportunities, and exposure to various industry uses of Redis for real-time experiences and AI initiatives.
Jul 02, 2025 348 words in the original blog post.