Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人使用 AppFabric 进行二级缓存?
我知道它遵循与 Velocity ( nhibernate.caches.velocity )相同的 api,但想知道是否有人已经有使用它的一些生产经验,以及他们是否知道任何特定的提示或问题?
我目前知道的唯一问题是这个问题所涵盖的内容,即 Velocity 缓存代码中的引用已过时,需要更新到 AppFabric v1 发布程序集。
我没有使用 AppFabric 作为二级缓存,但我使用NCache作为 Nhibernate 的二级缓存,结果非常令人满意。默认情况下,NHibernation 提供独立的 InProc(进程中)一级(L1)缓存或会话级缓存。然而,除此之外,NHibernate 还支持插入二级缓存,以利用复杂的企业级缓存基础架构的优势。