最好的 NHibernate 二级缓存提供程序是什么?

发布于 2024-08-18 18:53:35 字数 158 浏览 2 评论 0原文

我见过有很多这样的。 NCache、Velocity 等等,但我还没有找到比较它们的表格。

考虑以下标准什么是最好的:

  1. 易于理解。
  2. 最近正在维护中。
  3. 是免费的或者有足够好的免费版本。
  4. 作品。

I've seen there is a plenty of them. NCache, Velocity and so forth but I haven't found a table comparing them.

What's the best considering the following criterias:

  1. Easy to understand.
  2. Is being maintained lately.
  3. Is free or has a good enough free version.
  4. Works.

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

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

发布评论

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

评论(1

寂寞花火° 2024-08-25 18:53:35

我无法说出什么是最好的或最差的,但我会分享我使用 NCache 的经验,以防有帮助。

免责声明:NHibernate 和我有一些分歧,从那以后我们就分道扬镳了:)

优点

  • 性能很棒
  • 支持很棒,维护得很好(我说的是 ~6 的状态)几个月前)
  • 它有一个免费版本(下面的警告)
  • 它工作得很好,但我在基本 2 级缓存提供程序实现方面遇到了问题...但这是 NHibernate 方面的 HQL 问题,而不是 NCache 方面的问题。

缺点(参考请查看此处

  • 免费版本有其局限性,它们被策略性地放置在那里怀疑,但对于我们的项目最终我们无法使用免费版本,因为一些关键功能不可用。以下限制适用于免费版本。
    • 不包括基于密钥的依赖项
    • 不包含任何数据库依赖项
    • 无 64 位版本

这些是我在 2 个不同项目上的症结所在...但是除此之外,没有任何问题,我对简单性感到满意安装和配置。如果上述内容对您来说不是症结所在/要求,我建议您尝试一下。我花了不到 10 分钟就启动了一台服务器并充当我们的二级缓存。

I can't speak for what's best or worst, but I'll throw in my experience with NCache in case it helps.

Disclaimer: NHibernate and I had some disagreements, we have since gone our separate ways :)

The Good

  • The performance was great
  • The support was great, it's well maintained (I'm speaking to status as of ~6 months ago)
  • It has a free version (caveats below)
  • It worked as well as possible, but I had issues with the base level 2 cache provider implementation...but this was a problem on the NHibernate side with HQL, not the NCache side.

The Bad (For reference look here)

  • The free version had it's limitations, they are strategically put there no doubt, but for our project ultimately we couldn't use the free version because of some key features not available. The below restrictions are on the FREE version.
    • Key Based Dependency is not included
    • None of the database dependencies are included
    • No 64-bit version

Those were the sticking points on 2 different projects for me...however aside from those, no problems and I was happy with the simplicity of install and configuration. If the above aren't sticking points/requirements for you, I do recommend giving it a shot. It took me less than 10 minutes to get a server up and functioning as our L2 cache.

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