I was installing ehcache on my application deployed on a Tomcat 6. I succesfuly saved on diskstore, re-used the saved data and catched an unclean shutdown of server.
Now i moved to the second step, which was the reason why im storing on disk. it's because we deploy the application on 2 clustered servers in case one goes down, the second takes over.
I thought about making both applications point to the same diskstore path.
- i dont know if it's possible or not
- do you think replicating the diskstore is better (i don't know how though)
- any other suggestions for how let both servers use the same version of the cache ?
- How to test this? is it correct if i deploy my application on two different tomcat 6 instances ? (because there is no clustering in this case)
Thank you
- something that (i think) can be a solution but i know nothing about what it does or how to integrate : Terracotta Server Array.