Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between StackExchange.Redis and ServiceStack.Redis

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

like image 951
Bruno Brito Avatar asked Oct 13 '15 13:10

Bruno Brito


People also ask

What is StackExchange redis?

StackExchange. Redis is a high performance general purpose redis client for . NET languages (C#, etc.). It is the logical successor to BookSleeve, and is the client developed-by (and used-by) Stack Exchange for busy sites like Stack Overflow.

Is StackExchange redis thread safe?

redis is fully thread safe; the expected usage is that a single multiplexer is reused between concurrent requests etc - very parallel. Two concurrent callers do not block each other: the two requests are pipelined and the results made available to each when the come back.


1 Answers

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.

like image 56
thepirat000 Avatar answered Oct 14 '22 17:10

thepirat000