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.