While reviewing concurrency async, two workers update one counter concurrently. Which action best addresses the problem?
Answer options
- A. Use an atomic update operation
- B. Protect assignment with a lock
- C. Compare and increment a version field
- D. Bound the queue and throttle producers