I want to process some code in parallel, I used threading.Thread and also multiprocessing.Process but weirdly they both took more time then normal execution which is the opposite of what i want.
The code works well on other systems, but on lambda function it does not works as expected.
I also tried this link: https://aws.amazon.com/blogs/compute/parallel-processing-in-python-with-aws-lambda/
But didn't get any performance upgrade.
Can anyone tell me if its possible over lambda and if yes how can i do that?