Move towards the self-provided Redis connection pool and RESP protocol implementation.

Official redis client library won't work with yaegi.
This commit is contained in:
2025-10-19 12:57:11 +01:00
parent 92a058da83
commit 868503fd7e
10 changed files with 2509 additions and 127 deletions
+2
View File
@@ -559,6 +559,8 @@ spec:
The plugin supports optional Redis caching for multi-replica deployments. This solves issues with JTI replay detection and session management when running multiple Traefik instances behind a load balancer.
> **✨ Yaegi Compatible**: Redis support is implemented using a pure-Go RESP protocol client that works seamlessly with Traefik's Yaegi interpreter (no `unsafe` package). Full Redis functionality is available for both dynamic plugin loading and pre-compiled deployments.
### Why Use Redis Cache?
When running multiple Traefik replicas, each instance maintains its own in-memory cache for: