关于 ServiceStack.Redis 4.0 License

时间:2023-03-08 21:01:42

今天更新了框架中的Redis驱动ServiceStack.Redis,最新版本4.0.5.0。

在做简单压力测试时出现异常,提示每小时允许6000个请求。

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

查看官方说明,在 https://servicestack.net/download 页面的最下方。

Free Quotas

Whilst ServiceStack v4 is a commercially-supported product, we also allow free usage for small projects and evaluation purposes. 
The NuGet packages above include the quota's below which can be unlocked with a license key:

  • 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
* These quotas are lifted in ServiceStack.Client generic service clients allowing un-restricted access when consuming ServiceStack services.
ServiceStack 4.0 开始已经成为商业产品,不在完全免费,不过突然来这么一下真是措手不及。
推荐大家一个Redis Http API 组件,https://code.google.com/p/redbridge/ 。
希望大家在使用任何开源组件新版本的时候,切记测试,小心掉坑里!