Reputation: 354
I am using Ehcache technologies in our application and it is working in single server data persist in disk, if we moving to production, we have two different server which is clustered in our application.
if first request comes to server A, it will cache respect server A OS disk level cached data and working fine, similarly, if request goes to server B, the application can not find the cached data because the the cached disk object in server A disk. how to we replicate both disk in our ehcache-config.xml?
Upvotes: 0
Views: 155
Reputation: 14500
I recommend looking into clustering support with Terracotta. See the documentation for this:
Upvotes: 0