Skip to content

Withdrawal Concurrency #219

@jasoneisen

Description

@jasoneisen

I do not see any guard or pattern that ensures that two withdrawals occurring at the same instant will fail one if the first to commit sends the balance to zero. The current implementation appears to be a common read/compare/write without regard to any other debits that may be in flight.

Is this intended or out of scope for this project? This is a somewhat non-trivial but very common use case that I think this project could further shine in by showing one or more best practices and the impact on architecture.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions