5 Replies Latest reply on Apr 6, 2017 3:02 PM by Tristan Tarrant

    Howto handle infinispan cache creating and deployment

    Arash Bijanzadeh Newbie

      We have a infinispan cluster serving as cache server for our applications. Every time we need a new cache, we have to edit the config files, and redeploy the cluster, which is problematic. For obvious reasons, we don't want to redeploy the cache cluster. We can add the new cache definition through web interface, or cli. But it has downside of not recording this configuration in a repo. Ideally I want to be able to add cache definitions in a way that is persistent in my code repo. So that in case of a disaster, I can simply redeploy the cache cluster.

      We looked into creating cache definition through the source code, at application startup, but that doesn't seems to be possible.

      Does anyone has an idea about the best practises for this issue?