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

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

问题描述

有人可以解释有关 ServiceStack.Redis StackExchange.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个请求
  • 10 Operations in ServiceStack (i.e. Request DTOs)
  • 10 Tables in OrmLite
  • 20 Different Types in JSON, JSV and CSV Serializers *
  • 20 Different Types in Redis Client Typed APIs
  • 6000 requests per hour with the Redis Client

如果您超过了这些限制中的任何一个,您将开始收到类似以下的异常信息:

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天全站免登陆