Skip to content

Granian Container config #271

Answered by gi0baro
b3n4kh asked this question in Q&A
Apr 15, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

@b3n4kh if you want to run those computation, you probably want to launch granian programmatically using a Python file (see for example #254).

Given that you run the application in a container, I would keep processes/threads number low and use containers to scale your app.
This is generally what I suggest when running services using containers (eg: 1 proc and 2 blocking threads).

Also, if you keep the cli usage, the CMD line looks wrong, as there is no granian run command, but just granian.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@b3n4kh
Comment options

@b3n4kh
Comment options

Answer selected by b3n4kh
Comment options

You must be logged in to vote
1 reply
@gi0baro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants