Skip to content

Attempt #2: Scale up ECS replicas and add uvicorn workers to fix gateway timeouts#58

Merged
vm-serpapi merged 2 commits into
mainfrom
serpapi-mcp/uvicorn-workers-attempt-2
Jul 2, 2026
Merged

Attempt #2: Scale up ECS replicas and add uvicorn workers to fix gateway timeouts#58
vm-serpapi merged 2 commits into
mainfrom
serpapi-mcp/uvicorn-workers-attempt-2

Conversation

@adarshdigievo

@adarshdigievo adarshdigievo commented Jul 1, 2026

Copy link
Copy Markdown
Member

Vlad M and others added 2 commits July 1, 2026 13:13
Increase ECS task range from 3-6 to 5-15 and run 4 uvicorn workers
per container (configurable via WEB_CONCURRENCY) to better utilize
the 2 vCPUs per task. This takes max concurrent request handlers from
6 to 60.

Co-authored-by: Cursor <cursoragent@cursor.com>

@vm-serpapi vm-serpapi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, good catch! I did not run the docker there.

@vm-serpapi vm-serpapi merged commit c771e05 into main Jul 2, 2026
2 checks passed
@vm-serpapi vm-serpapi deleted the serpapi-mcp/uvicorn-workers-attempt-2 branch July 2, 2026 13:59
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