perf: improve worker and storage throughput
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
@@ -21,10 +21,11 @@ ADMIN_EMAIL=admin@example.com
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=replace-with-a-strong-admin-password
|
||||
|
||||
# A four-core host should start with two image jobs per process.
|
||||
DATABASE_MAX_CONNECTIONS=10
|
||||
# 8-core starting point: four tasks, two files per task, four CPU-bound image jobs.
|
||||
DATABASE_MAX_CONNECTIONS=16
|
||||
WORKER_TASK_CONCURRENCY=4
|
||||
WORKER_CONCURRENCY=2
|
||||
IMAGE_PROCESSING_CONCURRENCY=2
|
||||
IMAGE_PROCESSING_CONCURRENCY=4
|
||||
|
||||
# Resource ceilings tuned for an 8-core / 16 GB application host.
|
||||
POSTGRES_MEMORY_LIMIT=2g
|
||||
|
||||
Reference in New Issue
Block a user