Home / Companies / Momento / Blog / October 2025

October 2025 Summaries

4 posts from Momento

Filter
Month: Year:
Post Summaries Back to Blog
Valkey 9.0 introduces significant advancements in caching technology, focusing on resilience, developer experience, and performance enhancements. Its key feature, atomic slot migration, improves cluster rebalancing by ensuring consistent data routing and reducing errors during live data transitions, which enhances reliability under load. Developer experience is enriched by allowing per-field TTLs within hashes, simplifying data modeling and reducing the need for multiple keys. Performance gains are achieved through modern CPU optimizations, including AVX-512 and AVX2 SIMD vectorization, which boost throughput and efficiency. The release also highlights community-driven innovation, with contributions that solve real-world challenges, and positions Valkey 9.0 as a robust, scalable, and efficient open-source caching solution.
Oct 24, 2025 1,186 words in the original blog post.
In building Momento, a production caching infrastructure, the team identified five critical metrics that predict potential cache outages. These include memory utilization and eviction rate, where a high eviction rate can alter cache behavior, leading to increased database load and latency issues. Connection churn, which focuses on the creation of new connections per second, can indicate problems with connection pooling that might destabilize the system. P999 latency, representing the slowest 0.1% of requests, serves as a crucial metric, as significant differences between P99 and P999 can reveal resource contention affecting user experience. Cache miss rate, rather than hit rate, provides insights into database load, as even slight increases can substantially impact backend performance. Finally, replication lag in systems using Valkey with replication serves as an early warning of network or capacity issues. The document emphasizes that while these metrics are essential, the true challenge lies in designing systems that automatically respond to them, ensuring stability and reducing the need for reactive interventions.
Oct 09, 2025 839 words in the original blog post.
A recently discovered vulnerability in Redis, identified as CVE-2025-49844, highlights a critical security issue whereby authenticated attackers can exploit a use-after-free flaw to escape the Lua sandbox and execute remote code, potentially leading to severe consequences such as data deletion, corruption, or encryption for ransom. Although this bug, present in the code for 13 years, is typically not internet-exposed due to common deployment within virtual private clouds (VPCs), it nonetheless poses a significant insider threat if authentication is not configured, as attackers within the network can manipulate data using Lua scripts. This situation underscores the importance of securing Redis and Valkey nodes with passwords to mitigate the risk of unauthorized access and data manipulation. The vulnerability serves as a broader reminder of the need for robust security practices beyond merely patching known issues, emphasizing the necessity of evaluating access controls and potential threats within internal networks. Additionally, the challenges associated with embedding Lua in Redis, such as performance issues and security risks, have been evident in past vulnerabilities, illustrating the potential dangers of running user logic within data management processes.
Oct 09, 2025 769 words in the original blog post.
In a comparative benchmark between Valkey 8.1 and Redis 8.2, Valkey demonstrated superior memory efficiency and stable throughput when handling 50 million sorted set operations, a critical feature for high-demand environments like Raider.IO, which tracks thousands of real-time player activities. Valkey 8.1 used 28% less memory than Redis 8.2, resulting in reduced operational costs and improved capacity planning due to its consistent performance under pressure. While Redis initially showed higher throughput, Valkey maintained a steadier pace, finishing with 570k inserts per second compared to Redis's 530k, highlighting its robustness in high-volume scenarios. The benchmark, conducted on an AWS c8g.2xl instance using Docker and Rust, underscores Valkey's advantages in environments where memory efficiency and predictability are key to maintaining responsive services during peak loads.
Oct 01, 2025 1,022 words in the original blog post.