NHibernate 使用 AppFabric 进行二级缓存

发布于 2024-09-11 18:11:12 字数 268 浏览 2 评论 0原文

有人使用 AppFabric 进行二级缓存吗?

我知道它遵循与 Velocity 相同的 api (nhibernate.caches.velocity),但想知道是否有人已经有使用它的一些生产经验,以及他们是否知道任何特定的技巧或问题?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

jJeQQOZ5 2024-09-18 18:11:12

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.

谁人与我共长歌 2024-09-18 18:11:12

我没有使用 AppFabric 作为二级缓存,但我使用过 NCache 作为 Nhibernate 的二级缓存,结果相当令人满意。默认情况下,NHibernation 提供独立的 InProc(进程中)一级 (L1) 缓存,或会话级缓存。然而除此之外,NHibernate 还支持插入二级缓存,以利用复杂的企业级缓存基础设施的优势。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文