StackExchange.Redis 和 ServiceStack.Redis 的区别 [英] Difference between StackExchange.Redis and ServiceStack.Redis

查看:66
本文介绍了StackExchange.Redis 和 ServiceStack.Redis 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能解释一下 ServiceStack.RedisStackExchange.Redis c# 库的区别?

Someone can explain the difference about ServiceStack.Redis and StackExchange.Redis c# libraries?

推荐答案

注意到 ServiceStack 是一种商业支持的产品,这一点非常重要.请参阅 servicestack.net 上的免费配额.

It's VERY important to notice that ServiceStack is a commercially-supported product. See the free-quotas on servicestack.net.

还有这个问题提到了同样的问题.

Also this question mentions the same.

ServiceStack.Redis NuGet 包包括以下限制:

The ServiceStack.Redis NuGet package include the following limitations:

  • ServiceStack 中的 10 个操作(即请求 DTO)
  • OrmLite 中的 10 个表
  • JSON、JSV 和 CSV 序列化程序中的 20 种不同类型 *
  • Redis 客户端类型 API 中的 20 种不同类型
  • Redis 客户端每小时 6000 个请求

如果您超出这些限制中的任何一个,您将开始收到以下例外情况:

If you exceed any of these limitations, you'll start receiving exceptions like:

每小时 6000 次 Redis 请求"的免费配额限制已成为到达.请参阅 https://servicestack.net 升级到商业许可.

The free-quota limit on '6000 Redis requests per hour' has been reached. Please see https://servicestack.net to upgrade to a commercial license.

相反,StackExchange.Redis 没有任何限制,并且在 MIT 许可下.

Instead, StackExchange.Redis has no limitations and is under the MIT license.

这篇关于StackExchange.Redis 和 ServiceStack.Redis 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆