Skip to content

Limited web concurrency for memory constrained environment.#2

Open
federico-bana-cedarcode wants to merge 4 commits intomainfrom
web-concurrency
Open

Limited web concurrency for memory constrained environment.#2
federico-bana-cedarcode wants to merge 4 commits intomainfrom
web-concurrency

Conversation

@federico-bana-cedarcode
Copy link
Copy Markdown

@federico-bana-cedarcode federico-bana-cedarcode commented May 6, 2026

We are running this on a small instance so limiting the amount of memory available to the app and concurrency seemed reasonable.

@federico-bana-cedarcode
Copy link
Copy Markdown
Author

Merge #1 first.

Comment thread config/puma.rb
Comment on lines +31 to +32
# workers Integer(ENV.fetch("WEB_CONCURRENCY") { Concurrent.physical_processor_count })
workers Integer(ENV.fetch("WEB_CONCURRENCY") { 1 })
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tbh honest I'd try to avoid changing this only because of the memory limitations of the server. If anything, we a slightly bigger instance we will be good

Comment thread config/deploy.yml
server: localhost:5555
server: 864100757851.dkr.ecr.us-east-1.amazonaws.com
username: AWS
password: <%= %x(aws ecr get-login-password).strip %>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: is the strip needed?

Suggested change
password: <%= %x(aws ecr get-login-password).strip %>
password: <%= %x(aws ecr get-login-password)%>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants