AWS Lambda Thought Experiment

Alan Bateman Alan.Bateman at oracle.com
Sun Nov 28 16:13:24 UTC 2021


On 28/11/2021 15:40, Eric Kolotyluk wrote:
> :
>
> If we fork() tasks for each API source, and then cancel all the other tasks
> waiting for the same result, we might reduce our metered wait time (rounded
> to the nearest ms), and lower our running costs.
>
> This could be tested in experimentation, but I wanted to see if my
> reasoning is sound before investing in such an experiment.
>
If you have the environment to test it then it could be an interesting 
experiment. I think the main thing to establish is whether the 
library/API that you use to request the result in the different 
availability zones can be cancelled via thread interrupt.

-Alan


More information about the loom-dev mailing list