X
Docs
Concepts
Optimistic Concurrency Control

Optimistic Concurrency Control

Hot accounts create contention. RLock helps you push through.

Tools

  • Retries with backoff in both submitters (SubmitOptions.maxRetries).
  • Priority fees via cuPriceMicroLamports (Compute Unit price) to be scheduled sooner.
  • Optional tightening (buildAndTighten) to reduce wasted CU.

In hot-account tests, batches of transfers succeed with retries; increasing cuPriceMicroLamports tends to improve latency under load.

Edit on GitHub