Skip to content

Could I obtain multi resource by one lock?  #4

@sunkuo

Description

@sunkuo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions