NHibernate 2nd level caching with AppFabric

若如初见. 提交于 2019-12-18 17:03:03

问题


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?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/3343263/nhibernate-2nd-level-caching-with-appfabric

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!