Halibut
Halibut copied to clipboard
Sast/async json spike in memory fallback sync
[sc-53133]
Background
Results
Before
After
To show that memory is capped, we used a large file and observed the following:
When Writing
With a small memory limit, RAM didn't exceed 1.8GB
With a very large memory limit, all data was moved into memory, reaching 2.3GB
When Reading
With a small memory limit, RAM didn't exceed 3GB
With a very large memory limit, all data was moved into memory, reaching 5.5GB
How to review this PR
Quality :heavy_check_mark:
Pre-requisites
- [ ] I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
- [ ] I have considered informing or consulting the right people, according to the ownership map.
- [ ] I have considered appropriate testing for my change.
This pull request has been linked to Shortcut Story #53133: Halibut: Investigate JsonSerializer and Async support.