Redis 8.2 Preparing More Performance Optimizations, SVS-VAMANA
([Programming] 6 Hours Ago
Redis 8.2)
- Reference: 0001558620
- News link: https://www.phoronix.com/news/Redis-8.2-RC1-Released
- Source link:
The first release candidate of Redis 8.2 is now available for testing of this popular in-memory key-value database. Redis 8.2 is building off the recent [1]Redis 8.0 release that ended up going tri-licensing with the AGPLv3 stemming from developer/community feedback.
Redis 8.2-RC1 is bringing new commands for streams, the query engine has a new SVS-VAMANA vector index type for vector compression optimized for modern Intel CPUs, and a variety of new performance optimizations and memory usage improvements. The SVS-VAMANA is part of the Redis work on supporting Scalable Vector Search (SVS) library integration.
The new performance/memory optimizations with Redis 8.2-RC1 include:
- Optimize BITCOUNT by introducing prefetching
- Optimize SCAN by performing expiration checks only on DBs with volatile keys
- Optimize expiry check in scanCallback
- Optimize LREM, LPOS, LINSERT, ZRANK, and more by caching string2ll results in quicklistCompare
- Optimize COPY, RENAME, and RESTORE when TTL is used
- Reduce the overhead associated with tracking malloc’s usable memory
- Optimize the client’s cron to avoid blocking the main thread
- memory footprint improvement by inlining numbers (MOD-9511)
Downloads and more details on today's Redis 8.2-RC1 release via [2]GitHub .
[1] https://www.phoronix.com/news/Redis-8.0-Goes-AGPLv3
[2] https://github.com/redis/redis/releases/tag/8.2-rc1
Redis 8.2-RC1 is bringing new commands for streams, the query engine has a new SVS-VAMANA vector index type for vector compression optimized for modern Intel CPUs, and a variety of new performance optimizations and memory usage improvements. The SVS-VAMANA is part of the Redis work on supporting Scalable Vector Search (SVS) library integration.
The new performance/memory optimizations with Redis 8.2-RC1 include:
- Optimize BITCOUNT by introducing prefetching
- Optimize SCAN by performing expiration checks only on DBs with volatile keys
- Optimize expiry check in scanCallback
- Optimize LREM, LPOS, LINSERT, ZRANK, and more by caching string2ll results in quicklistCompare
- Optimize COPY, RENAME, and RESTORE when TTL is used
- Reduce the overhead associated with tracking malloc’s usable memory
- Optimize the client’s cron to avoid blocking the main thread
- memory footprint improvement by inlining numbers (MOD-9511)
Downloads and more details on today's Redis 8.2-RC1 release via [2]GitHub .
[1] https://www.phoronix.com/news/Redis-8.0-Goes-AGPLv3
[2] https://github.com/redis/redis/releases/tag/8.2-rc1
dlq84