Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch metrics server from thin to puma #2497

Merged
merged 3 commits into from Feb 29, 2024

Conversation

ystros
Copy link
Contributor

@ystros ystros commented Feb 15, 2024

In an effort to get rid of EventMachine, which has been unmaintained for some time, we are switching from using Thin web server (which is based on EventMachine) to Puma instead.

Since there don't seem to be unit specs for this bin script, we applied our patch to a running director to ensure that the metrics server comes up as expected.

See also #2499, #2500 for more removals of EventMachine.

@ystros ystros marked this pull request as draft February 15, 2024 23:25
@ystros ystros marked this pull request as ready for review February 16, 2024 17:24
@rkoster rkoster requested review from a team, mvach and bgandon and removed request for a team February 21, 2024 08:46
ystros and others added 3 commits February 26, 2024 09:09
Signed-off-by: Aram Price <pricear@vmware.com>
Signed-off-by: Brian Upton <bupton@vmware.com>
The Director already uses Puma in production mode, but was still using
Thin for a local file server in the integration specs. This converts
that test server to Puma as well.

Additionally, the bosh-nats-sync gem declared a dependency on Thin that
it never used.

Signed-off-by: Aram Price <pricear@vmware.com>
@ystros ystros force-pushed the use-puma-for-metrics-server-#185264086 branch from a7eddab to 85b202e Compare February 26, 2024 15:11
Copy link
Contributor

@mvach mvach left a comment

Choose a reason for hiding this comment

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

Nice

Copy link
Contributor

@a-hassanin a-hassanin left a comment

Choose a reason for hiding this comment

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

LGTM!

@jpalermo jpalermo merged commit c0f9a47 into main Feb 29, 2024
4 checks passed
@jpalermo jpalermo deleted the use-puma-for-metrics-server-#185264086 branch February 29, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants