Hi guys,
Is there anything wrong design wise to have multiple RedisTemplates within a single project all connecting to the same Redis instance?
The specific scenario that I am asking about is that I have some data that I want to store in Redis using the Key --> Hash structure, and then another set of data that will take the form Key --> List
Since I the RedisTemplate can only be parameterised with <String, Map> or <String, List> I was thinking of using two redis templates. But before I go ahead with that I wanted to check with you guys that I'm not missing something obvious.
Thanks!
Is there anything wrong design wise to have multiple RedisTemplates within a single project all connecting to the same Redis instance?
The specific scenario that I am asking about is that I have some data that I want to store in Redis using the Key --> Hash structure, and then another set of data that will take the form Key --> List
Since I the RedisTemplate can only be parameterised with <String, Map> or <String, List> I was thinking of using two redis templates. But before I go ahead with that I wanted to check with you guys that I'm not missing something obvious.
Thanks!