요약: 서버를 리스케일링할 때 고려해야 할 권장 구성에 대한 가이드나 목록이 있을까요?
서버에 Discourse를 처음 설치할 때 몇 가지 설정이 자동으로 설정됩니다. 클라우드의 편리한 점은 인스턴스 유형을 더 많거나 적은 CPU와 메모리를 가진 다른 유형으로 단순히 변경할 수 있다는 것입니다. 제 이해로는, 자동 설정은 새로운 서버에 맞게 자동으로 조정되지 않습니다(관리자 대시보드에서 Discourse 구성이 실행 중인 하드웨어와 일치하지 않는 것 같다는 알림을 제공하는 것이 좋을 것 같습니다).
예를 들어, app.yml 파일의 다음 설정을 고려했습니다:
## Set db_shared_buffers to a max of 25% of the total memory.
## will be set automatically by bootstrap based on detected RAM, or you can override
db_shared_buffers: "4096MB"
## can improve sorting performance, but adds memory usage per-connection
#db_work_mem: "40MB"
## How many concurrent web requests are supported? Depends on memory and CPU cores.
## will be set automatically by bootstrap based on detected CPUs, or you can override
UNICORN_WORKERS: 4