FeatureFuel
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_

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests