NHibernate 2nd level caching with AppFabric

2019-02-10 10:30发布

Has anyone used AppFabric for their second level caching?

I know it's to follow the same api as for Velocity (nhibernate.caches.velocity) but wanted to know if anyone already had some production experience of using it and if they knew of any particular tips or problems?

2条回答
不美不萌又怎样
2楼-- · 2019-02-10 10:49

The only problem I'm currently aware of is what was covered in this question, that the references in the Velocity cache code are out of date and need updating to the AppFabric v1 release assemblies.

查看更多
何必那么认真
3楼-- · 2019-02-10 11:11

I haven't used AppFabric as second level cache but I've used NCache as second level cache for Nhibernate and results were quite satisfactory.By default NHibernation provides a stand alone InProc (in process) first-level (L1) cache, or session-level cache. However in addition, , NHibernate also supports a second-level cache to be plugged in to exploit the benefits of a sophisticated enterprise-grade caching infrastructure.

查看更多
登录 后发表回答