Browse Source

tweaking scaling settings

Rodja Trappe 1 year ago
parent
commit
70fbc03f01
2 changed files with 5 additions and 5 deletions
  1. 3 3
      fly.toml
  2. 2 2
      set_scale.sh

+ 3 - 3
fly.toml

@@ -38,8 +38,8 @@ kill_timeout = "5s"
     handlers = ["tls", "http"]
   [services.concurrency]
     type = "requests"
-    hard_limit = 60
-    soft_limit = 30
+    hard_limit = 50
+    soft_limit = 20
 
   [[services.tcp_checks]]
     interval = "10s"
@@ -56,5 +56,5 @@ kill_timeout = "5s"
     tls_skip_verify = false
 
 [[metrics]]
+  path = "/"
   port = 9062
-  path = "/metrics"

+ 2 - 2
set_scale.sh

@@ -1,10 +1,10 @@
 #!/usr/bin/env bash
 
-fly scale count app=3  --region fra -y
+fly scale count app=4  --region fra -y
 fly scale count app=3  --region iad -y
 fly scale count app=1  --region jnb -y
 fly scale count app=3  --region lax -y
-fly scale count app=3  --region lhr -y
+fly scale count app=4  --region lhr -y
 fly scale count app=2  --region bom -y
 fly scale count app=2  --region mad -y
 fly scale count app=3  --region mia -y