antirez / antirez/redlock-rb

Could I obtain multi resource by one lock?

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
213
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Hey, Antirez! Would it be better if i can obtain multi resource by one lock .
Think about this use case :
In a shopping application , when a user place order with multi skus and count, it is a good idea to use Redlock to lock the skus and judge is there enough inventory to sell.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.