Several hundred caches should not be a problem, as this happens when using Infinispan as a 2nd level cache for Hibernate. But be aware that there is an issue at the moment which affects startup time when you have hundreds of caches. See this forum thread for related info, this will be addressed as a part of ISPN-1321. Don't be put off by it though, the reporter was creating thousands of caches and even then, the slowdown is only at boot time, not runtime.
Okay thanks, good to know that Hibernate is approaching the table-to-cache mapping problem in a somewhat similar way and Infinispan is made to support that. We will be ramping up our conversion to Infinispan relatively slowly, converting tables one at a time from our old/terrible in-house caching scheme to Infinispan, so it will likely be at least some months before the startup delay really becomes a noticeable problem.
Is there a rough timeline for 5.1.0?
Thanks so much for your help.