Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 788 Bytes

File metadata and controls

32 lines (17 loc) · 788 Bytes

TODOs

Code

  • database_locks

    • pessimistic_lock
  • pessimistic_payments

    • Optimistic lock can't be used in combination with pessimistic lock?
      • change_payment_intent_amount with optimistic lock can't prevent concurrent updates with charge_payment_intent with pessimistic lock
  • optimistic_payments

    • Update amount use case

    • Charge Payment Intent use case - with optimistic & semantic locks

    • Update PaymentIntent.version in-place in DynamoDBPaymentIntentRepository.update?

    • Consistent read is no longer needed because the optimistic lock will ensure a stale aggregate update is rejected

  • __eq__ method on aggregate objects?

    • test_domain.py
  • Idempotence keys

Docs

  • README