4 ms·
>You can't port your code to somewhere else. It's Lambda specific. is that really true tho? Its just a function that does work from a request and send the resu
by wnevets 11y ago
>You can't port your code to somewhere else. It's Lambda specific.
is that really true tho? Its just a function that does work from a request and send the result off to some where else.
- fosk 11y agoYou won't be able to port it without any additional work, but if you are willing to do some refactoring (specifically removing the Lambda-specific objects, etc) then it can run anywhere. Of course the time this will take depends on the size of the project, but it can be definitely done without rewriting the whole application, but just rewriting the "invoker" part. To make a future port easier, the functions could also be modularized by keeping the real business logic and the Lambda integration separate, but integrated.
- wnevets 11y agohow many Lambda-specific objects are there besides the context promise?