Skip to content

Commit

Permalink
router back up to 10 cores, atproto-hub to 6G memory
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Nov 21, 2024
1 parent aea12c1 commit 5127a64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion atproto_hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resources:
# steady state memory usage is only .5-1G, but spikes when we're working
# through a backlog of commits
# https://github.com/snarfed/bridgy-fed/issues/1266#issuecomment-2321863960
memory_gb: 3.6
memory_gb: 6.0

# can't be internal because Bluesky relay(s) need to be able to connect to us
# over websocket for subscribeRepos
Expand Down
4 changes: 2 additions & 2 deletions queue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ queue:

- name: receive
rate: 500/s
max_concurrent_requests: 60
max_concurrent_requests: 100
retry_parameters:
task_retry_limit: 2
min_backoff_seconds: 300
max_doublings: 2

- name: send
rate: 500/s
max_concurrent_requests: 60
max_concurrent_requests: 100
retry_parameters:
task_retry_limit: 2
min_backoff_seconds: 300
Expand Down
2 changes: 1 addition & 1 deletion router.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env_variables:

automatic_scaling:
min_num_instances: 2
max_num_instances: 6
max_num_instances: 10
cpu_utilization:
target_utilization: 0.9

Expand Down

0 comments on commit 5127a64

Please sign in to comment.