Skip to content

SQS Send Message BatchΒ #296

@brendonparker

Description

@brendonparker

Describe the feature

Allow for sending a batch of messages (SendMessageBatch)

This was previously opened, but then closed due to inactivity: #264

Use Case

Without message batching you are limited to 300 operations per second (300 send, receive, or delete operations per second).
With batching (using SendMessageBatch): Up to 3,000 messages per second.

Anytime your enqueuing a list of things to do, batching is preferred.

Proposed Solution

  • Add SendBatchAsync to ISQSPublisher
    • Accept a List<T> return a List<SQSSendResponse>
    • Note: Unsure how best to handle SQSOptions? as this can contain message-level properties (deduplication id, etc). So looking for guidance there.

Other Information

This was previously opened in SQSSendResponse

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS.Messaging (or related) package versions

AWS.Messaging 1.0.1

Targeted .NET Platform

All

Operating System and version

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issuequeued

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions