Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use bumpalo collections to reduce memory footprint #41

Merged
merged 4 commits into from
Jun 21, 2024

Conversation

tommy
Copy link
Contributor

@tommy tommy commented Jun 21, 2024

We were able to process the 100mb json file in lambda in 33s:

REPORT RequestId: f5c1569e-2149-48e8-bfa9-15891ae98739	Duration: 33287.65 ms	Billed Duration: 33639 ms	Memory Size: 10240 MB	Max Memory Used: 9122 MB	Init Duration: 350.64 ms

However, the API call still failed because the response was too large for ALB. (At least, that's what we think caused the failure.)

CleanShot 2024-06-21 at 14 50 20@2x

@tommy tommy merged commit 7ab1542 into main Jun 21, 2024
5 checks passed
@tommy tommy deleted the bumpalo-collections branch June 21, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants