Category: redis

Symfony Cache across load balanced servers and blue-green deployment (for cache)

I’m currently using Symfony (4.4) across some load balanced, auto-scaling, servers to provide a stateless API authenticated by JSON Web Tokens. These servers are deployed by a Jenkins server, which uses Packer with Ansible provisioning. For both development and production…

How to override namespace argument in RedisAdapter for a Symfony4 app to cache

I want to use custom namespace in our RedisAdapter to cache in our Symfony4 app. However, when i want to set arguments like this in our services.yaml; cache.adapter.redis: class: SymfonyComponentCacheAdapterRedisAdapter arguments: – ‘@Redis’ – ‘app’ I see this error message:…