Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding a proxy in front of web#126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ssoriche wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromssoriche/load_balancing

Conversation

@ssoriche
Copy link
Contributor

@ssorichessoriche commentedMar 16, 2025
edited
Loading

Using caddy as a reverse proxy in a sidecar container to handle connections. This allows the proxy to hold the keep alive connections instead of the perl application. This allows the perl workers to disconnect.

Caddy provides metrics about the number of requests and the responses it is returning.

Also lowered the number of workers for the perl web server, the proxy should provide some offloading and allow for less workers, which has reduced the amount of memory the container is using.

The caddy proxy will handle long lived connections, and provide metricsfor requests and statuses.
The caddy proxy allows for scraping of metrics, add in the configurationto enable that scraping by prometheus.
Switch the service port to the proxy sending all traffic through itbefore reaching the web containers. Reduce the number of workers for webas the connection handling is now handled by the proxy.
@ranguard
Copy link
Member

Fastly is a proxy and connects to the web containers - so I don't think we need something like this?

Please close if you agree :)

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ssoriche@ranguard

[8]ページ先頭

©2009-2025 Movatter.jp