rspec/rules/S6246/java/comments-and-links.adoc
2021-06-02 20:44:38 +02:00

24 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

=== On 2021-05-27T14:13:15.126Z Janos Gyerik Wrote:
To be precise, I think the title should mention "synchronously": Lambdas should not invoke other lambdas _synchronously_
The description suggests 2 alternatives. I would drop the 2nd suggestion to make the call asynchronous, because I think it's generally not a good idea, due to tight coupling. The first idea is great, I'd mention only that: A better solution is to generate events that can be consumed asynchronously by other Lambdas.
 
=== On 2021-05-27T14:23:37.516Z Alexandre Gigleux Wrote:
+1 with [~janos.gyerik]
I also suggest to rewrite "As the runtime of your function is bounded, waiting for another Lambda to finish executing could cause a timeout." like this:
"Lambdas have a maximum execution time before they timeout (15 minutes as of May 2021). Having to wait for another Lambda to finish its execution could lead to a timeout".
=== On 2021-05-31T12:04:23.604Z Quentin Jaquier Wrote:
We review the suggestions together with [~dorian.burihabwa], it makes sense to us as well.
The remaining concern is that the compliant solution is not relevant anymore and we have a hard time coming up with a new one. [~janos.gyerik] do you have an example or a link to the documentation that could help?