Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@heysamtexas

Description

@heysamtexas
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    devexDeveloper ExperienceDeveloper ExperiencedocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.