Yes, I should be more specific. For my use-case, I had been relying on a MySQL serializable transact

Yes, I should be more specific. For my use-case, I had been relying on a MySQL serializable transaction as a sort of “global lock, where I would:
  1. Insert a row that is enforced unique
  2. Fetch some external service
  3. Rollback 1 if 2 fails, else commit
This will work with DO & D1 I believe since there is 1 write ONLY. Instead of using SQL as the global lock, DO will be my global, ID-based lock
Was this page helpful?