I’m using AWS Lambda with 10240GB which allocates 6 vCPUs. I’m using multi-processing in it, for PDF Parsing.
Is there any way I can reduce cost of lambda, we can migrate it to EC2 but the invocation will be a challenge.
We are using Pipe and Process for Multi processing inside Lambda.
We tried with different configs of Memory and found that if the Memory is reduced than the time is increasing, and the cost will increase with the memory.