Recommended usage of AppFabric in multi-environment
- Three environments: dev, staging, and production
- Each environment has their own database that may or may not be the same as another environment's database
- There is开发者_C百科 only one AppFabric cache server
I need to be able to use caching, but at the same time keep the cache separate for each of the three environments.
How are some ways to do this?
Thanks!
Use named caches and cache regions to fit your different environmental needs. Make the names/regions configurable in a .config file or DB table. Putting cached data in environment-specific caches or regions gives you partitioning.
精彩评论