2
Race Condition Prevent
Source: directus/directus#23901 · opened by @fishuke
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_
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_
No pledges yet. Be the first to back this.
Comments
Similar requests
Allow Direct File Upload via Item Creation
7 votes · 0 comments
Insights: Add conditional styling for the labels, show/hide the note, correct the function "count"
2 votes · 0 comments
Add “Apply” Button to Filter Box to Prevent Lag During Typing
1 vote · 0 comments
Lock fields to prevent changes through directus
18 votes · 0 comments
Conditional confirmation step on collection
18 votes · 0 comments
No comments yet.