-
Notifications
You must be signed in to change notification settings - Fork 732
Open
Description
The following is a screenshot from an alloc_objects profile representing 36,153 calls to sqs.DeleteMessage in 2m which resulted in over 16,067,498 allocated objects by just the smithy-go library alone which is over 400 allocations per call. We're pushing against a significant amount of GC pressure and want to understand whether this can be improved, so here are my questions:
- Is there a possibility to reduce optimizations/add pooling, etc to the smithy-go library?
- In the immediate term, are there any knobs we can mess with to shrink this? For example, I noticed that almost 1M allocations came from
github.com/aws/smithy-go/transport/http.withMetrics, but we don't care about those metrics, so if we can disable them and save 6% of the allocations that are happening, that would be a big win.
I'm happy to provide more info, or even share a profile privately.

Metadata
Metadata
Assignees
Labels
No labels