DEV Community 👩‍💻👨‍💻

Discussion on: Use lambda resolvers in your GraphQL API with AWS Amplify

devtghosh profile image
Devjyoti Ghosh • Edited on

For people that might run into the issue of it taking too much time to execute the function, you may wanna trying increasing the ram of the lambda function from the AWS console. The CPU is tied directly to the ram so the higher the ram better the CPU.

Lambda billing is accurate to 100-ms increments. For that reason, when allocating memory to a function, you need to consider that putting the smallest RAM may reduce the memory cost but increase latency. It may outweigh the cost savings due to the longer execution time of the function.

Thanks for the great article @nxtra