VersionBloomRedisConfig
7/8/26Less than 1 minute
VersionBloomRedisConfig
Info
Redis configuration for the version module's bloom filter, used to prevent cache penetration on app version lookups.
Overview
VersionBloomRedisConfig provisions a dedicated LettuceConnectionFactory and StringRedisTemplate for the version bloom filter. The bloom filter uses Redis bitmaps to quickly reject non-existent appName values before hitting the database.
Configuration
| Property | Value |
|---|---|
| Database | DB 0 (configurable via REDIS_VERSION_BLOOM_DATABASE) |
| Connection | Standalone Redis (host/port/password from global env) |
Beans
| Bean | Type | Qualifier |
|---|---|---|
| Connection Factory | LettuceConnectionFactory | versionBloomRedisConnectionFactory |
| Redis Template | StringRedisTemplate | versionBloomRedisTemplate |
Environment Variables
| Variable | Default | Description |
|---|---|---|
REDIS_HOST | 127.0.0.1 | Redis server host |
REDIS_PORT | 6379 | Redis server port |
REDIS_PASSWORD | (empty) | Redis authentication password |
REDIS_VERSION_BLOOM_DATABASE | 0 | Redis database number for bloom filter |
Tips
The bloom filter is rebuilt from the database on application startup to ensure consistency.
Changelog
7/8/26, 5:52 AM
View All Changelog
9f290-on

