Redis. NET client Distributed locks

Source: Internet
Author: User

Reference link for Redis distributed locks: http://redis.io/topics/distlock.

In our project, before pondering using: Servicestack.redis, found that Servicestack.redis charges, operating more than 6,000 times per hour error : "The Free-quota limit on ' 6000 Redis requests per hour ' has been reached ... "

So look at other Redis clients:

Stackexchange.redis seemingly does not support distributed locks , or I do not know?

Redlock.net and Redlock-cs are bad for you.

workaround :servicestack.redis free version: Https://github.com/ServiceStack/ServiceStack.Redis/tree/v3

Inserting 10W times is no problem, support distributed lock, as to what restrictions, I did not study carefully.

Redis. NET client Distributed locks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.