Skip to content

Commit

Permalink
Reduce rate limit to 100
Browse files Browse the repository at this point in the history
We introducted rate limiting at 500 req/s as a canary to ensure that we
didn't effect anything. This lowers the rate limit to a threshold that's
more protective.
  • Loading branch information
theseanything committed Jul 22, 2024
1 parent a37aced commit a014f6b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/assets/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ resource "fastly_service_vcl" "service" {
rate_limiter {
name = "rate_limiter_assets_${local.template_values["environment"]}"

rps_limit = 500
rps_limit = 100
window_size = 10
penalty_box_duration = 5

Expand Down
2 changes: 1 addition & 1 deletion modules/bouncer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "fastly_service_vcl" "service" {
rate_limiter {
name = "rate_limiter_bouncer"

rps_limit = 500
rps_limit = 100
window_size = 10
penalty_box_duration = 5

Expand Down
2 changes: 1 addition & 1 deletion modules/datagovuk/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ resource "fastly_service_vcl" "service" {
rate_limiter {
name = "rate_limiter_dgu_${local.template_values["environment"]}"

rps_limit = 500
rps_limit = 100
window_size = 10
penalty_box_duration = 5

Expand Down
2 changes: 1 addition & 1 deletion modules/www/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ resource "fastly_service_vcl" "service" {
rate_limiter {
name = "rate_limiter_www_${local.template_values["environment"]}"

rps_limit = 500
rps_limit = 100
window_size = 10
penalty_box_duration = 5

Expand Down

0 comments on commit a014f6b

Please sign in to comment.