I have a service oriented architecture where a web farm full of asp clients ends up on the application server farm from WCF services. Obviously, all access to the database is provided by WCF services. Now I would like to cache my frequently used databases, retrieved objects, using Velocity at the service level level. I am considering including each physical application server in a cache cluster.
According to the Velocity documentation, if I use regions, objects are stored on only one host. I really would not have a problem if each host kept its own cache, provided that I could somehow synchronize them.
So my questions
- If I create one region on one host, is it also created on another?
- When I clear the cache area, is it cleared on only one host?
- If I sign up for a regional level notification on all hosts, can I catch events from one host on another?
- In this scenario, should I use regions at all or stay away from them?
Hope my questions are clear. In fact, I'm more interested in solving my problem than the answers to my questions.
Ender source
share