Skip to content

feat(proxyd): add Redis connection pool configuration options#9

Closed
sluo10 wants to merge 3 commits into
base:mainfrom
sluo10:add-connection-pool-configurations
Closed

feat(proxyd): add Redis connection pool configuration options#9
sluo10 wants to merge 3 commits into
base:mainfrom
sluo10:add-connection-pool-configurations

Conversation

@sluo10

@sluo10 sluo10 commented Feb 6, 2026

Copy link
Copy Markdown

Summary

  • Adds configurable Redis connection pool settings (pool size, idle connections, timeouts, retries) to RedisConfig
  • Applies sensible defaults for high-throughput deployments (100 pool size, 20 min idle connections)
  • Documents all new options in example.config.toml with explanations

Changes

  • proxyd/config.go: Added 11 new pool configuration fields with documentation
  • proxyd/redis.go: New NewRedisClientWithConfig() function that applies pool settings to both standard and cluster Redis clients
  • proxyd/proxyd.go: Updated all Redis client instantiations to use the new config-aware constructor
  • proxyd/example.config.toml: Added commented examples for all new configuration options

@henridevieux henridevieux requested a review from meyer9 February 6, 2026 21:51
@sluo10 sluo10 closed this Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant