Closed jrhoads closed 8 months ago
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite.
0 | 64 | 0 | 0 | 0 |
Details:
Merge efc0a7634edb425963a1696151c5deb9d15810f3 into e11c6ec8ac0d070ef7d262891f19... | |||
Project: akita | Commit: 6fe63eca5e ℹ️ |
||
Status: Passed | Duration: 02:10 💡 | ||
Started: Jan 25, 2024 8:14 PM | Ended: Jan 25, 2024 8:16 PM |
Purpose
Serverless functions are called every time a doi page is requested. This PR reduces the ammount of memory used by the serverless function by 50% This should theoretically increase the nubmer of requests per month we can make at the included rate without reducing the performance of the serverless function.
Approach
Specify the ammount of memory allocated the doi view page.
Learning
https://sivarampg.medium.com/simple-effective-way-to-get-upto-8x-more-serverless-function-invocations-gb-hrs-on-vercels-6512031ac7eb
https://vercel.com/docs/functions/serverless-functions#bundling-serverless-functions
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Reviewer, please remember our guidelines: