Race Condition Prevent #23901
fishuke
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
We need solutions like database locking or queue (bull-mq can be used with redis) so we can prevent race conditions for applications like e-commerce.
Basic Example
Database locking
Bull mq
Motivation
Prevent Race Condition
Detailed Design
bull-mq can be used with redis so we can prevent race conditions for applications like e-commerce.
Requirements List
Should prevent race condition. Current unique system is helpful but it fails the error.
Drawbacks
development cost. complexity.
Alternatives
syncronous insert/updates?
Adoption Strategy
new version.
Unresolved Questions
No response
All reactions