Prompt

AWS SQS delayed jobs

Technology / Cloud Infrastructure1 observationLast seen Oct 24, 2026

Latest observation

Oct 24, 2026OpenAI APIWeb search: off

AWS SQS supports delayed delivery for messages, which is useful for “delayed jobs” or “run this later” workflows.

Two ways to delay an SQS job

1) Per-message delay

When you send a message, you can set a delay of up to 15 minutes.

  • Standard queues: supported
  • FIFO queues: supported, but delay behavior is per-message and queue settings differ

Example:

  • Send job now
  • Consumer won’t see it until the delay expires

2) Queue-level delay

You can configure a DelaySeconds value on the queue itself, so all messages sent to that queue are hidden for a fixed period after being enqueued.

  • Range: 0 to 900 seconds
  • Default: 0

Important limits

  • Maximum delay is 15 minutes
  • SQS is not a full scheduler for arbitrary future times
  • If you need jobs delayed for longer than 15 minutes, you usually combine SQS with:
    • EventBridge Scheduler
    • Step Functions
    • Lambda + DynamoDB / scheduler table
    • A database-backed job queue

Common pattern for delayed jobs

  1. Producer sends message with delay
  2. Worker polls queue
  3. Worker processes message after it becomes visible
  4. If processing fails, use retry + DLQ

Example: send a delayed message

AWS CLI

aws sqs send-message \
  --queue-url https://sqs.us-east-1.amazonaws.com/123456789012/my-queue \
  --message-body '{"task":"send_email","user_id":42}' \
  --delay-seconds 300

This makes the message visible after 5 minutes.

Python (boto3)

import boto3

sqs = boto3.client("sqs")

sqs.send_message(
    QueueUrl="https://sqs.us-east-1.amazonaws.com/123456789012/my-queue",
    MessageBody='{"task":"send_email","user_id":42}',
    DelaySeconds=300
)

If you need “run at a specific time”

SQS delay alone is not ideal because it only supports relative delay, not an exact timestamp beyond 15 minutes. For exact scheduled jobs, use:

  • EventBridge Scheduler for one-time future execution
  • Then have it send to SQS or invoke Lambda

Practical recommendation

  • Use SQS delayed messages for short delays
  • Use EventBridge Scheduler for longer or exact-time scheduling
  • Add a DLQ for failures

If you want, I can also show:

  • a Node.js example
  • a Laravel / PHP delayed queue setup
  • a system design for delayed jobs on AWS

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.