A
A
Alexey Belov2020-03-17 15:17:32
Amazon Web Services
Alexey Belov, 2020-03-17 15:17:32

How to write AWS Lambda correctly?

Question, to experts, how best to build a structure, for example, I have a dog object, I want to get, post, delete, update. Should I create 4 separate lambdas or one that will process depending on the request?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-03-17
@Alenorze

Until a certain point, it doesn't matter. In this case, the reasons for making several lambdas can be:
- increased security (different rights for each lambda)
- increased performance (different plug-ins and different settings, including memory)
- different logic
- support for different versions
- separated logging
In principle, everything)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question