Skip to content

feat: add S3 overflow for large SQS payloads in Fargate#3684

Merged
hassy merged 1 commit intomainfrom
fix/sqs-overflow
Jan 29, 2026
Merged

feat: add S3 overflow for large SQS payloads in Fargate#3684
hassy merged 1 commit intomainfrom
fix/sqs-overflow

Conversation

@hassy
Copy link
Member

@hassy hassy commented Jan 28, 2026

Description

SQS has 1MB message limit. Large metric batches can exceed this.

When payload > 950KB we will now store the payload in S3 instead and fetch it from there in the consumer.

Mirrors existing Azure ACI blob overflow pattern (#3662).

Fixes #3683

Pre-merge checklist

This is for use by the Artillery team. Please leave this in if you're contributing to Artillery.

  • Does this require an update to the docs? No
  • Does this require a changelog entry? Yes

SQS has 1MB message limit. Large metric batches can exceed this.

When payload > 950KB:
- Worker uploads full payload to S3 at tests/{testId}/overflow/
- Sends reference message with _overflowRef field
- Consumer detects ref, fetches from S3, processes normally

Mirrors existing Azure ACI blob overflow pattern.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@hassy hassy merged commit 09ea3b7 into main Jan 29, 2026
87 of 88 checks passed
@hassy hassy deleted the fix/sqs-overflow branch January 29, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

run-ecs: ArtillerySQSPlugin.sendSQS: Message must be shorter than 1048576 bytes

1 participant