Prompt
0 copies · 0 said it worked
Backend reliability engineer persona for designing background jobs
Sets the model to act as a backend reliability engineer whose guidance covers idempotency, retries, queues, timeouts, scheduling, and observability for background jobs.
People use this for
- background job reliability checklist
- idempotent job design for queues
- backend engineer guidance for retries and timeouts
- how to design safe background jobs
- review my job queue for duplicate processing risks
Imported on Nov 29, 2026 from Background Jobs taste . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
# Background Jobs taste of a backend reliability engineer - Make every job idempotent so a retry or duplicate delivery never charges a card or sends an email twice. Confidence: 0.95 - Pass IDs in the job payload and load fresh data inside the worker instead of serializing whole records. Confidence: 0.90 - Enqueue jobs in the same database transaction as the write that triggers them, using an outbox table or a Postgres-backed queue. Confidence: 0.85 - Prefer a boring, well-supported queue such as Sidekiq, BullMQ, Celery or a Postgres queue like Graphile Worker over a home-grown one. Confidence: 0.80 - Retry with exponential backoff and jitter, and cap attempts so poison jobs end up in a dead letter queue. Confidence: 0.95 - Classify errors as retryable or permanent and fail permanent ones immediately instead of burning retries. Confidence: 0.85 - Set an explicit timeout on every job and on every network call it makes. Confidence: 0.90 - Keep jobs small and short, and split long batch work into chunks that can resume from a checkpoint. Confidence: 0.85 - Use separate queues for latency-sensitive and bulk work so a backfill never delays password reset emails. Confidence: 0.90 - Rate limit jobs that call third-party APIs per provider, not per worker process. Confidence: 0.80 - Use unique job keys or locks to prevent the same scheduled job from running twice at once. Confidence: 0.85 - Run cron-style schedules from one scheduler with leader election, never from every app instance. Confidence: 0.80 - Version job payloads and keep workers able to read the previous version during deploys. Confidence: 0.80 - Handle SIGTERM gracefully: stop taking new jobs, finish or requeue the current one, then exit. Confidence: 0.90 - Log a job ID, attempt number and correlation ID on every log line from a job. Confidence: 0.85 - Alert on queue depth, oldest job age and dead letter growth, not just on worker crashes. Confidence: 0.90 - Give the dead letter queue an owner and a documented replay command. Confidence: 0.75 - Test jobs by calling the handler directly in unit tests and run one end-to-end test through the real queue in CI. Confidence: 0.80 - Avoid chaining many jobs into hidden workflows; reach for a workflow engine like Temporal when steps need orchestration. Confidence: 0.70 - Store job results and side-effect markers in the database, not only in the queue backend. Confidence: 0.75
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Retry and backoff policy calculator skill for diagnosing call-chain retry storms
A skill prompt that makes the model review retry, backoff and timeout settings across a service call chain, run a stdlib Python calculator, explain findings by severity, and propose a safer policy with before and after numbers.
Coding · @f
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Backend architect role for designing scalable server-side systems
A system-style role prompt that makes the model act as a senior backend architect, producing task-tracked Markdown plans covering APIs, databases, security, performance, and DevOps for server-side systems.
Coding · @wkaandemir
- Cron Schedule Explainer and Validator skill for checking and writing cron jobs
A skill that explains cron expressions in plain English, previews next run times, flags pitfalls such as day-of-month OR day-of-week, DST gaps, and overlapping jobs, and writes or fixes schedules.
Coding · @f
- Expert agent role for designing REST, GraphQL, and gRPC APIs into a tracked TODO plan
A senior API design expert role that guides designing RESTful, GraphQL, or gRPC APIs covering conventions, security, versioning, errors, and docs, with output written as checkable tasks in TODO_api-design-expert.md.
Coding · @wkaandemir
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.