Imageomics / Andromeda

A website that enables users to explore high-dimensional image data
http://andromeda.imageomics.org/
MIT License
2 stars 1 forks source link

Allow configurable scaling #40

Closed johnbradley closed 1 year ago

johnbradley commented 1 year ago

Add a setting so the number of workers used by the python backend can be configured. Currently the python backend is using 17 workers (-w flag): https://github.com/Imageomics/Andromeda/blob/9f5489b86625d5e01debb502a8f8b31ef7a39037/andromeda/Dockerfile#L10

The suggested number of workers is based on the number of CPU available: https://docs.gunicorn.org/en/stable/design.html#how-many-workers