This website uses cookies to ensure you get the best experience.
Learn more.
An upload API must acknowledge jobs quickly while workers process them asynchronously. Bursts can exceed worker capacity. Jobs must survive worker restarts, and a duplicate delivery must not create a duplicate invoice. Which TWO design choices meet these requirements? (Choose TWO.)
Published
- Acknowledge every upload before storing the job in any durable service.
- Place accepted jobs in a durable SQS queue and let workers consume them independently.
- Store the queue solely in the memory of the current API instance.
- Use a job identifier and an atomic deduplication check to make invoice creation idempotent.
- Delete each message as soon as a worker receives it, before invoice creation completes.
Comments — 0
Sign in to comment