diff --git a/Dockerfile b/Dockerfile index 0c76392..b7d8c69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM node:18.5.0 +FROM node:18.9.0 RUN apt-get update -y -RUN apt-get install -y openssl/stable-security +#RUN apt-get install -y openssl/stable-security WORKDIR /app # hack to avoid https://github.com/npm/cli/issues/4838 diff --git a/views/index.ejs b/views/index.ejs index dc0d58a..94a60ca 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -16,36 +16,19 @@

Argovis API Key Management

-

In order to allocate our limited resources fairly to all our users, API requests should be accompanied by a free API key that identifies the requester, allowing us to prevent anyone from making so many requests that they make Argovis unusable for everyone else. Choose 'New Account Registration' below to get started.

+

In order to allocate our limited resources fairly to all our users, API requests should be accompanied by a free API key that identifies the requester, allowing us to prevent anyone from making so many requests so quickly that they make Argovis unusable for everyone else. Choose 'New Account Registration' below to get started.

-

Current API request limits are in the table below. Burst limits are the number of requests you can make in a rapid asynchronous burst (ie in parallel); this is typically useful for quickly requesting a modest amount of data. Sustained limits are how frequently you can make requests indefinitely, typically in a synchronous (ie in series) loop; this is typically relevant when downloading larger amounts of data. These restrictions will be adjusted based on demand and resourcing.

+

In general, requests made in series (that is, letting your first request finish before issuing the next), should resolve without being cut off by the rate limiter, indefinitely. Making requests in parallel is also possible; exactly how many will be allowed is a function of their estimated size and complexity. Things that reduce estimated request size (and therefore allow you to make more such requests in less time) are:

- - - - - - - - - - - - - - - - - - - - - - - -
Request TypeBurstSustainedExample Route
Metadata Only100 requests2 request / second
/profiles?startDate=2021-01-01T00:00:00Z&endDate=2021-01-02T00:00:00Z
Full Data100 requests2 requests / second
/profiles?startDate=2021-01-01T00:00:00Z&endDate=2021-01-02T00:00:00Z&data=pres,doxy
+ -

If you see HTTP 403 errors, you have probably exceeded your request limit with too many concurrent requests! Wait a minute for your allocation to automatically refill, and then try again with less requests in parallel.

+

If you see HTTP 429 errors, you have probably exceeded your request limit with too many concurrent requests! Wait a minute for your allocation to automatically refill, and then try again with less requests in parallel, or by simplifying your requests where possible via the options above.

As always, please reach out to argovis@colorado.edu any time if you need help or have feedback, and we will try to get in touch.