今天更新了框架中的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/ 。
希望大家在使用任何開源組件新版本的時候,切記測試,小心掉坑里!