django-reference-implementation
django-reference-implementation copied to clipboard
New async worker - show an example async worker that avoids race conditions with other workers using skip_locked
Is your feature request related to a problem? Please describe. Now that we have the most basic async worker in place it is time to demonstrate more advanced use cases.
This one should demonstrate that you can run multiple workers without race conditions and get at most once semantics.
Describe the solution you'd like Show a basic run using the Django ways of using atomic transactions and "skip locked" methods.
Additional context you will need an additional table of data to process.