c# - StackExchange.Redis 和 ServiceStack.Redis 的区别

标签 c# redis stackexchange.redis servicestack.redis

有人可以解释 ServiceStack.RedisStackExchange.Redis c# 库的区别吗?

最佳答案

请务必注意,ServiceStack 是一种商业支持产品。查看free-quotas在 servicestack.net 上。

还有 this question提到相同。

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

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

如果您超出了这些限制中的任何一个,您将开始收到以下异常(exception)情况:

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 许可下。

关于c# - StackExchange.Redis 和 ServiceStack.Redis 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33103441/

相关文章:

node.js - Heroku 上的 Redis 将多个哈希键保存为一个。但在本地 redis 数据库上可以

redis - 监听特定键名的redis过期事件

redis - 如何在事务中选择性地执行多个更新(不是添加或更新)?

stackexchange.redis - Azure Function App 无法加载 System.IO.Pipelines 连接到 Redis

c# - 使用 XAML 绑定(bind)设置具有自定义标签的 LiveCharts 系列的颜色

c# - 从代码隐藏填充 gridview

c# - 在启动时显示默认 View (用户控件)

node.js - 如何在AWS Elasticache中测试Redis的性能?

c# - 如何获取变量的编译时类型?

c# - 将 String[] 数组转换为 RedisKey[] 数组