Having more than 1 redis configuration in Elixir App

Hello,
I have an Elixir 1.8 umbrella application making a very heavy usage of Redis, through RedisPoolex. I’m currently splitting my Redis instance by concerns, so I’d need to target 2 different Redis with my code.
For now, I have an application (https://hexdocs.pm/elixir/1.8.2/Application.html) named Redis which configure the client.
How could I configure my application to use 2 different connection strings / having 2 different clients ?
Thank you.

Hi, please have a look on

1 Like