Skip to content

Commit

Permalink
changes rps docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Dec 5, 2023
1 parent 3697c81 commit d7892db
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions v2/emailpassword/rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To know more about rps and bursts, please [this nginx document](https://www.ngin
:::

## Free tier
The free tier of the managed service has a rate limit of 25 requests per second with a burst of 25 requests per second (with nodelay). This should be enough for 5 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).
The free tier of the managed service has a rate limit of 50 requests per second with a burst of 50 requests per second (with nodelay). This should be enough for 5-10 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).

:::important
Our backend SDK auto retries if it gets a `429` status code from the core (up to 5 times before throwing an error).
Expand Down Expand Up @@ -54,7 +54,7 @@ http {
default $binary_remote_addr;
}
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate25/s;
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate50/s;
limit_req_status 429;
# other configs..
Expand All @@ -64,7 +64,7 @@ http {
}
server {
limit_req zone=mylimit burst=25 nodelay;
limit_req zone=mylimit burst=50 nodelay;
# other configs..
Expand Down
6 changes: 3 additions & 3 deletions v2/passwordless/rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To know more about rps and bursts, please [this nginx document](https://www.ngin
:::

## Free tier
The free tier of the managed service has a rate limit of 25 requests per second with a burst of 25 requests per second (with nodelay). This should be enough for 5 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).
The free tier of the managed service has a rate limit of 50 requests per second with a burst of 50 requests per second (with nodelay). This should be enough for 5-10 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).

:::important
Our backend SDK auto retries if it gets a `429` status code from the core (up to 5 times before throwing an error).
Expand Down Expand Up @@ -54,7 +54,7 @@ http {
default $binary_remote_addr;
}
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate25/s;
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate50/s;
limit_req_status 429;
# other configs..
Expand All @@ -64,7 +64,7 @@ http {
}
server {
limit_req zone=mylimit burst=25 nodelay;
limit_req zone=mylimit burst=50 nodelay;
# other configs..
Expand Down
6 changes: 3 additions & 3 deletions v2/session/rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To know more about rps and bursts, please [this nginx document](https://www.ngin
:::

## Free tier
The free tier of the managed service has a rate limit of 25 requests per second with a burst of 25 requests per second (with nodelay). This should be enough for 5 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).
The free tier of the managed service has a rate limit of 50 requests per second with a burst of 50 requests per second (with nodelay). This should be enough for 5-10 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).

:::important
Our backend SDK auto retries if it gets a `429` status code from the core (up to 5 times before throwing an error).
Expand Down Expand Up @@ -54,7 +54,7 @@ http {
default $binary_remote_addr;
}
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate25/s;
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate50/s;
limit_req_status 429;
# other configs..
Expand All @@ -64,7 +64,7 @@ http {
}
server {
limit_req zone=mylimit burst=25 nodelay;
limit_req zone=mylimit burst=50 nodelay;
# other configs..
Expand Down
6 changes: 3 additions & 3 deletions v2/thirdparty/rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To know more about rps and bursts, please [this nginx document](https://www.ngin
:::

## Free tier
The free tier of the managed service has a rate limit of 25 requests per second with a burst of 25 requests per second (with nodelay). This should be enough for 5 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).
The free tier of the managed service has a rate limit of 50 requests per second with a burst of 50 requests per second (with nodelay). This should be enough for 5-10 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).

:::important
Our backend SDK auto retries if it gets a `429` status code from the core (up to 5 times before throwing an error).
Expand Down Expand Up @@ -54,7 +54,7 @@ http {
default $binary_remote_addr;
}
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate25/s;
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate50/s;
limit_req_status 429;
# other configs..
Expand All @@ -64,7 +64,7 @@ http {
}
server {
limit_req zone=mylimit burst=25 nodelay;
limit_req zone=mylimit burst=50 nodelay;
# other configs..
Expand Down
6 changes: 3 additions & 3 deletions v2/thirdpartyemailpassword/rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To know more about rps and bursts, please [this nginx document](https://www.ngin
:::

## Free tier
The free tier of the managed service has a rate limit of 25 requests per second with a burst of 25 requests per second (with nodelay). This should be enough for 5 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).
The free tier of the managed service has a rate limit of 50 requests per second with a burst of 50 requests per second (with nodelay). This should be enough for 5-10 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).

:::important
Our backend SDK auto retries if it gets a `429` status code from the core (up to 5 times before throwing an error).
Expand Down Expand Up @@ -54,7 +54,7 @@ http {
default $binary_remote_addr;
}
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate25/s;
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate50/s;
limit_req_status 429;
# other configs..
Expand All @@ -64,7 +64,7 @@ http {
}
server {
limit_req zone=mylimit burst=25 nodelay;
limit_req zone=mylimit burst=50 nodelay;
# other configs..
Expand Down
6 changes: 3 additions & 3 deletions v2/thirdpartypasswordless/rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To know more about rps and bursts, please [this nginx document](https://www.ngin
:::

## Free tier
The free tier of the managed service has a rate limit of 25 requests per second with a burst of 25 requests per second (with nodelay). This should be enough for 5 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).
The free tier of the managed service has a rate limit of 50 requests per second with a burst of 50 requests per second (with nodelay). This should be enough for 5-10 concurrent sign in / up (each sign in API call queries the SuperTokens core multiple times).

:::important
Our backend SDK auto retries if it gets a `429` status code from the core (up to 5 times before throwing an error).
Expand Down Expand Up @@ -54,7 +54,7 @@ http {
default $binary_remote_addr;
}
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate25/s;
limit_req_zone $limit_req_zone_key zone=mylimit:10m rate50/s;
limit_req_status 429;
# other configs..
Expand All @@ -64,7 +64,7 @@ http {
}
server {
limit_req zone=mylimit burst=25 nodelay;
limit_req zone=mylimit burst=50 nodelay;
# other configs..
Expand Down

0 comments on commit d7892db

Please sign in to comment.