Avatar of tim-hub
Recommends
on
AWS LambdaAWS Lambda

wrong question. lol

python is a language, lambda is faas.

I think your question should be php vs python which can help me to get better computation? should I use lambda for my computation hungry app.

the answer is.

  1. use python if you can, python is more flexible than php, especiaslly for data processing (the restful api does not return your data, you need some processing for it)
  2. you can use lambda, it will be better to not use lambda alone, lambda has limit like 15 minutes for the maximum running time, my suggestion is to design an async solution, use AWS SQS as the queue and lambda as the worker, at front-end, you can either polling from the queue through api gateway or use graph ql subscribe or websocket.
READ MORE
Tim's Zone - A place for dev, entrepreneur and lifelong learner. (tim.bai.uno)
5 upvotes·1.4K views