Motivation: Implement async requests
This is a very simple performance comparison between approaches for running search queries via pystac-client:
Motivation: Implement async requests
This is a very simple performance comparison between approaches for running search queries via pystac-client:
Write a new Lambda function using Node.js that validates the checksums of granule files based on the following guidelines:
In order to avoid causing a stack overflow during recursion, do the following:
thunk
(in the case of co-recursive functions, decorate both). This exposes a trampoline
function, which is used in the next step.trampoline
to only the initial call to each decorated function. Conversely, do not append a call to trampoline
to any recursive call to a thunk
-decorated function.For example, suppose we have the following naive recursive implementation of the factorial
function:
yield | variety | year | site | |
---|---|---|---|---|
27 | Manchuria | 1931 | University Farm | |
48.86667 | Manchuria | 1931 | Waseca | |
27.43334 | Manchuria | 1931 | Morris | |
39.93333 | Manchuria | 1931 | Crookston | |
32.96667 | Manchuria | 1931 | Grand Rapids | |
28.96667 | Manchuria | 1931 | Duluth | |
43.06666 | Glabron | 1931 | University Farm | |
55.2 | Glabron | 1931 | Waseca | |
28.76667 | Glabron | 1931 | Morris |
27 | Manchuria | 1931 | University Farm | |
---|---|---|---|---|
48.86667 | Manchuria | 1931 | Waseca | |
27.43334 | Manchuria | 1931 | Morris | |
39.93333 | Manchuria | 1931 | Crookston | |
32.96667 | Manchuria | 1931 | Grand Rapids | |
28.96667 | Manchuria | 1931 | Duluth | |
43.06666 | Glabron | 1931 | University Farm | |
55.2 | Glabron | 1931 | Waseca | |
28.76667 | Glabron | 1931 | Morris |