django-reference-implementation icon indicating copy to clipboard operation
django-reference-implementation copied to clipboard

New async worker - show an example async worker that avoids race conditions with other workers using skip_locked

Open heysamtexas opened this issue 1 year ago • 0 comments

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.

heysamtexas avatar Jul 29 '24 15:07 heysamtexas