kopia lustrzana https://github.com/snarfed/bridgy-fed
bump up router threads from 40 to 50, task queue rate limits
router is hitting 100% CPU sustained during bursts right now, probably need to either rethink its architecture or just add another core soon :/pull/1133/head
rodzic
387d3169a6
commit
590021926c
10
queue.yaml
10
queue.yaml
|
@ -12,7 +12,7 @@ queue:
|
|||
|
||||
- name: webmention
|
||||
target: default
|
||||
rate: 100/s
|
||||
rate: 500/s
|
||||
max_concurrent_requests: 10
|
||||
retry_parameters:
|
||||
task_retry_limit: 2
|
||||
|
@ -21,8 +21,8 @@ queue:
|
|||
|
||||
- name: receive
|
||||
target: default
|
||||
rate: 100/s
|
||||
max_concurrent_requests: 20
|
||||
rate: 500/s
|
||||
max_concurrent_requests: 40
|
||||
retry_parameters:
|
||||
task_retry_limit: 2
|
||||
min_backoff_seconds: 300
|
||||
|
@ -30,8 +30,8 @@ queue:
|
|||
|
||||
- name: send
|
||||
target: default
|
||||
rate: 100/s
|
||||
max_concurrent_requests: 20
|
||||
rate: 500/s
|
||||
max_concurrent_requests: 10
|
||||
retry_parameters:
|
||||
task_retry_limit: 2
|
||||
min_backoff_seconds: 300
|
||||
|
|
|
@ -38,4 +38,4 @@ manual_scaling:
|
|||
# https://cloud.google.com/appengine/docs/flexible/python/runtime#application_startup
|
||||
# https://docs.gunicorn.org/en/latest/settings.html
|
||||
# TODO: try asyncio w/eventlet workers
|
||||
entrypoint: gunicorn --workers 1 --threads 40 -b :$PORT router:app
|
||||
entrypoint: gunicorn --workers 1 --threads 50 -b :$PORT router:app
|
||||
|
|
Ładowanie…
Reference in New Issue