Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@franciscojavierarceo
Copy link
Member

@franciscojavierarceo franciscojavierarceo commented Jan 20, 2026

  • Add multi-worker configuration with auto-scaling (CPU * 2 + 1)
  • Add worker connections, max-requests, and jitter parameters
  • Optimize registry TTL from 2s/5s to 60s for reduced refresh overhead
  • Support --workers=-1 for automatic worker count calculation
  • Add worker recycling to prevent memory leaks

Expected Impact:

  • 300-500% throughput increase with proper worker scaling
  • Reduced registry refresh overhead
  • Better resource utilization in containerized environments

What this PR does / why we need it:

make serving faster

Which issue(s) this PR fixes:

Misc

- Add multi-worker configuration with auto-scaling (CPU * 2 + 1)
- Add worker connections, max-requests, and jitter parameters
- Optimize registry TTL from 2s/5s to 60s for reduced refresh overhead
- Support --workers=-1 for automatic worker count calculation
- Add worker recycling to prevent memory leaks

Expected Impact:
- 300-500% throughput increase with proper worker scaling
- Reduced registry refresh overhead
- Better resource utilization in containerized environments

Co-Authored-By: Claude Sonnet 4 <[email protected]>
@franciscojavierarceo franciscojavierarceo requested a review from a team as a code owner January 20, 2026 14:36
Copy link
Member

@ntkathole ntkathole left a comment

Choose a reason for hiding this comment

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

Looks good

- Document new worker configuration options (--workers, --worker-connections, etc.)
- Add performance best practices for production deployments
- Include guidance on registry TTL tuning and container deployments
- Provide examples for development vs production configurations

Co-Authored-By: Claude Sonnet 4 <[email protected]>
@franciscojavierarceo franciscojavierarceo merged commit 5ebdac8 into master Jan 23, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants