PromptBase
PromptBase SelectGet Select
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
(claude-5-sonnet)
Token size
636
Example input
[DECISION_NOTES]: Notes from yesterday's call: we have to pick a queue system. We're already on AWS. Options were SQS, RabbitMQ, and Kafka. We went with SQS because we don't need replay, our throughput is well under 1000 msgs/sec, and we don't want to run our own infrastructure. Alex argued for Kafka because of future-proofing for event sourcing, but no one else wanted to take on the operational complexity right now.
Example output
# ADR-014: SQS for asynchronous job queue **Status:** Accepted **Date:** 2026-05-25 **Deciders:** Alex, Priya, Jordan ## Context We need a queue system for the new background-job infrastructure (refund processing, email sending, report generation). Current synchronous handling in the API server is causing timeouts on requests that trigger long-running work. Constraints: - Throughput is well under 1000 messages/second for the foreseeable future. - We don't need message replay or long retention. - We're already on AWS and have IAM, VPC, and monitoring set up. - We are a four-person team without dedicated infrastructure capacity. ## Decision We will use AWS SQS for the asynchronous job queue. ## Alternatives considered - **RabbitMQ.** Rejected because we don't want to run our own queue infrastructure. The operational cost (HA setup, monitoring, upgrades) isn't justified by the features RabbitMQ offers over SQS for our current needs. - **Kafka.** Considered seriously, primarily as a future-proofing option for event sourcing. Rejected because the operational complexity (Zookeeper or KRaft, partitions, consumer groups) is significant overhead for our current throughput, and we don't have a near-term need for replay or event sourcing. ## Consequences What gets easier: - No infrastructure to operate. SQS is fully managed. - Native IAM integration for access control. - Standard at-least-once delivery with visibility timeout matches our job model well. - Dead-letter queue support out of the box. What gets harder: - FIFO is an opt-in tier with lower throughput limits. If we later need strict ordering, we'd need to either move to FIFO queues (300 TPS limit) or design around it. - No replay. If we later want event sourcing or to reprocess a window of messages, we'd need to migrate. - Vendor lock-in to AWS. If we ever multi-cloud, SQS doesn't come with us. What this creates: - Need to define a job-message schema convention (we're picking JSON with a versioned envelope). - Need to instrument queue depth and processing latency in our existing Prometheus setup. - Decision needs revisiting if throughput approaches 1000/sec or if event sourcing becomes a real requirement. ## Open questions - Do we use one queue per job type, or one queue with a job_type field? Leaning toward one queue per type for isolation, but pending Priya's review of the throughput math. - Standard SQS or FIFO? Standard for now; revisit if any job type needs ordering guarantees.
Claude

Adr Recorder

Add to Cart
PromptBase Select
Get this prompt + 9 more with Select$14 your first month, then $19/mo$14 first month, then $19/mo
View Select
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
CLAUDE-5-SONNET
Tested icon
Guide icon
4 examples icon
Free credits icon
Turns a discussion or meeting notes into an Architecture Decision Record with the Nygard structure intact and the sales-pitch language stripped. States the decision plainly, lists only the alternatives seriously evaluated, gives honest consequences including what gets harder, and calls it out directly when a team didn't actually decide anything or one voice dominated without real pushback. One of 40 in the Pemway Power User Pack.
...more
Added over 1 month ago
Report
Browse Marketplace