Skip to content

feat: 10GB worker + DLQ depth alarm#68

Merged
Androz2091 merged 1 commit into
mainfrom
feat/bigger-worker-and-dlq-alarm
May 1, 2026
Merged

feat: 10GB worker + DLQ depth alarm#68
Androz2091 merged 1 commit into
mainfrom
feat/bigger-worker-and-dlq-alarm

Conversation

@Androz2091
Copy link
Copy Markdown
Member

@Androz2091 Androz2091 commented May 1, 2026

Two changes for handling large packages, plus alerts straight to Discord.

  • worker_lambda_memory: 3008 -> 10240. Lambda allocates vCPU proportional to RAM; ~3x more vCPU should let large packages finish inside the 15-min cap. Per-package cost stays roughly flat (memory is billed per GB-second; faster runs cancel out the higher per-second rate).
  • CloudWatch alarm on the DLQ depth. Anything in the DLQ means a worker invocation failed twice (unhandled exception or 15-min timeout).
  • Tiny notifier Lambda (stdlib only, ~25 LOC) subscribed to a new SNS topic. Forwards alarm events as a Discord embed to the same WH_URL webhook the worker uses for package-processed notifications, so DLQ alerts land in the same channel. No email, no AWS Chatbot.

- worker_lambda_memory: 3008 -> 10240. Lambda allocates vCPU
  proportional to RAM; ~3x more vCPU should let large packages finish
  inside the 15-min cap. Per-package cost stays roughly flat.

- New CloudWatch alarm on the DLQ. Anything in the DLQ means a worker
  invocation failed twice (unhandled exception or 15-min timeout).

- Tiny notifier Lambda (stdlib only, ~25 LOC) subscribed to a new SNS
  topic. Forwards alarm events as a Discord embed to the same WH_URL
  webhook the worker uses for package-processed notifications, so DLQ
  alerts land in the same channel.
@Androz2091 Androz2091 force-pushed the feat/bigger-worker-and-dlq-alarm branch from a1a0c1d to f24c7e3 Compare May 1, 2026 04:50
@Androz2091 Androz2091 merged commit f0d0e2f into main May 1, 2026
@Androz2091 Androz2091 deleted the feat/bigger-worker-and-dlq-alarm branch May 1, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant