Difference between StackExchange.Redis and Service

2019-01-23 13:53发布

问题:

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

回答1:

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.

The ServiceStack.Redis NuGet package include the following limitations:

  • 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:

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

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